I think he means that the grub-probe now outputs information differently.

Line 278 in /usr/sbin/fai-cd is now:
 device=$(grub-probe -tdrive $usbdir | perl -ane 'm#(/dev/\w+),# && print
"$1\n"')

But with -tdrive you currently get something like:
# grub-probe -tdrive
(hd2,msdos1)

With the current grub -tdevice should be used, which returns the partition
device that is mounted, like this:
# grub-probe -tdevice
/dev/sdc1

Also, in order to correctly install grub we need to use the disk-device,
not the partition. So we take off the partition number with something like
this:
 device=$(grub-probe -tdevice $usbdir | perl -ane 'm#(/dev/\D+)# && print
"$1\n"')

Now the 'device' variable is properly formatted for use in grub-install

Kind regards,
Jeroen

Reply via email to