Public bug reported:
1) Ubuntu 10.10
2) lupin-support 0.32
Normally, when running update-grub, 10_lupin should add entries to
grub.cfg with the root=UUID=x parameter.
On my system, this fails and the script falls back to using device nodes
(/dev/sda?) - which prevented the system from booting correctly, because
the device order gets mixed on every boot (sometimes it's sda, sometimes
sdb).
I found out the problem is on line 53 in /etc/grub.d/10_lupin:
host_device_uuid="`${grub_probe} --device "${host_device}" --target=fs_uuid 2>
/dev/null`" || true
this returns the UUID in lower case, and on the next line this gets compared to
/dev/disk/by-uuid/*:
test -e "/dev/disk/by-uuid/${host_device_uuid}"
But the device node in /dev/disk/by-uuid is in uppercase.
Workaround is to change line 53 to:
host_device_uuid="`${grub_probe} --device "${host_device}" --target=fs_uuid 2>
/dev/null | tr '[:lower:]' '[:upper:]'`" || true
But I guess this is not correct (the conversion to uppercase should only
happen on NTFS hosts) - so a more proper fix would be necessary.
** Affects: lupin (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/695290
Title:
10_lupin case problem with ntfs UUIDs
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs