| Paul Fedorenko 2004-04-06, 4:34 am |
| Tommy Reynolds wrote:
> # /sysimnage/sbin/grub-install --root-directory=/sysimage /dev/hda
>
> to rewrite the GRUB bootloader and its files back into the Master
> Boot Record of the hard drive.
Well... It seems to have worked. I did what you suggested, with some
changes, and my system's back to normal.
I booted off my floppy, and reinstalled GRUM so that it's sitting on the MBR
of /dev/hdc1, instead of /dev/hda. That way, even if GRUB fails, I'll
still have a functional Windows system available.
Second, I found this command using Google:
dd if=/dev/hdc1 of=/mnt/floppy/bootsek.lin bs=512 count=1
Which seems to make a copy of /dev/hdc's boot sector on a floppy. I set up
Windows XP's boot manager with the bootsek.lin file, which points it to the
Linux drive and starts GRUB, allowing Linux to load. I realise it's messy,
but finesse comes with experience. I was running SuSE 8.2 before Fedora,
and had no end of problems with that one, which is why I switched, I'd
already learned a thing or two regarding setting things up.
So, Mr. Reynolds, I must say... Thank you very much. Your suggestions were
very helpful in fixing this.
|