LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-26-2002, 12:45 AM   #1
monroepq
LQ Newbie
 
Registered: May 2002
Posts: 3

Rep: Reputation: 0
Question Using GRUB to boot RedHat and WinXP


Hi, I'm sort of new to Linux (I dual-booted Redhat and Win98 but got rid of it when I upgraded my system), and now I want to return to it. Here's my scenario:[list=1][*]I want to be able to boot XP and Linux using GRUB (if possible)[*]I have two hard drives. One hard drive is 30gigs, the other is 19. I plan on erasing the 19 hard drive and using it for Linux. I'm going to keep the 30 drive and keep on using it for XP. The 30gig hard drive is the main hard drive (hda1).[*]I do not plan on reformating the XP drive in anyway. I only plan on reformatting the drive for Linux as required by the swap and boot partions.[*]The XP drive is NTFS[*]I need to know if I have to install GRUB on the MBR or the boot sector of the hard disk[*]What hard disk do I install to (hda hdb)?[/list=1]
 
Old 05-26-2002, 02:19 AM   #2
eagled
LQ Newbie
 
Registered: May 2002
Location: Lethbridge, AB, Canada
Distribution: Red Hat 7.3
Posts: 3

Rep: Reputation: 0
This sounds exactly what I just completed to get my system dual booting - the only difference is I use Windoze 2000 rather than XP. The procedures should be the same since XP is just an enhanced(?) version of 2000.

I used the HOWTO at:

http://www.linuxdocs.org/HOWTOs/mini...NT-Loader.html


My system was originally running Windows 2000 on a 30 GB hard disk configured as the Primary Master. I added a 10GB disk as Secondary Master. Linux sees these as hda and hdb respectively. I let the Linux install (Red Hat 7.3) partition the 10GB disk automatically, then installed GRUB to the boot sector of hdb1.

If you follow the HOWTO you shouldn't have any problems.
 
Old 05-26-2002, 01:54 PM   #3
monroepq
LQ Newbie
 
Registered: May 2002
Posts: 3

Original Poster
Rep: Reputation: 0
So do I have to use the NTLoader to boot into Linux? Should I not install Linux on the MBR? Thanks in advance.
 
Old 05-27-2002, 04:51 AM   #4
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
You can use grub to boot xp and linux. Install grub into the MBR of drive hda. When you boot up, it will probably only have linux to boot up into. You'll have to edit the /boot/grub/menu.lst or /boot/grub/grub.conf file and add a section for xp. Something like this:

title xp
rootnoverify=(hd0,0)
makeactive
chainloader +1

The above is just an example.
 
Old 05-27-2002, 08:58 AM   #5
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Rep: Reputation: 30
grub in mbr

I have a dual boot with xp and linux on two different harddrives as well.
Let linux install with grub in the mbr and it recognized xp immediately without me having to edit anything to get xp to boot via grub.

A lot of people use the xp/nt boot loader, but that seems like too much of a hassle for me, while grub can do the job perfectly.

anne
 
Old 05-27-2002, 02:41 PM   #6
monroepq
LQ Newbie
 
Registered: May 2002
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for all the help. I just finished installing Linux and I am using it right now. GRUB boots XP just fine. Again, thanks for the
 
Old 05-28-2002, 04:31 AM   #7
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
You're welcome.
 
  


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
Dual boot WinXP/Debian, grub error booting WinXP ChemBot Linux - General 5 02-22-2007 05:13 PM
Using GRUB to boot WinXP Northy Linux - Newbie 4 09-19-2005 06:12 AM
/boot mysteriously empty, but i can still boot into Linux/WinXP via grub. hypoglycemic Linux - Software 4 07-18-2005 06:42 AM
lilo and grub won't boot winXP mshahwan Linux - Software 2 10-21-2004 08:57 PM
Winxp won't boot thanx to GRUB DaBlade Linux - Newbie 22 09-14-2004 11:04 AM


All times are GMT -5. The time now is 03:03 PM.

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