Darragh,
Here's the way I've done it a couple of times recently for people; if
you have Fedora CD #1, and your system will boot from it, this is
probably the easiest way to reinstall grub's MBR:
Boot off Fedora CD #1 in rescue mode (what's rescue mode? Try hitting
the F-keys listed at the boot prompt, and see what you get). Choose
keyboard layout according to taste, don't bother setting up networking,
and tell it to mount your fedora install *read-write* (grub-install
wants to write stuff to places other than the MBR, and gets unhappy if
it can't because you mounted read-only).
At the rescue shell prompt, type:
chroot /mnt/sysimage # to give you a chrooted shell, so grub
# thinks your system booted normally
/sbin/grub-install /dev/hda # install grub on /dev/hda
# (change /dev/hda if you need to)
ctrl-D # to exit your chrooted shell
ctrl-D # again, to exit rescue shell,
# unmount and reboot.
Sorted. NB: the above is from memory, but should be good.
cjb
http://ocean.ucc.ie/~cjvdb1/
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!