Comment 35 for bug 54002

Revision history for this message
Dominik Kubla (dbkubla) wrote : Re: [Bug 54002] Re: LVM/MD root filesystem not found by uuid

Am Monday 11 September 2006 00:24 schrieb Matt Zimmerman:
> Reopening udev task, as md detection doesn't seem to be sorted yet.
>
> MD folks, please provide details.
>
> ** Changed in: udev (Ubuntu)
> Status: Fix Released => Confirmed

We have two issues at hand:

1. Mounting by UUID does not work for MD in initramfs. I am trying to track
this one down (but I think this is a waste of time because there will always
be rather common scenarios where mounting by UUID will never work. But this
should be discussed elsewhere). I'll have to rig a serial terminal to capture
the console output and create a custom initramfs which will drop to a shell
right before it attempts to mount the root device so that I can do some
debugging.

2. update-grub changes MD to mount by UUID even so it does not work at the
moment. This one is rather easy to fix:

--- update-grub.orig 2006-09-11 20:49:34.000000000 +0200
+++ update-grub 2006-09-11 20:51:48.000000000 +0200
@@ -692,6 +692,9 @@
                        ;;
                /dev/evms/*)
                        ;;
+ /dev/md*) # Don't convert MD for now since there is an
+ # unresolved bug preventing it from working.
+ ;;
                /dev/*)
                        if [ -L "$DEV" ] && readlink | grep -q "^/dev/mapper/"
                        then

This can be backed-out when mounting by UUID for MD works.

Regards,
  Dominik
--
Be at war with your vices, at peace with your neighbours, and let every new
year find you a better man. (Benjamin Franklin, 1706-1790)