Bug#554790: This breaks device.map on upgrade

Vadim Solomin vadic052 at gmail.com
Fri Jul 9 04:01:12 UTC 2010


This fix, at least in its current form, has a potential to break grub for 
users having more than one drive, unless they are careful enough to check and 
fix their device.map after upgrade.

Old mkdevicemaps assigned grub device numbers in the sort order of kernel 
device names, which was right more often than not. On the other hand, the sort 
order of (pretty much random) stable names, used by new version, is extremely 
unlikely to have any correlation to grub device order.

Included is a rough patch which preserves the kernel-name order for grub 
devices when generating device.map.

-- 
Vadim Solomin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub2.diff
Type: text/x-patch
Size: 2678 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20100709/a3762f26/attachment-0001.bin>


More information about the Pkg-grub-devel mailing list