Bug#467127: post-install fails with grub-probe: error: Cannot get the real path of `/dev/sda'

Stefan Weil weil at mail.berlios.de
Thu Apr 17 19:50:26 UTC 2008


A very similar (maybe the same) error occurs with grub-pc 1.96+20080413-1.

post-install fails with grub-probe in these two cases:

1. An earlier installation was done while a removable medium (in my 
case: debian
    installation CDROM) was mounted. The device (/dev/hda) will be listed in
    /boot/grub/device.map. A later upgrade of grub-pc (maybe grub, too) 
fails
    when there is no longer a medium available.

    Possible workaround which enables configure / post-install: mount a 
CROM.

2. An earlier installation was done while a removable media (in my case: 
SD flash card)
    was not in my card reader. So there is no entry for /dev/sda in 
device.map.
    When I upgraded grub-pc while there was a SD card in the card reader,
    grub-probe probed /dev/sda (the flash disk) and failed because of 
the missing entry.

    Possible workaround which enables configure / post-install: remove 
SD card.

Maybe grub-probe should ignore errors from any removable medium.

Stefan Weil






More information about the Pkg-grub-devel mailing list