User Feedback :: Frugal Section for Forum



I usually use something like this to install grub. I dunno about Debian's pre-made scripts.

Code Sample
grub --batch << EOF
root (hd0,0)
setup (hd0)
quit
EOF

I did it from an xterm/bash (is this ok?).  I get the following errors:
- For "root (hd0,0) - Error 21: Selected disk does not exist"
- For "setup (hd0) - Error 12: Invalid device requested"
They are similar errors to when i enter the grub prompt and type install or root commands.

What kind of disk are you trying to install grub to?

SCSI or SATA MIGHT be seen as sd0 to grub, even though Linux sees it as hda.

Just rung grub from an xterm, type root ( and hit tab to see all the possible completions.

-J.P.

I've been trying all sorts of combinations including sd0.  It seems to llike fd0.  When i type root at the grub prompt, it returns:
"(fd0): Filesystem type unknown, partition type 0x0""

Late coming into this thread, but..

First, I manually made a " device.map " file with this one line in it.

(hd0) /dev/hda

Put it in your /boot/grub dir..

Then, I got around the issue of no recognized drives
by using this command syntax..

grub-install /dev/hda --root-directory=/mnt/hda1

Hope it helps..

73
ke4nt

Next Page...
original here.