View Single Post
Old 12-14-2007, 12:29 AM   #7
Det. Bart Lasiter
obama.png
 
Det. Bart Lasiter's Avatar
 
Join Date: Mar 2005
Location: `(.)~
Posts: 7,997
Current Game: all
Forum Veteran LF Jester 
Quote:
Originally Posted by Astrotoy7
words
1) Partition drive as:
  • 1st = Windows XP
  • 2nd = Linux Swap
  • 3rd = Primary Linux (ext3, xfs, etc)
2) Install Windows XP.
3) Install Linux with no bootloader and take note of the contents of /boot
4) Reboot into Windows XP.
5) Install Win32 GRUB (get it here).
6) Configure Win32 GRUB by editing the menu.lst file - if you followed the partition order above, then it should be similar to:

Code:
timeout 60

default 1

fallback 0

title Windows XP moar liek XD
unhide (hd0,0)
rootnoverify (hd0,0)
chainloader +1

title Lunix
root (hd0,2)
# remember when you TOOK NOTE OF THE CONTENTS OF /boot ?
kernel /boot/vmlinuz-whatever
initrd /boot/something.gz
Or, if you're a Gentoo user who used genkernel:

Code:
timeout 60

default 1

fallback 0

title Windows XP moar liek XD
unhide (hd0,0)
rootnoverify (hd0,0)
chainloader +1

title Gentoo moar liek GOONtoo
root (hd0,2)
kernel /boot/kernel-genkernel-whatever root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
initrd /boot/initramfs-genkernel-somethingorother
This way makes sure that once you install XP you don't have to worry about anything MBR-related, it can be removed easily as well. Also take note that I haven't tested the genkernel version (since I've never used it), although I assume if you can install Gentoo you can configure GRUB properly.



"No, Mama. You can bet your sweet ass and half a titty whoever put that hit on you already got the cops in their back pocket." ~Black Dynamite
Det. Bart Lasiter is offline   you may: quote & reply,