
I get the following error when I try to issue a "grub-install /dev/hda": //dev/root: Not found or not a block device.
/Grml resides on hda3 and is formatted with xfs. How can I proceed to install grub? Thanks in advance for you help!

Tony Wolf went through this with me about a week ago.
There is some problem, to wit, after apt-get install grub the necessary files to install grub to mbr are not present in /boot.
I used a simple cheat, which was to use a live cd and run grub install from there, using my grml partition as root, in other words, install grub to mbr, pointing toward the /hddx were grml is.
In your case, this ought to be, from a live cd,
grub install root (hd0,2) install /dev/hda
Doing this from within grml does not seem to work.
Best, Martin
On Tuesday 09 May 2006 08:21, HXC wrote:
I get the following error when I try to issue a "grub-install /dev/hda": //dev/root: Not found or not a block device.
/Grml resides on hda3 and is formatted with xfs. How can I proceed to install grub? Thanks in advance for you help!

* Martin Yazdzik yazdzik@nyct.net [20060509 15:15]:
On Tuesday 09 May 2006 08:21, HXC wrote:
I get the following error when I try to issue a "grub-install /dev/hda": //dev/root: Not found or not a block device.
/Grml resides on hda3 and is formatted with xfs. How can I proceed to install grub? Thanks in advance for you help!
Tony Wolf went through this with me about a week ago.
There is some problem, to wit, after apt-get install grub the necessary files to install grub to mbr are not present in /boot.
I used a simple cheat, which was to use a live cd and run grub install from there, using my grml partition as root, in other words, install grub to mbr, pointing toward the /hddx were grml is.
In your case, this ought to be, from a live cd,
grub install root (hd0,2) install /dev/hda
Doing this from within grml does not seem to work.
Yes, as grub uses files from within /boot which aren't available via /boot in the Debian package of grub.
Assuming /dev/sda1 is your grml harddisk system:
mount /mnt/sda1 mkdir /mnt/sda1/boot/grub cp /lib/grub/i386-pc/stage[12] /mnt/sda1/boot/grub/ grub install root (hd0,0) setup (hd0)
And adjusting /boot/grub/menu.lst (on the harddisk system of course ;)) should work.
regards, -mika-
Teilnehmer (3)
-
HXC
-
Martin Yazdzik
-
Michael Prokop