grub-probe: error: no such disk

Ran into this one today, on a debian squeeze box:

/usr/sbin/grub-probe: error: no such disk.

It actually was telling the truth, the disks listed in /boot/grub/device.map were wrong. Replaced /dev/disk/by-id/serial-of-drive with /dev/sda. Worked.

Whilst researching this problem, I did run into a similar debian bug, but it wasn’t relevant. In case you’re interested, it’s about LVM drives, and it’s here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673573

4 thoughts on “grub-probe: error: no such disk

  1. Diziet

    Perhaps the grub-probe command needs a — option so that it displays “such attention to detail that the obsession becomes an annoyance to others”.

  2. Kirrus Post author

    @Diziet That or a tweak to the error message poinitng out that your device.map might be wrong. It is a bit mad still though.

Leave a Reply

Your email address will not be published. Required fields are marked *