Skip to content

Grub Problems

2009 April 29
tags: ,
by Philippe Delodder

Wanted to upgrade my Debian Lenny on a DomU xen but ran in some trouble:

Searching for GRUB installation directory … found: /boot/grub
warning: grub-probe can’t find drive for /dev/sda2.
grub-probe: error: Cannot find a GRUB drive for /dev/sda2.  Check your device.map.

to fix this problem you simply need to:

echo "(hd0)   /dev/sda" > /boot/grub/device.map
cd /dev
mknod sda b 202 0

The last instruction is to make the node manual.

Now you can run it again

No comments yet

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS

Bad Behavior has blocked 179 access attempts in the last 7 days.