Stop Microsoft
Operating Systems => Linux and UNIX => Topic started by: Siplus on 3 July 2003, 07:01
-
i'm going to take a guess here and say that windows (2k) is going to wipe grub from my MBR. how do i get it back on there?
i do have a bootup disk for my redhat install, and i really don't want to reinstall redhat for somethign so small as a bootloader
-
when in as root (after the reinstall) do:
grub-install /dev/hdX
whereas X is your hard disks main file... usually hda
-
That happened to me too. My question is how would I add Windows to the list to choose from when I start the computer? (I'm using Mandrake 9.0)
-
hmm, well i can't look at my grub file right now, but you would add the entry to your /etc/grub.conf.
thanks for your help
-
If you had windows in((STALLED)) before that, it should still be in the file, all grub-install does is update the boot sectors. If it wasn't installed, you would add the following to the /etc/grub/grub.conf file:
title Windows
root(hdX,Y)
chainloader +1
Where X is the hard drive, usually hd0 or hd1, and Y is the partition number. Grub works a little weird though, partition 1 would be partition 0 in grub. 2 would be 1... and so forth.
-
I'm not using grub.. I'm using lilo. x.x
-
quote:
Originally posted by usr/bin/maniaman:
I'm not using grub.. I'm using lilo. x.x
hmm...
use grub?
-
Got it working. (http://smile.gif)