LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-07-2004, 08:05 PM   #1
lordbyronxxiv
LQ Newbie
 
Registered: Dec 2004
Distribution: Fedora Core 3
Posts: 2

Rep: Reputation: 0
Smile Setting up Grub to boot my Windows XP as well as linux


I just recently installec FC3 and it works beutifully but i need some help in modifying my menu.lst file so that i can boot to my windows hard drive as well.
here is my hard drive setup:
120gig which is listed as hda
30gig, where fedora is installed, listed as hdb
80gig serial ata where windows xp is installed, listed as sda

fedora sees my windows hard drive, though it is not mounted, so i was just wondering what the procedure would need to be for me to get grub to give me the option to boot to windows as well.
 
Old 12-07-2004, 10:41 PM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,825

Rep: Reputation: 221Reputation: 221Reputation: 221
You say that Linux can see it but it is not mounted?

I thought that FC3 mounted drives automatically. Plug in the drive and then turn on the machine. If you did not get it mounted that way or you just want to know how to.

You have 3 HD's in the machine 2PATA and 1SATA

You will want to do some reading first.

To mount the windows drive manually if it is fat32 for example and and you want it mounted as /windows
Make the directory first ( you will need to be root)
su
password
mkdir /windows

mount -t /dev/sda /windows vfat auto users.............ect.

Read the man pages for mount
man mount
mount --help

If you want it to mount automatically every time that you turn on the machine you will need to make an entry in your fstab file.
That is located at /etc/fstab. You will need to be root to edit it. Make an entry for the drive. Something like
/dev/sda /windows vfat auto users 0 0

To be able to boot to it you will need to make an entry in grub.conf located at /etc/grub.conf

Be careful, if you mess up grub then you will not be able to boot the machine to fix it. If you do mess up grub you will need a live CD like knoppix to boot from so that you can change the file back.
Or if your BIOS supports booting from the SATA drive you can boot from it. Windows can not see ext2, ext3, reiser......Linux.
So you will have to get linux up too edit the file.

I agree with you, Fedora works great.
Good luck, maybe someone else can add some more to help you.
 
Old 12-07-2004, 10:45 PM   #3
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Which drive is set to the first boot device in bios?
 
Old 12-08-2004, 02:10 AM   #4
lordbyronxxiv
LQ Newbie
 
Registered: Dec 2004
Distribution: Fedora Core 3
Posts: 2

Original Poster
Rep: Reputation: 0
the way i want it set up eventually is to have the 30 gig pata drive to boot first, which will boot grub, from there i can choose to go to xp, also, teckk, i just finished getting my winxp drive mounted in fc3, aparently redhat leaves out the ntfs support in their distro, so i had to add it in, and i have it set up to mount at boot, so now i just need to edit grub so that i can boot to xp from there, also, you said i need to edit the grub.conf file, do i need to edit that or the menu.lst file?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 09:01 PM
Grub fail to boot windows, linux ok k4p0w3r Ubuntu 4 06-25-2005 07:31 AM
GRUB won't boot Windows after Linux update The_Nerd Linux - Software 3 07-15-2004 01:15 AM
GRUB using /boot partition for multiple Linux/Windows boot? cpv204 Linux - Newbie 7 04-01-2003 04:54 PM
Boot windows 98,windows XP and linux by GRUB Swift&Smart Linux - General 6 02-22-2003 10:11 AM


All times are GMT -5. The time now is 10:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration