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.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Linux Resources > Linux Tutorials, HOWTO's & Reference Material > How To ADD Windows 2K or XP to the Grub.

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

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
 
Thread Tools Display Modes
Old 12-31-2004   #1 (permalink)
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)
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)
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)
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

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 09:19 AM.






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

Content Relevant URLs by vBSEO 3.3.0 RC2