my usual command sequence (for installing to mbr) is: grub
grub> root (hd0,0) (Specify where your /boot partition resides) grub> setup (hd0) (Install GRUB in the MBR) grub> quit (Exit the GRUB shell) (courtesy gentoo install instructions) never actually needed a system.map or device-map, don't even know what they are! As you say, you need the right entries in (hd0,0)/boot/grub/grub.conf, but thats not too bad. On Fri, 28 Apr 2006 14:09:40 +1200 Volker Kuhlmann wrote: > As there doesn't seem to be a system tool which can install a boot > loader on red Hat (which sucks), it was a question of getting the grub > command right. I don't think the grub docs are entirely correct, or if > so, they're inadequate from my point of view, but this did the trick: > > grub --device-map /boot/grub/device.map --batch <<EOF > root (hd0,1) > setup --stage2=/boot/grub/stage2 (hd0) > quit > EOF > > /boot = /dev/hda2 > /dev/hda = hd0 > > It also needs correct lines (and a kernel root= ) in > /boot/grub/grub.conf, but they're easy to work out. > > Volker > > -- > Volker Kuhlmann is list0570 with the domain in header > http://volker.dnsalias.net/ Please do not CC list postings to me. -- Nick Rout <[EMAIL PROTECTED]>
