10_lupin case problem with ntfs UUIDs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Lucid |
Fix Released
|
High
|
Colin Watson | ||
Maverick |
Fix Released
|
High
|
Colin Watson |
Bug Description
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.
host_device_
this returns the UUID in lower case, and on the next line this gets compared to /dev/disk/
test -e "/dev/disk/
But the device node in /dev/disk/by-uuid is in uppercase.
Workaround is to change line 53 to:
host_device_
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.
Changed in grub2 (Ubuntu Lucid): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in grub2 (Ubuntu Maverick): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Colin Watson (cjwatson) |
This was fixed in GRUB upstream:
2010-11-06 Vladimir Serbinenko <email address hidden>
* grub-core/fs/ntfs.c (grub_ntfs_uuid): Make uppercase.
It's therefore fixed in natty. However, we need to backport this to lucid and maverick.