LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 12-11-2004, 01:25 PM   #1
stringstud
LQ Newbie
 
Registered: Oct 2004
Distribution: Fedora Core 3, Windblows XP Home
Posts: 14

Rep: Reputation: 0
GRUB--Dual Boot xp and fc3, xp will not load


I installed FC3 over old linux partitions, not messing with the windows partitions at all. After the reboot, i had selected windows as default in the installation, it booted to a screen like this:
_________________________
Booting 'Windows XP'

rootnoverify (hd0,0)
chainloader +1
_________________________
After coming to this screen, it just stops.

Here's my hardware situation:
HDD 1-master:
20gig that used to be slave before install (windows xp boot drive "C:")
HDD 2-slave:
120gig that used to be master before install (80 gigs for windows storage, the rest are linux)

Here is my grub.conf file:

What do I do?
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,1)
#          kernel /vmlinuz-version ro root=/dev/hda3
#          initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.9-1.667)
        root (hd0,1)
        kernel /vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
        initrd /initrd-2.6.9-1.667.img
title Windows XP Home SP2
        rootnoverify (hd0,0)
        chainloader +1
 
Old 12-11-2004, 01:42 PM   #2
winsnomore
Member
 
Registered: May 2004
Location: USA
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315

Rep: Reputation: 31
It appears you installed grub as a boot loader .. generally speaking xp has issues with it.
Most folks in dual boot systems will install xp first and then linux .. and in all install don't let it install the boot loader.

Other folks might have different suggestions, but the easiest thing might be do reinstall the default MBR so Xp boots properly and then
enter the boot option in the windows loader to load FC ..
 
Old 12-11-2004, 02:11 PM   #3
stringstud
LQ Newbie
 
Registered: Oct 2004
Distribution: Fedora Core 3, Windblows XP Home
Posts: 14

Original Poster
Rep: Reputation: 0
ok, i have had windows work just fine with linux before, when installing linux after xp, the same versions etc.

is there a way to still use grub? if not, what do i put in to the xp boot.ini file to make it load linux?
 
Old 12-11-2004, 06:01 PM   #4
FunkyRes
Member
 
Registered: Mar 2004
Distribution: CentOS
Posts: 174

Rep: Reputation: 30
You may have been bitten by the LBA bug.

Try setting your drive geometry to "LBA" instead of auto in the bios - if your bios lets you pick.

Otherwise -

http://www.redhat.com/archives/fedor.../msg00908.html
 
Old 12-11-2004, 07:22 PM   #5
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
According to your GRUB configuration file, both windows and Linux are on the same hard drive (hd0).
Are you sure you set the jumpers on the hard disks correctly ?
My guess is that your 120GB (Linux) is the master and your 20GB (windows) is the slave.

Since Linux still works, boot into Linux and take a look at your partition table. You will need to be root.
Code:
fdisk -l
If I'm right, your windows part should look like this
Code:
rootnoverify (hd1,0)
chainloader +1
 
Old 12-11-2004, 08:43 PM   #6
stringstud
LQ Newbie
 
Registered: Oct 2004
Distribution: Fedora Core 3, Windblows XP Home
Posts: 14

Original Poster
Rep: Reputation: 0
I tried changing the windows part of the grub code and that didn't work so i guess my next choice is changing the BIOS to LBA. I'll post as soon as i know if this works or not.

thank you so much for helping out.
 
Old 12-12-2004, 08:07 AM   #7
stringstud
LQ Newbie
 
Registered: Oct 2004
Distribution: Fedora Core 3, Windblows XP Home
Posts: 14

Original Poster
Rep: Reputation: 0
hey, i tried the LBA switch in bios and it didn't help, but it did change the output for the windows option.

now it says something like:
Code:
     Booting Windows XP
rootnoverify (hd1,0)
chainloader +1

NTDLR missing
 
Old 12-12-2004, 12:50 PM   #8
stringstud
LQ Newbie
 
Registered: Oct 2004
Distribution: Fedora Core 3, Windblows XP Home
Posts: 14

Original Poster
Rep: Reputation: 0
anybody out there?
 
Old 12-12-2004, 02:39 PM   #9
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Can you post the partition tables for both HDD.
In linux as root, type: fdisk -l
 
Old 12-12-2004, 04:50 PM   #10
stringstud
LQ Newbie
 
Registered: Oct 2004
Distribution: Fedora Core 3, Windblows XP Home
Posts: 14

Original Poster
Rep: Reputation: 0
Code:
Disk /dev/hda: 122.9 GB, 122942324736 bytes
16 heads, 63 sectors/track, 238216 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1      162540    81920128+   7  HPFS/NTFS
/dev/hda2          162547      162738       96390   83  Linux
Partition 2 does not end on cylinder boundary.
/dev/hda3          162738      235875    36861142+  83  Linux
Partition 3 does not end on cylinder boundary.
/dev/hda4          235876      238202     1172745    5  Extended
Partition 4 does not end on cylinder boundary.
/dev/hda5          235876      237900     1020096   82  Linux swap

Disk /dev/hdb: 20.4 GB, 20411080704 bytes
16 heads, 63 sectors/track, 39549 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1       39541    19928601    7  HPFS/NTFS
 
Old 12-13-2004, 03:27 PM   #11
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Here is your current setup

HDD 1 (Master - 120 GB)
Partition 1: NTFS (windows)
Partition 2: Linux

HDD2 (Slave - 20GB)
Partition 1: NTFS (windows)

Try the following:
Code:
title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
If that dowsn't work, you can always do the following:
- Create a Linux boot disk.
- Boot from the windows CD.
- Use the recovery mode to re-install the windows bootloader (fdisk /mbr)
- Boot with the Linux boot disk.
- Re-install GRUB back into the MBR (/sbin/grub-install /dev/hda)
 
Old 12-13-2004, 03:52 PM   #12
stringstud
LQ Newbie
 
Registered: Oct 2004
Distribution: Fedora Core 3, Windblows XP Home
Posts: 14

Original Poster
Rep: Reputation: 0
Thank you so much guys, I'm trying that now.
 
Old 12-14-2004, 06:04 AM   #13
stringstud
LQ Newbie
 
Registered: Oct 2004
Distribution: Fedora Core 3, Windblows XP Home
Posts: 14

Original Poster
Rep: Reputation: 0
grrrrrr. Mathieu, that add in didn't work.
if i reinstall grub, won't it just do the same thing? is there any way i can get an old version of grub...would that work? this is a problem which i have run into several times; the only way i could solve it was to format both drives which is a major pain. help?
 
Old 12-15-2004, 11:02 AM   #14
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Quote:
If that dowsn't work, you can always do the following:
- Create a Linux boot disk.
- Boot from the windows CD.
- Use the recovery mode to re-install the windows bootloader (fdisk /mbr)
- Boot with the Linux boot disk.
- Re-install GRUB back into the MBR (/sbin/grub-install /dev/hda)
My second solution does not require a full re-installation.

By using the windows CD, windows will re-install its bootloader and re-configure itself.
When done, windows will boot correctly (unless the windows repair tool finds errors).
Then, take your Linux boot disk, and install GRUB.

GRUB will take the functionning windows portion and install itself.
Hopefully everything will go well.
 
Old 12-18-2004, 08:05 AM   #15
stringstud
LQ Newbie
 
Registered: Oct 2004
Distribution: Fedora Core 3, Windblows XP Home
Posts: 14

Original Poster
Rep: Reputation: 0
hey,

I tried doing what you said, Mathieu, and it's back to exactly how it was before. i attempted to boot to windows directly after installing the windows boot record part and it said "disk read error", same as before.

any ideas? the only thing i can think of doing is backing up to a separate hard drive and reinstalling everything, with better hard drive configuration, running linux as slave, on the 20 gig, and running windows on the 120 gig completely unrestricted. what do you think?
 
  


Reply



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
Grub won't load on dual boot with XP DuuhMojo Linux - Newbie 4 06-10-2005 03:07 PM
FC3, grub problem with dual boot henderman Fedora - Installation 8 05-19-2005 11:11 AM
Grub will not load Windows XP with Ubuntu dual boot Alex4R Linux - Software 1 03-26-2005 11:29 AM
grub guru needed: XP/FC3 dual boot FC3noob Linux - Newbie 4 02-13-2005 03:15 AM
no grub menu after startup in dual boot FC3 and XP Remko Fedora - Installation 6 01-19-2005 04:44 AM

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

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