Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Linux Resources > Linux Tutorials, HOWTO's & Reference Material
Reload this Page How To ADD Windows 2K or XP to the Grub.
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Tutorials, HOWTO's & Reference Material A useful collection of tutorials, guides and reviews compiled here for easy reference purposes.

 
 
Thread Tools Display Modes
Old 12-31-2004   #1 (permalink)
imdeemvp
Linux Newbie
 
imdeemvp's Avatar
 
Join Date: Sep 2004
Location: California
Posts: 225
Send a message via Yahoo to imdeemvp
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.
imdeemvp is offline  
Old 01-01-2005   #2 (permalink)
PeasleeR
Linux Newbie
 
Join Date: Jul 2004
Location: WA, USA
Posts: 102
How do you make Windows the default OS to boot into? Too many times I've had to do a hard reboot because I forgot I had to select Windows on boot.

Thanks in advance :)

Robert
__________________
Taking a walk on the wonderful path computers have lain before me
PeasleeR is offline  
Old 01-01-2005   #3 (permalink)
imdeemvp
Linux Newbie
 
imdeemvp's Avatar
 
Join Date: Sep 2004
Location: California
Posts: 225
Send a message via Yahoo to imdeemvp
This is my grub.conf:
Quote:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=0 << its here which is my first option in the grub
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
title Fedora Core (2.6.9-1.681_FC3)
root (hd0,0)
kernel /vmlinuz-2.6.9-1.681_FC3 ro root=/dev/VolGroup00/LogVol00 rhgb quiet acpi=off
initrd /initrd-2.6.9-1.681_FC3.img
title Fedora Core (2.6.9-1.667)
root (hd0,0)
kernel /vmlinuz-2.6.9-1.667 ro root=/dev/VolGroup00/LogVol00 rhgb quiet acpi=ht
initrd /initrd-2.6.9-1.667.img
title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
0= 1st line in grub
1= 2nd line and so on.....
imdeemvp is offline  
Old 01-01-2005   #4 (permalink)
PeasleeR
Linux Newbie
 
Join Date: Jul 2004
Location: WA, USA
Posts: 102
Ah, thanks. Out of curiosity then, does anyone know what the chainloader value defines?

Robert Peaslee
__________________
Taking a walk on the wonderful path computers have lain before me
PeasleeR is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 05:53 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0