Hello I'm trying to dual boot Gentoo with Win XP. I can't get it to work on grub but I was succesful in LILO. Here's the scenario, Win XP is on my first drive (/dev/hda) and linux is on my seconf (/dev/hdb)
here's the complete layout:
Code:
/dev/hda1 windows
/dev/hdb1 /boot
/dev/hdb2 swap
/dev/hdb3 /
In grub I did this:
1. Wrote the appropriate grub.conf
Code:
default 0
timeout 30
splashimage=(hd1,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.11-r3
root (hd1,0)
kernel /kernel-2.6.11-gentoo-r3 root=/dev/hdb3
title=Windows XP
rootnoverify (hd0,1)
makeactive
chainloader +1
2. in grub prompt:
root (hd1,0)
setup (hd1) //install it on mbr of second drive
[/code]
When I do this I can't boot into windows
On lilo however having just this lilo.conf works perfect!
Code:
root=/dev/hdb # Install LILO in the MBR
prompt # Give the user the chance to select another section
timeout=50 # Wait 5 (five) seconds before booting the default
default=gentoo # When the timeout has passed, boot the "gentoo"
image=/boot/kernel-2.6.11-gentoo-r3
label=gentoo # Name we give to this section
read-only # Start with a read-only root. Do not alter!
root=/dev/hdb3 # Location of the root filesystem
other=/dev/hda1
label=windows