Bug#588303: grub-common: device.map order wrong since using uuids
Mario 'BitKoenig' Holbe
Mario.Holbe at TU-Ilmenau.DE
Wed Jul 7 07:32:17 UTC 2010
Package: grub-common
Version: 1.98+20100706-1
Hello,
my device.map's device order changed since grub uses uuid device-names.
Before uuid device-names it was:
(hd0) /dev/sda
(hd1) /dev/sdb
(hd2) /dev/sdc
(hd3) /dev/sdd
(hd4) /dev/sde
(hd5) /dev/sdf
This was actually even correct.
Now it is:
$ while read hd id; do echo "$hd\t$(realpath $id)"; done < /boot/grub/device.map
(hd0) /dev/sde
(hd1) /dev/sdd
(hd2) /dev/sdc
(hd3) /dev/sdf
(hd4) /dev/sda
(hd5) /dev/sdb
This is completely off the mark. It seems like grub-mkdevicemap just
sorts the /dev/disk/by-id/* names alphabetically - which was good before
but, of course, is not anymore.
Just for the records: my EDD device order is:
$ ls -l /dev/disk/by-id/edd-* | sed -e 's%^.*/dev%/dev%'
/dev/disk/by-id/edd-int13_dev80 -> ../../sda
/dev/disk/by-id/edd-int13_dev81 -> ../../sdb
The other devices have no Volume ID (in fact, they have a zeroed MBR)
and thus cannot be assigned to EDD devices.
regards
Mario
--
The social dynamics of the net are a direct consequence of the fact that
nobody has yet developed a Remote Strangulation Protocol. -- Larry Wall
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20100707/02efde90/attachment.pgp>
More information about the Pkg-grub-devel
mailing list