[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
OF device names and util/biosdisk.c
From: |
Jordi Mallach |
Subject: |
OF device names and util/biosdisk.c |
Date: |
Thu, 31 Jan 2008 22:57:12 +0100 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) |
address@hidden:~$ sudo grub-mkdevicemap --device-map=/dev/stdout
(hd) /dev/hda
However, grub-probe totally doesn't like the lack of drive number:
address@hidden:~$ 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:
address@hidden:~$ 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/
address@hidden address@hidden http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/
- OF device names and util/biosdisk.c,
Jordi Mallach <=