[Git-commits] [grml/live-boot-grml] 3d4616: Add patch to properly boot from mdadm via findiso ...
Michael Prokop
mika at grml.org
Tue Oct 15 16:58:23 CEST 2013
Branch: refs/heads/master
Home: https://github.com/grml/live-boot-grml
Commit: 3d46167c4f419479f09a4c8bc1025e6f2248b2d5
https://github.com/grml/live-boot-grml/commit/3d46167c4f419479f09a4c8bc1025e6f2248b2d5
Author: Michael Prokop <mika at grml.org>
Date: 2013-10-15 (Tue, 15 Oct 2013)
Changed paths:
A debian/patches/44_fix_mdadm_usage_for_findiso.patch
M debian/patches/series
Log Message:
-----------
Add patch to properly boot from mdadm via findiso boot option [Closes: issue1270]
For example grml-rescueboot uses findiso for booting the ISO.
When booting from a software RAID using mdadm then
/scripts/local-top/mdadm being used inside
/scripts/boot/9990-misc-helpers.sh leaks its output to the
environment, causing invalid data used inside the
mount_images_in_directory function. Because the invalid data
results in a failing mount_images_in_directory execution we end
up with failed boot and error message:
"No supported filesystem images found at ...."
So instead redirect output of /scripts/local-top/mdadm to
/boot.log. Also make sure to check for existence of
/conf/conf.d/md before accessing it (the file doesn't always
exist).
While at it also make sure the same logic is used for
/scripts/local-top/lvm2.
Thanks: thinkgear <thinkgear at thinkgear.net> for reporting and providing a test VM
More information about the Git-commits
mailing list