Fedora Linux Support Community & Resources Center
  #1  
Old 18th March 2005, 03:43 AM
stry_cat Offline
Registered User
 
Join Date: Mar 2005
Posts: 110
Question 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
Reply With Quote
  #2  
Old 18th March 2005, 03:45 AM
stry_cat Offline
Registered User
 
Join Date: Mar 2005
Posts: 110
oh I should add the WinXP partition is NTFS
Reply With Quote
  #3  
Old 18th March 2005, 05:44 AM
rega451's Avatar
rega451 Offline
Registered User
 
Join Date: Jan 2005
Posts: 317
Could you post your grub.conf here, that may help.
Reply With Quote
  #4  
Old 18th March 2005, 08:07 AM
imdeemvp's Avatar
imdeemvp Offline
Registered User
 
Join Date: Feb 2004
Age: 44
Posts: 8,256
Try this and see it works for you.
__________________
HELP with JAVA, MP3's, Wireless, Repo's, YUM, Partitions, System Monitors, Nvidia, ATI drivers, LIMEWIRE PRO & MORE!.

Easiest and most friendly desktop ever is PCLinuxOS! Includes all this apps. Just try it.

"The greater the struggle THE greater the achievment."

Do you know HIM?

If you are an idiot click here. NThis will test you linux skills :D
Reply With Quote
  #5  
Old 19th March 2005, 02:16 AM
stry_cat Offline
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
Reply With Quote
  #6  
Old 19th March 2005, 02:21 AM
stry_cat Offline
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.
Reply With Quote
  #7  
Old 19th March 2005, 03:42 AM
bob's Avatar
bob Online
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.
Reply With Quote
  #8  
Old 19th March 2005, 03:54 AM
stry_cat Offline
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!!
Reply With Quote
Reply

Tags
boot, choice, dual, grub, offer, problem, winxp

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I would like to offer a dual-boot tip feedora Installation and Live Media 2 19th August 2009 11:31 PM
Grub Dual Boot: FC5 on SATA, WinXp on IDE. vale_1969 EOL (End Of Life) Versions 2 15th September 2006 08:24 AM
Dual boot ? FC5 - WinXp -> no lilo/grub. Michy EOL (End Of Life) Versions 0 15th August 2006 11:31 AM
GRUB problem dual booting WinXP and Fedora Core 4 Glorioso Installation and Live Media 5 7th June 2006 06:50 PM
dual booting into winxp using grub problem mjlior Using Fedora 5 31st March 2006 01:57 PM


Current GMT-time: 23:39 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat