Am Sunday 10 September 2006 21:02 schrieb Matt Zimmerman: > On Sun, Sep 10, 2006 at 06:26:50PM -0000, Dominik Kubla wrote: > > # egrep -nC1 "Update.*root device.*UUID" /sbin/update-grub > > 751- > > 752:# Update the root device to mount-by-UUID > > 753-kopt=$(convert_kopt_to_uuid "$kopt") > > You're making assumptions about the behaviour of a 1000+-line program by > reading one comment.
No, I am not making assumptions. You stated that grub-update will not convert LVM/devmapper entries anymore to avoid corruption of the system boot process. I demonstrated that the system boot process is still corrupted for the rather simple case of root disks being mirrored with MD. > If you read the convert_kopt_to_uuid function referenced above, you'll see > that it includes conditional code intended to exclude device-mapper (LVM) > and EVMS devices from the conversion. I went through this file line by line and I can say I have a rather good understanding what it attempts to do and what it does. You are the one making assumptions here: about how a system is configured. That is something you can not know reliably. So following the principle of least impact you should not change anything without explicit consent by the system administrator requesting the task. > If you have problems with the conversion, a constructive bug report with > details of your configuration would be appreciated. My problem is that you convert the file at all. I do not want this setting to be converted, even if mounting by UUID would be working. But as I understand now, the problem is not a technical one, so i will simply dpkg-divert /sbin/update-grub and disable the conversion stuff in my local copy and be done with it. 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) -- LVM/MD root filesystem not found by uuid https://launchpad.net/bugs/54002 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs