Wednesday, October 15, 2008

How To ADD Windows 2K or XP to the Grub.

If you are doing a dual boot with Fedora Core and Windows 2000 or XP anaconda should add it to the grub automatically. If you need to restore the grub after re-installing windows follow this tutorial.

If you are installing Fedora Core in primary hard drive and have Windows 2000 or XP on slave drive you will need to add the lines to /etc/fstab.

Open terminal become root and type:
Code:
gedit /etc/grub.conf
and add this lines for your windows entry:
Code:
[B]title Windows XP
               map (hd0) (hd1)
               map (hd1) (hd0)
               rootnoverify (hd1,0)
               chainloader +1[/B]
Dont forget to click on SAVE.

Now if you have Windows 95, 98 or ME and want to mount a FAT32 partition this is how is done just add this line to your fstab:
 
Code:
 /dev/hda2 /mnt/windows vfat users,rw,owner,umask=000 0 0
Please note I am using /dev/hda2 as an example.
Many new comers are asking this question very frequently so here is the answer.

No comments: