alt.os.linux.mint
Booting WinXP with Grub 2
I made some space for a WinXP partition I need to boot on a second hard
drive. WinXP doesn't like such things of course, and I'm not about to
play with fdisk on a Linux system. So I am trying to boot the WinXP
system using Grub 2. I have Mint 10 on the primary drive and I have poked
around with Grub a little bit, but I wanted to ask first to see if there
is a better way.
I *did* boot the WinXP partition, using the Super Grub 2 boot cd. So it
works, without needing the DOS bootloader on the drive. But I am not
familiar with the format of the commands it used. Here is what got it
booted:
setparams 'Windows NT/2000/XP (hd1,msdos1)' 'hd1,msdos1'
set root=$2
regexp -s devnum 'hd([0-9]+)' $root
if test "devnum" != '0'; then
drivemap -s hd0 $root
fi
chainloader +1
Is that format going to work if I just stick it in 40_custom and run
update-grub? Or is there a better way to do it?
Written by Buddha
24/01/2012 22.01.55
Check some pics on this site!
22/05/2012 14.54.25