PDA

View Full Version : help with grub.conf to make windows xp boot from one of my HD



verlossen
7th October 2007, 01:14 PM
:confused:
Hello there ,

I am stuck with something.

after reinstalling my linux system, grub is not able to boot my windows XP partition on one of my HD,

here are HD devices found

[root@localhost etc]# fdisk -l

Disque /dev/hda: 80.0 Go, 80026361856 octets
255 heads, 63 sectors/track, 9729 cylinders
Unités = cylindres de 16065 * 512 = 8225280 octets

Périphérique Amorce Début Fin Blocs Id Système
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 2041 7777 46082452+ b W95 FAT32
/dev/hda3 14 2040 16281877+ 8e Linux LVM

Les entrées de la table de partitions ne sont pas dans l'ordre du disque

Disque /dev/hdb: 15.3 Go, 15371919360 octets
255 heads, 63 sectors/track, 1868 cylinders
Unités = cylindres de 16065 * 512 = 8225280 octets

Périphérique Amorce Début Fin Blocs Id Système
/dev/hdb1 * 1 1868 15004678+ c W95 FAT32 (LBA)
[root@localhost etc]#

# this device map was generated by anaconda
(hd1) /dev/hda
(hd0) /dev/hdb

What I have on my grub.conf 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 (hd1,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hdb
default=0
timeout=13
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.22.7-57.fc6)
root (hd1,0)
kernel /vmlinuz-2.6.22.7-57.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.22.7-57.fc6.img
title Fedora Core (2.6.18-1.2798.fc6)
root (hd1,0)
kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-1.2798.fc6.img
title Windows
rootnoverify (hd0,0)


I have also tried for the windows system rootnoverify (hd0,1)
But Windows refuses to boot ....

Thank you for your feedback

giulix
7th October 2007, 02:23 PM
You should try either (hd0,0), which you did, or (hd1,1) which is where your FAT32 partitions are

verlossen
7th October 2007, 03:20 PM
:) Hello,

yes, rootnoverify (hd0,0) and a new line with chainloader +1 that did it,

Thank you!

verlossen

stevea
7th October 2007, 03:24 PM
A humble suggestion;

FC6 is on the trailing edge. It's time to upgrade to F7, or F8 in a few weeks.
FAT32 is conveniently supported by both Win & Lin, but the performance is very poor.
Consider ntfs & the Linux ntfs-3g instead.