LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-09-2003, 05:38 AM   #1
TechnoBod
LQ Newbie
 
Registered: Jan 2003
Distribution: Fedora 14, Centos 6
Posts: 26

Rep: Reputation: 15
Angry Dual booting redhat 9 with windows XP using GRUB


Hello all,

I apoligise now for making yet another thread about dual booting using GRUB, but I've searched the threads but have not found a solution to the problem I am experinceing.

I have a laptop that I wish to dual boot. I want to use redhat 9 and windows XP, which I sure is possible.

I have partitioned the hard drive as follows:

linux swap = 512MB
ext3 = 8GB
NTFS = 10GB

I have windows XP installed first since M$ products tend to erase the boot section of other OSes. I then installed redhat 9, things were going ok. GRUB detected another OS and made an entry for it. Then I rebooted ........

Grub loaded and displayed the two options, redhat 9 and windows XP. If I choose redhat, all goes well and loads properly.
If I choose windows XP, it displays:

dos
rootnoverify
chainloader +1

and then just sits there.

I've tried editing the grub.conf file as instucted in previous threads by adding lines such as hide, unhide but nothing I have found has been able to make the windows XP partition boot.

I would be very greatful if anyone here has a definite answer or could point me to a web page that will help me make this setup work.

Have I missed something really simple here ???? Does grub support NTFS partitions?????

thanks for any assistance you can offer.
 
Old 07-09-2003, 06:51 AM   #2
Mojojo
Member
 
Registered: May 2003
Location: Philadelphia/PA
Distribution: Arch
Posts: 452

Rep: Reputation: 35
Post your grub file then someone may be able to help. also is the bootloader on the MBR? and if you desperatly need to get into windows try using your XP setup cd.
 
Old 07-09-2003, 06:58 AM   #3
blackrose
LQ Newbie
 
Registered: Jul 2003
Location: Northern Virginia
Distribution: RedHat 9
Posts: 9

Rep: Reputation: 0
I just did this a week ago . The only difference from what you're trying to do is that I'm still using XP's boot loader. Here's a recent HOWTO:

http://www.geocities.com/epark/linux...w2k-HOWTO.html

...based on the same ideas in the old NT dual-boot HOWTO, from '97:

http://tldp.org/HOWTO/mini/Linux+NT-Loader.html

Usually I install windows first, and create two partitions on the HD - one at 5-10Gb NTFS for windows, one at ~1Gb fat32 for a shared drive. I leave the rest of the space unpartitioned. Then I go through the complete windows install as normal. Then when I do the linux install (RH 9, last week), I have it partition the remaining HD space for itself (I usually muck about with their suggested layout a little, but that's neither here nor there). I also have it mount that ~1Gb share drive under something nonsensical like "/share". For the boot loader, I choose grub but have it install on the boot partition rather than the MBR.

The HOWTOs above give the details about how to use dd to make an image of your boot loader and copy it over to XP (here's where that "/share" mount comes in handy, rather than having to use a floppy), and edit XP's boot.ini file accordingly (while you're in there, I suggest setting the timeout to something more reasonable than 30 seconds, like maybe 5; also, you can change the default OS if you like). Also, the HOWTOs mention needing a linux boot floppy for the first boot, but using the install cd and booting as "linux rescue" works fine.

The only slightly odd result of this method is that you first get the command-line OS boot options from XP's boot loader, and when you choose linux you then get grub's OS boot options (if you let it keep it as an option in the install). On the plus side, if you set XP's default to boot into linux and set the timeout low, this would give you a second chance to catch it and boot into XP after all, if that's what you meant to do. See? It's a feature, not a bug .

Anyway, this is generally how I've done it several times in the past, with general success on both laptops and desktops. I've never tried putting grub on the MBR because I know this way works and I've never wanted to spend the time installing two OSes twice if it didn't work out .
 
  


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 booting RedHat 4.0 with Windows 2003 adv server Cloos Red Hat 3 07-09-2005 05:12 PM
Problem dual-booting into windows xp with Grub justintime32 Debian 4 03-26-2005 12:27 PM
Dual dual booting with Suse 9.1 pro and windows 98SE UDflyer Linux - General 1 07-30-2004 02:37 PM
Are you dual booting and Windows stopped working (booting) then here's the answer: rberry88 Linux - General 1 02-12-2004 09:05 AM
Dual booting windows 2000 pro and redhat 9 MrBubblez Linux - General 9 12-24-2003 03:48 PM

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

All times are GMT -5. The time now is 01:31 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