PDA

View Full Version : Can't Dual boot



Colin B
10th September 2008, 01:31 PM
I have the following set up, but can't get windows to boot, i'm assuming that it may be a windows boot.ini problem by i'm not sure.

I've enclosed my grub.conf, and partition details.
I've tried changing the windows root to hd0,0 but i get the message
"a disc read error ocurred"

Can anyone help?
Cheers
Colin

# 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/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=2
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.25.14-108.fc9.i686)
root (hd0,1)
kernel /vmlinuz-2.6.25.14-108.fc9.i686 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.25.14-108.fc9.i686.img
title Fedora (2.6.25-14.fc9.i686)
root (hd0,1)
kernel /vmlinuz-2.6.25-14.fc9.i686 ro root=UUID=a2c8448e-9b3e-475e-a634-a1682dcee8c4 rhgb quiet
initrd /initrd-2.6.25-14.fc9.i686.img
title Windows XP
root (hd0,1)
makeactive
chainloader +1



Disk /dev/sda: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1549f232

Device Boot Start End Blocks Id System
/dev/sda1 1 7649 61440000 7 HPFS/NTFS
/dev/sda2 * 7650 7674 200812+ 83 Linux
/dev/sda3 7675 9733 16538917+ 8e Linux LVM

Disk /dev/dm-0: 15.9 GB, 15938355200 bytes
255 heads, 63 sectors/track, 1937 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 939 MB, 939524096 bytes
255 heads, 63 sectors/track, 114 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30307800

Disk /dev/dm-1 doesn't contain a valid partition table
[root@localhost ~]#

glennzo
10th September 2008, 01:47 PM
If you Google "a disk read error occurred " I think you will come to the conclusion that the Windows boot loader needs to be repaired. Once you do that you will need to re-install grub. Don't take my word for it though. Google it yourself and see if you agree... Apparently this is a Windows error message and not a grub error message.

Edit:
title Windows XP
root (hd0,0) <--- This is correct.
makeactive
chainloader +1

phe
10th September 2008, 02:24 PM
Edit:
title Windows XP
root (hd0,0) <--- This is correct.
makeactive
chainloader +1

Because of :

/dev/sda1 1 7649 61440000 7 HPFS/NTFS


I would also "hide " the linux partitions when I boot in XP !

phe