In the gentoo guide, you most likely installed the grub bootloader.  What you 
want to do is after installing XP, go back and reload grub onto the master 
boot rercord (MBR).  To do this, use the install disc that you used to setup 
your gentoo box.  The manual has the steps to put grub on the MBR - you don't 
need to re-emerge it.

When in the grub config file, you'll also have to add an entry for windows.  
My working config file is shown below, though i've removed a bunch of entries 
for different kernel versions I keep around..

You also want to be very very careful when formating your partions in the XP 
setup.. it's possible to make a mistake here, and coming from someone who 
just did that; it's not fun!

Good luck! - Adam

#/boot/grub/grub.conf
default 0
timeout 30
splashimage=(hd0,3)/boot/grub/splash.xpm.gz

title=Inital Kernel (2.6.12-r4)
root (hd0,3)
kernel (hd0,3)/boot/initalKernel root=/dev/sda4

title=WindowsXP x64 SP 2
root (hd0,0)
makeactive
chainloader +1


On Monday 25 July 2005 10:21 am, Dave Nebinger wrote:
> I've been doing research about finding a way to install windows on my
> gentoo box (don't flame me, I wouldn't be doing it if I didn't have to).
>
> I've got a spiffy new 80gb drive which is available at /dev/hdb that I plan
> on using as the windows drive.
>
> Most of the dual boot guides suggest adding linux after windows; in my case
> I have a working gentoo linux system in place that I don't want to sack,
> I'd rather just add windows to the new drive.
>
> Anyone out there have a good pointer for me?
>
> Thanks!
>
> Dave
-- 
gentoo-user@gentoo.org mailing list

Reply via email to