[root@localhost grub]# grub --device-map=/dev/null
GNU GRUB version 0.97-17mdv2007.0 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> device (hd0,0) /dev/mapper/nvidia_eaeccaag1
device (hd0,0) /dev/mapper/nvidia_eaeccaag1
grub> device (hd0) /dev/mapper/nvidia_eaeccaag
device (hd0) /dev/mapper/nvidia_eaeccaag
grub> root (hd0,0)
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0)
setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 15 sectors are
embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+15 p
(hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... failed
Error 22: No such partition
grub> quit
and it does not help to have:
device (hd0) /dev/mapper/nvidia_eaeccaag
in boot/grub/device.map