 |
 |
 |
 |
| Installation and Live Media Help with Installation & Live Media (Live CD, USB, DVD) problems. |

18th March 2005, 03:43 AM
|
|
Registered User
|
|
Join Date: Mar 2005
Posts: 110

|
|
Dual Boot Problem. Grub doesn't offer WinXP as choice
I just installed FC3. Everything seemed to work fine. However when booting Grub doesn't offer an option to boot to WinXP.
Before the install, I re-partitioned the disk and successfully booted to WinXP after the repartion. Then I installed FC3 on the free space I made. FC3 works fine.
I found some stuff about needing to boot with Knoppix and run:
sfdisk -d /dev/hda |sfdisk --no-reread -C 16037 -H 255 -S 63 /dev/hda
but I don't know where to find the correct numbers for me and I'm not sure this fixes the problem I have. I think my problem is more of a grub issue than a screwed up disk geometry.
Can anyone help?
Thanks
|

18th March 2005, 03:45 AM
|
|
Registered User
|
|
Join Date: Mar 2005
Posts: 110

|
|
|
oh I should add the WinXP partition is NTFS
|

18th March 2005, 05:44 AM
|
 |
Registered User
|
|
Join Date: Jan 2005
Posts: 317

|
|
|
Could you post your grub.conf here, that may help.
|

18th March 2005, 08:07 AM
|
 |
Registered User
|
|
Join Date: Feb 2004
Age: 44
Posts: 8,256

|
|
Try this and see it works for you.
|

19th March 2005, 02:16 AM
|
|
Registered User
|
|
Join Date: Mar 2005
Posts: 110

|
|
Quote:
|
Originally Posted by rega451
Could you post your grub.conf here, that may help.
|
Here it is: (note that I've added the stuff suggested by imdeemvp)
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,2)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=15
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.10-1.770_FC3)
root (hd0,2)
kernel /vmlinuz-2.6.10-1.770_FC3 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.10-1.770_FC3.img
title Fedora Core (2.6.9-1.667)
root (hd0,2)
kernel /vmlinuz-2.6.9-1.667 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.9-1.667.img
title Other
rootnoverify (hd0,0)
chainloader +1
title Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
|

19th March 2005, 02:21 AM
|
|
Registered User
|
|
Join Date: Mar 2005
Posts: 110

|
|
Now this still doesn't work. It says something about being unable to find the drive
More info...
Code:
# /sbin/sfdisk -l /dev/hda
Disk /dev/hda: 9729 cylinders, 255 heads, 63 sectors/track
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Warning: The partition table looks like it was made
for C/H/S=*/240/63 (instead of 9729/255/63).
For this listing I'll assume that geometry.
Units = cylinders of 7741440 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/hda1 0+ 730 731- 5526328+ b W95 FAT32
/dev/hda2 * 731 4788 4058 30678480 7 HPFS/NTFS
/dev/hda3 4789 4802 14 105840 83 Linux
/dev/hda4 4803 10336 5534 41837040 5 Extended
/dev/hda5 4803+ 10336 5534- 41837008+ 8e Linux LVM
I have one drive, with the following partitions:
Compaq Presario restore partition (hda1).
WinXP (hda2)
The others were all put there by FC3.
I also don't understand the duplicate hda4 & hda5
hda3 I think is /boot
So what now?
In the grub.conf filie, I tried playing with the numbers in the map command. It didn't help.
|

19th March 2005, 03:42 AM
|
 |
Administrator (yeah, back again)
|
|
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,237

|
|
|
What happens when you try to boot "other". Do you start to boot Win 95? - Dang - why don't I think that's right? Didn't think you could upgrade from 95 to XP. So, were you triple booting?
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651
Don't use any of my solutions on working computers or near small children.
Last edited by justol'bob; 19th March 2005 at 03:46 AM.
|

19th March 2005, 03:54 AM
|
|
Registered User
|
|
Join Date: Mar 2005
Posts: 110

|
|
Quote:
|
Originally Posted by justol'bob
What happens when you try to boot "other". Do you start to boot Win 95? - Dang - why don't I think that's right? Didn't think you could upgrade from 95 to XP. So, were you triple booting?
|
Other starts the Compaq Recovery Program.
That got me thinking. I deleted all of the Windows XP section
Then I created a new Windows XP section based on the other. I played with the numbers until it worked!
Code:
title Windows XP
rootnoverify (hd0,1)
chainloader +1
Thanks for the help everyon!!
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 23:39 (Saturday, 25-05-2013)
|
|
 |
 |
 |
 |
|
|