PDA

View Full Version : Famous double boot.....


Daniel114
29th March 2006, 02:04 AM
im sorry, I have looked around but I cant get a fix for this to work

When booting to Xp from FC5, it freezes with a..

booting 'win xp'
rootnoverify (hd1,0)
chainloader +1

this is my grub file...

# 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,0)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.15-1.2054_FC5smp)
root (hd0,0)
kernel /vmlinuz-2.6.15-1.2054_FC5smp ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.15-1.2054_FC5smp.img
title Win XP
rootnoverify (hd0,0)
chainloader +1

and this the fdisk

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 6281 50452101 83 Linux
/dev/sda2 6282 9468 25599577+ 83 Linux
/dev/sda3 9469 9729 2096482+ 82 Linux swap / Solaris

Disk /dev/sdb: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 5099 40957686 7 HPFS/NTFS
/dev/sdb2 5100 20022 119868997+ f W95 Ext'd (LBA)
/dev/sdb5 5100 20022 119868966 7 HPFS/NTFS
[root@81-170-62-167 ~]#

any help would be greatly appreciated

Daniel

JimComfort
29th March 2006, 03:03 AM
From the grub.conf, both the linux kernel and XP are on the same partition, (hd0,0). Try an fdisk -l and see if the XP partition is different from the linux partition, like maybe (hd1,0). If so, change whichever entry in grub you need to match the fdisk -l list.

bob
29th March 2006, 03:05 AM

Daniel, look at your actual grub.conf. You have both Windows and FC listed as (hd0,0). You should probably also be using the 'map' additions:

title WinXP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1

Daniel114
29th March 2006, 07:30 AM
Hi there.

The Hd(0,0) was simply my mistake, at the time when I took that screenshot I changed it temp to (0,0) its standard was (0,1). Justol'bob i had seen a command similiar to yours on another thread and had tried it only to receive a different error message, howevere this morning in the 5 mins before work I copied and pasted your reply into my grub file and I must say its done the job perfectly. JimComfort and Justol'bod thankyou so much for your help.

I must say the linux community seem incredibly tolerant of 'windows idiots', lol, thanks again