LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-12-2002, 09:33 AM   #1
Emuthias
LQ Newbie
 
Registered: Jun 2002
Location: Pittsburgh, PA
Distribution: Redhat 7.3
Posts: 4

Rep: Reputation: 0
RedHat and WinXP Dual Boot


Okay, I've dual booted thousands of systems before but this is throwing me off, maybe it's GRUB, but any help would be appreciated:

I've been running RedHat exclusively on this system for about two years now. Recently formatted and installed 7.3. It was working wonderfully for a few weeks. It's installed on a 9.1GB SCSIU2W drive (the only hard drive in the system at that point).

Decided to throw WinXP on a spare 40GB IDE drive I had lying around. So I install the 40GB drive, boot win98 from a floppy, fdisk it, format it, copy the WinXP install to it, start the XP install til it writes a boot sector, and reboot.

As usual, GRUB loads, I boot linux, add an entry for WinXP in grub.conf:

root (hd1,0)
makeactive
chainloader +1

Reboot. GRUB has the new entry. I hit enter, and GRUB detects the FAT32 partition, boots the command list, and hangs. No caps lock, no ctrl-alt-delete, just hangs completely.

However, if I tell the BIOS to boot from IDE first, WinXP boots right up. If I tell it to boot SCSI first, it will boot GRUB.

I could be a pansy and use MS' boot loader, but I hate that. Plus it's inconvenient to have two boot menus during boot (MS and then GRUB if I want Linux). So what am I doing wrong? I just want GRUB on the MBR of the SCSI disk to boot both RedHat and WinXP.

Any help would be appreciated.

-P
 
Old 06-12-2002, 02:14 PM   #2
BorgKing
LQ Newbie
 
Registered: Jun 2002
Location: USA
Distribution: Mandrake
Posts: 24

Rep: Reputation: 15
What I did was have WinXP on FIRST. Then using Parition Magic 7, created a new partition (unformated no table) and stuck Mandrake Linux on that. Now, Mandrake gives me the LILO screen everytime I start up, allowing me to choose.
 
Old 06-12-2002, 05:31 PM   #3
Emuthias
LQ Newbie
 
Registered: Jun 2002
Location: Pittsburgh, PA
Distribution: Redhat 7.3
Posts: 4

Original Poster
Rep: Reputation: 0
Yes, I have done it both ways in the past, with either OS already on a disk on the machine. I never had a problem adding Windows to LILO, but this is my first attempt at GRUB and apparently it's a lot more finicky. Any suggestions? I really don't feel like moving all the data around the drives again so I can format and reinstall.
 
Old 06-12-2002, 06:05 PM   #4
gonus
Member
 
Registered: Apr 2002
Location: Huntsville, Alabama
Distribution: Ubuntu 9.04
Posts: 445

Rep: Reputation: 30
Have u tried loading GRUB on the HD with XP?
 
Old 06-12-2002, 06:47 PM   #5
Emuthias
LQ Newbie
 
Registered: Jun 2002
Location: Pittsburgh, PA
Distribution: Redhat 7.3
Posts: 4

Original Poster
Rep: Reputation: 0
Okay... Let this be a lesson to us all... RTFM. No, really, RTFM -- especially if Howtos and FAQs fail.

In the GNU manual there's a little reference to a command called "map," in which they document that Microsoft OSes don't like to boot unless they think they're the first drive in the system. So I just added:

map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
makeactive
chainloader +1

and voila! XP boots. Go figure.
 
  


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
Redhat 9 & winxp dual boot -xp won't boot opivy Red Hat 3 01-02-2004 02:08 PM
RedHat 9/WinXP dual boot problems Jowy_Atredies Linux - Newbie 5 11-17-2003 10:56 AM
Dual Boot WinXP and Redhat 7.1 MikeyCarter Linux - Software 4 08-13-2003 12:41 AM
Dual boot winxp and redhat 7.2 2 drives JoC Linux - General 7 12-06-2002 09:16 PM
Dual Boot: Redhat 7.2/WinXP Coda Linux - Software 1 02-27-2002 01:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:47 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
Open Source Consulting | Domain Registration