ho appena iniziato a cimentarmi con la configurazione di grub. Attualmente, all'avvio la mia sabayon non mi permette di avviare win, infatti selezionando other il boot si blocca. La mia config di grub.conf attualmente è la seguente :
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 /kernel-genkernelreal_root=/dev/VolGroup00/LogVol00
# initrd /initramfs-genkernel
#boot=/dev/hda
default=0
timeout=6
splashimage=(hd0,0)/grub/splash.xpm.gz
title Sabayon Linux i686
root (hd0,0)
kernel /kernel-genkernel-x86-2.6.18-gentoo dolvm2 root=/dev/ram0 ramdi$
initrd /initramfs-genkernel-x86-2.6.18-gentoo
title Other
rootnoverify (hd1,0)
chainloader +1
quello che devo fare è cambiare la parte title other. Le righe che intendo aggiungere sono le seguenti (tratte dalla documentazione di gentoo):
title=Windows XP
rootnoverify (hd0,5)
makeactive
chainloader +1
Quello che non riesco a capire è il parametro da inserire al posto di (hd0,5).
Questa è la mia tabella delle partizoni:
Disk /dev/hda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 4998 40042012+ 8e Linux LVM
Corrispondente al disco in cui ho su sabayon
Questa è quella relativa all'hdd in fat 32 che mi serve da storage:
Disk /dev/hdb: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 9964 80035798+ c W95 FAT32 (LBA)
ed infine, il terzo hdd, quello con su win xp:
Disk /dev/sda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 9963 80027766 7 HPFS/NTFS
il fatto è che non ho capito come grub identifica le varie partizioni, specie se entrano in gioco dischi scsi