lucid: update-grub does not work with 4 character disk names in /dev
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
We're using Lucid 10.04.3 (Server, 64 Bit) and have a lot of attached disks.
During installation, there has been only one drive named /dev/sda, everything worked fine.
Now we've attached all storage, update-grub (which calls grub-probe) does not work anymore:
root@xxx:/root# grub-probe -v -t fs_uuid -d /dev/sdby
grub-probe: info: »/boot/
grub-probe: info: /dev/sdby starts from 0.
grub-probe: info: opening /dev/sdb.
grub-probe: info: the size of /dev/sdb is 4194304000.
grub-probe: error: unknown filesystem.
Have a look at the /dev - names: in the third output line grub-probe is talking about "sdb" instead of "sdby".
We made an inconvenient (not easily transferable) workaround using udev:
root@...:# cat /ect/udev/
KERNEL=="sd*", ENV{DEVTYPE}
KERNEL=="sd*", ENV{DEVTYPE}
Version of grub-pc is 1.98-1ubuntu5
I think, this is the same bug as
https:/ /bugs.launchpad .net/ubuntu/ +source/ grub-installer/ +bug/776633
Isn't there any solution?
The described workaround seems not to work in every case.