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

Attachment: signature.asc
Description: Digital signature

Reply via email to