Comment 25 for bug 47768

Revision history for this message
AJ Slater (aj-slater) wrote :

I have a similar problem on edgy.

initramfs stops and produces a prompt on boot because it can't find the root filesystem (root=/dev/md1)

typing 'mdadm -As' from initramfs gives errors as the /etc/mdadm.conf file built into initramfs contains only the UUID numbers of my RAID sets. No keywords or anything else like the proper /etc/mdadm.conf on my real root filesystem.

If I assemble the md devices manually in initramfs and then mount the one that contains my root filesystem (-o ro) to /root i can exit initramfs and it will boot my RAIDed machine correctly.

I've reinstalled my kernel (2.6.17-50-generic and 2.6.17-11-generic and 2.6.17-10-generic), and it rebuilds the initramfs with the useless mdadm.conf I mentioned above.

This is with initramfs-tools version 0.69ubuntu20

So i have to manually boot every single time now. Bleah. This worked fine until very recently (a month? two? I have highish uptimes). I suspect the most recent initramfs-tools update has a bug.