[EMAIL PROTECTED]:~$ sudo grub-mkdevicemap --device-map=/dev/stdout
(hd)    /dev/hda

However, grub-probe totally doesn't like the lack of drive number:
[EMAIL PROTECTED]:~$ sudo grub-probe /boot/grub 
grub-probe: error: /boot/grub/device.map:1: Bad device name

If I edit my device.map and add a drive number, say hd0:

[EMAIL PROTECTED]:~$ sudo grub-probe /boot/grub
hfs

util/biosdisk.c assumes:

      if (drive < 0 || drive >= (int) (sizeof (map) / sizeof (map[0])))
        show_error ("Bad device name");

Can this be ifndef GRUB_MACHINE_PCBIOS'd?

Jordi
-- 
Jordi Mallach Pérez  --  Debian developer     http://www.debian.org/
[EMAIL PROTECTED]     [EMAIL PROTECTED]     http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to