Comment 2 for bug 366204

Revision history for this message
davee (davee-sungate) wrote : Re: bad mdadm.conf on jaunty upgrade

> I don't know much about boot, but it seems the mdadm.conf file is included in the initramfs

Yes, it seems it is: using 'stat' to look at access times on mdadm.conf shows that it is at least _read_ when running update-initramfs

Just found this bug when I had a similar non-booting issue following upgrade from 8.10 to 9.04. For general info, here is what I did to get a successful startup, after being dumped into 'initramfs' at boot:

initramfs> mknod /dev/md0 b 9 0
initramfs> mdadm --assemble /dev/md0
initramfs> return

at which point the kernel was able to boot. After starting up, modifying mdadm.conf as described above, then running

update-initramfs -u

was sufficient to make it reboot cleanly.