[PATCH] mapper and mdadm fail at boot
Bug #865529 reported by
Tyler Gates
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
casper (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
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.
Changed in casper (Ubuntu): | |
importance: | Undecided → Medium |
Changed in casper (Ubuntu): | |
status: | New → Fix Committed |
To post a comment you must log in.
I should point out this only happens when the appropriate tools to read the devices are installed on the live environment.