Red Hat Bugzilla – Bug 437858
LiveUSB Anaconda Crashes with encrypted /dev/md0
Last modified: 2008-04-23 11:52:43 EDT
1) rawhide live 20080317 attempted "Install to Disk" with weird layout:
/dev/sda1 30GB software RAID
/dev/sda2 30GB software RAID
/dev/sda3 256MB /boot
/dev/md0 encrypted RAID1 with /dev/sda1 and /dev/sda2.
Created attachment 298296 [details]
OSError: [Errno 2] No such file or directory: '/dev/mapper/luks-md0'
Created attachment 298297 [details]
Rebooting into the same LiveUSB, anaconda crashes earlier when it sees the now
existing encrypted /dev/md0 from the previous attempt.
The first crash happens in F9 Alpha LiveUSB, but not the second crash.
This is still broken in F9 Beta LiveUSB. But interestingly, this type of
install works fine from a non-live anaconda install.
Created attachment 298739 [details]
make sure root device is set up before trying to use it in a live install
This is completely untested. Looks like at least a big step in the right
direction based on a quick look at the code.
Created attachment 298744 [details]
setup the device and account for the full path returned by setupDevice
Created attachment 298746 [details]
Got past the crash in Comment #1 with your one-liner patch. But it crashed a
bit later. Here is the anaconda.log from that crash.
Fix (path from comment #7) will be in anaconda-220.127.116.11-1.
My understanding is that this bug was fixed in anaconda-18.104.22.168-1.
Please reopen if that is not the case.