Operating Systems > Linux and UNIX

Windows reinstall on a duel boot system

(1/2) > >>

Siplus:
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

Stryker:
when in as root (after the reinstall) do:

grub-install /dev/hdX

whereas X is your hard disks main file... usually hda

Maniaman:
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)

Siplus:
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

Stryker:
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.

Navigation

[0] Message Index

[#] Next page

Go to full version