Code: Select all
default 1
timeout 30
splashimage=(hd1,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.13
root (hd1,0)
kernel /kernel-2.6.13-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hdb3 vga=0x318 udev
initrd /initramfs-genkernel-amd64-2.6.13-gentoo-r5
title=Windows XP
root (hd0,0)
makeactive
chainloader +1

I have a pre-existing windows installation and am adding a new drive for a Gentoo install. What I've decided to do is put the Windows drive as the slave and make Gentoo the master drive. Since Windows can't recognize the file system type of Linux I'd imagine Windows would ignore it and declare itself the sole drive and therefore drive c: (thus not changing file paths).Kjammer wrote:I have two IDE Hard disk drives, wired as Master and Slave. They are currently partitioned as:
/dev/hda1 (boot) (Windows)
/dev/hdb1 (boot) (Linux)
/dev/hdb2 (Linux swap)
/dev/hdb3 (Linux)
What is the best way to go about installing Gentoo so I can have a choice on weather to boot Windows or Gentoo? The handbook seems to assume I'm using one PC with one HDD for Linux only.


I'll try this as you described. Excellent suggestion!sundialsvc4 wrote:If this isn't working for you, try setting the BIOS to startup on the Linux partition .. the slave .. and configure Grub to allow you to select Windows or Linux. There's plenty of documentation with Grub on exactly how to do this. The advantage of this is that you can do it without making any change whatsoever to the existing Windows config.

