no devices found for /dev/md0 at startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-source-2.6.20 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm running Feisty and linux-image-
I have the same issue with linux-image-
I get a BusyBox shell and this message when trying to run /scripts/
mdadm: no devices found for /dev/md0
I took a look at bug #71318 since I use a VIA chipset for my SATA drives. With linux 2.6.17, I use via82cxxx. I tried to add pata_via and pata_mpiix to /etc/initramfs-
I don't really know about how initramfs works, so I can go deeper in it to see whether something is missing there or if it's in the kernel itself.
If you used the via82cxxx in edgy, then your drives were hda2 and hdb2, right?
More than likely you need to tell mdadm that you are using sda and sdb now. Check /etc/mdadm/ mdadm.conf.
I suggest instead of device names, you use the UUID symlinks in /dev/disk/by-uuid/, so instead of /dev/sdb, you would use /dev/disk/ by-uuid/ XXXXXXXX- part2, for instance.