LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-10-2002, 11:51 PM   #1
Hippolilo
LQ Newbie
 
Registered: Aug 2002
Distribution: rehat 7.1
Posts: 6

Rep: Reputation: 0
Question Dual Booting Win XP and RH 8.0


Hi

Help...I've got some problem with Dual Booting of RH 8.0 and Win XP using GRUB, system just boots up at the GRUB _ and sits there doing nothing. I can boot up using a floppy boot disk created. I suspect that theres something to do witht the mbr and GRUB as the system used to be able to dual boot RH 7.3 with Win XP using the GRUB Boot loader. I've got this prob after I installed RH8 over RH7. Is there any way to fix the mbr other than doing a fdisk /mbr if I dont have any winXP rescue disk or boot floppy?
If the /mbr is cleaned up how do I reconfigure the grub in linux again? Configure grub.conf manually?

Thanks in advance.
 
Old 11-11-2002, 01:51 AM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
posting the output of fdisk -l and the contents of /boot/grub/grub.conf should help. ..
 
Old 11-11-2002, 09:18 AM   #3
Slinger
LQ Newbie
 
Registered: Nov 2002
Posts: 22

Rep: Reputation: 15
did you update the boot loader when you upgraded to 8.0?
 
Old 11-11-2002, 07:28 PM   #4
Hippolilo
LQ Newbie
 
Registered: Aug 2002
Distribution: rehat 7.1
Posts: 6

Original Poster
Rep: Reputation: 0
My setup is as follows

Win XP resides in /dev/hda1 HPFS/NTFS bootable
RH 8.0 resides in /dev/sda1 EXT3 bootable also

grub.conf

default=1
timeout=10
splashimage=(hd2,0) /grub /splash.xpm.gz
title Red Hat 8.0 Linux(2.4.18-14)
root (hd2,0)
kernel /vmlinux-2.4.18-14 ro root = label = /
initrd /initrd-2.4.18-14.img
title WinXP
rootnoverify(hd0,0)
chainloader +1

Could it be that the old boot loader is still residing in the boot sector of my WinXP drive? how do I update the boot loader?
any help or suggestions appreciated.

Thanks

Last edited by Hippolilo; 11-11-2002 at 09:00 PM.
 
Old 11-11-2002, 10:01 PM   #5
rreinke
LQ Newbie
 
Registered: Nov 2002
Location: Indianapolis, IN
Distribution: SuSe 9.3
Posts: 3

Rep: Reputation: 0
dual-boot RH8.0 and XP

I just went through this; the problem is that the NT Loader used by XP and LILO/GRUB are not compatible. I used PartitionMagic/ BootMagic (commercial package -- a bit pricey at $60 for software you only use once, but it does work) to set this up:
1) Install XP first
2) Use BootMagic to set up a dual-boot with one pointing at the XP partition and the second once pointing at your RH /boot partition.
3) When you install RH 8.0 there is an "advanced" option under the boot-loader section that allows you to put GRUB into the /boot partition rather than the disk's boot sector. Choose this option.
BootMagic then handles everything properly.

Now if I could just get my ()*&#(%*&@ wireless connection to work!
 
Old 11-14-2002, 04:20 AM   #6
Hippolilo
LQ Newbie
 
Registered: Aug 2002
Distribution: rehat 7.1
Posts: 6

Original Poster
Rep: Reputation: 0
Okay, I got back the WinXP partition ... next thing is .... how do I reinstall the grub boot loader into the WinXP harddisk MBR without reinstalling my RH8 ?

Any help or suggestion welcome
 
Old 11-21-2002, 01:53 AM   #7
Hippolilo
LQ Newbie
 
Registered: Aug 2002
Distribution: rehat 7.1
Posts: 6

Original Poster
Rep: Reputation: 0
Unhappy

Okay Linux dudes,

After fiddling, I've have made some progress about my Dual boot problem with RH 8 & winXP. I re-installed grub to my /dev/hda partition - it passes the initial Grub problem ... but now when it comes to grub stage 1.5 it gives me a error 21. I've check out error 21 is actually selected disk does not exist.. but this really puzzles me cos the available drives are :

/dev/hda - ntfs win XP
/dev/hdb - ext3 RH7.3 but not mounted, meaning that when I type mount in RH8.0 (booted from floppy) it does not show
/dev/sda - ext3 RH8.0

the grub device.map will be
/dev/hda (hd0,0)
/dev/hdb (hd1,0)
/dev/sda (hd2,0)

Does anybody has any ideas wats wrong?
Appreciate any suggestions or help.

Thanks



my grub.conf is as follows

default=1
timeout=10
splashimage=(hd2,0) /grub /splash.xpm.gz

title Red Hat 8.0 Linux(2.4.18-14)
root (hd2,0)
kernel /vmlinux-2.4.18-14 ro root = label = /
initrd /initrd-2.4.18-14.img

title WinXP
rootnoverify(hd0,0)
chainloader +1
 
  


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 9.2 64bit and Win Xp jaz9090 Suse/Novell 1 02-14-2005 07:14 PM
Dual Booting SuSe 9.1 and WIN XP? CrYpTiC N1Nj4 Linux - Software 5 09-16-2004 01:09 PM
Dual Booting Linux with Win 98 cknaresh Linux - Newbie 0 10-28-2002 05:46 AM
dual booting with with Win XP duckjob Linux - Newbie 4 01-16-2002 11:50 AM
Dual booting system w/ Win ME Cannon Linux - Newbie 7 04-09-2001 01:35 PM


All times are GMT -5. The time now is 07:49 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration