Casper can't find cow device when mdadm RAID disks are attached
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
casper (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I created a casper 1.287.1 -based livecd using this guide: <https:/
When I boot my livecd on a system with no disks, or with non-RAID disks, it will boot completely with no errors. However, if I try to boot on a system with disks that have a RAID array created by mdadm, it will fail to an (initramfs) prompt on virtual console 1. If I change to VC7, I see an error: "No init found. Try passing init = bootarg". Here's a longer log file from VC7:
Begin: Running /scripts/
Begin: Mounting root file system ... [ 4.956222] sd 6:0:0:0: Attached scsi generic sg4 type 0
[ 4.956342] sd 6:0:0:1: Attached scsi generic sg5 type 0
[ 4.956437] sd 6:0:0:2: Attached scsi generic sg6 type 0
[ 4.956543] sd 6:0:0:3: Attached scsi generic sg7 type 0
[ 4.964779] sd 6:0:0:0: [sdd] Attached SCSI removable disk
[ 4.965530] sd 6:0:0:0: [sde] Attached SCSI removable disk
[ 4.966415] sd 6:0:0:0: [sdf] Attached SCSI removable disk
[ 4.977920] sd 6:0:0:0: [sdg] Attached SCSI removable disk
cp: can't create '/root/var/log/': Is a directory
cp: can't create '/root/etc/': Is a directory
done.
Begin: Running /sripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory
done.
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: nNo such file or directory
Target filesystem doesn't have requested /sbin/init.
No init found. Try passing init= bootarg
From the (initramfs) prompt, I can see that the /cow filesystem was never mounted. If I run ". /scripts/
When I run "find_cow_device" from a working system (NOT in initramfs, though - I'm not sure how to make it drop me a prompt), it returns "/dev/ram0".
Has anyone else encountered this? Any help is much appreciated.
Changed in casper (Ubuntu): | |
status: | New → Fix Committed |
I've attached the casper.log I got when I typed "live debug=" from the isolinux prompt.