device2grub

2011-02-10 Thread Michael Goetze
udev, and devices may have different names (hda vs. sda and so on). However, device2grub depends on $target/boot/grub/device.map. I would have to generate this file, even though the contents would possibly be wrong after the installation. Therefore, I propose to make device2grub independent of $t

Re: device2grub

2011-02-11 Thread Thomas Lange
>>>>> On Thu, 10 Feb 2011 23:15:43 +0100, Michael Goetze >>>>> said: > Therefore, I propose to make device2grub independent of $target. An > example implementation can be found below. I checked this patch on all my machines. The new version of devi

Re: device2grub

2011-02-15 Thread Michael Goetze
Hi, On 02/10/2011 11:15 PM, Michael Goetze wrote: > Therefore, I propose to make device2grub independent of $target. An > example implementation can be found below. However, this may have > unforeseen consequences, so I would like to ask whether anyone sees a > problem with this ch

[PATCH] device2grub: use /dev/disk/by-id names if short name not found

2010-07-05 Thread Julien BLACHE
Hi, grub2 in unstable has switched to using stable names (/dev/disk/by-id) instead of unstable short names (/dev/sdX) and device2grub needs to be updated for that. The attached patch does just that, it tries to find a stable name for the device if the short name couldn't be matched to any