[Bug 865529] [NEW] [PATCH] mapper and mdadm fail at boot
Tyler Gates
tgates81 at gmail.com
Mon Oct 3 17:02:37 UTC 2011
Public bug reported:
Booting from a CD in a local environment with mdadm or lvm devices
(/dev/md* and /dev/mapper/*) that have file systems created on them
causes casper to fall back to the 'ugly hack' section in find_livefs().
This in turn returns the livefs_root variable to be these devices which
will cause the boot process to panic since it can't find the appropriate
file structure.
The attached patch will check if these devices exist and run check_dev
on them (just as the rest of the code does for other types of devices)
to determine if they are a valid livefs device. Then, if a valid livefs
is not found on the block device, the 'ugly hack' can be honored.
** Affects: casper (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/865529
Title:
[PATCH] mapper and mdadm fail at boot
Status in “casper” package in Ubuntu:
New
Bug description:
Booting from a CD in a local environment with mdadm or lvm devices
(/dev/md* and /dev/mapper/*) that have file systems created on them
causes casper to fall back to the 'ugly hack' section in
find_livefs(). This in turn returns the livefs_root variable to be
these devices which will cause the boot process to panic since it
can't find the appropriate file structure.
The attached patch will check if these devices exist and run check_dev
on them (just as the rest of the code does for other types of devices)
to determine if they are a valid livefs device. Then, if a valid
livefs is not found on the block device, the 'ugly hack' can be
honored.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/865529/+subscriptions
More information about the foundations-bugs
mailing list