EnderUNIX tipsMail to My Friend , Home Page
[ FreeBSD ]
"Dual Booting Windows XP and FreeBSD with GRUB" - Ülkü SAYILAN - (2004-01-02 11:50:39) 
Dual Booting Windows XP and FreeBSD with GRUB
Before proceeding you must understand that are going to change your MBR and that could mean that the OSes that are installed no longer boot.
I'm assuming that you have Windows XP on the first partition and FreeBSD on the second partition on master configured hard disk.
1.First you need GRUB, grab it from ports (/usr/ports/sysutils/grub) ;
2.Copy /usr/local/share/grub/i386-freebsd/stage1 and stage2 to /boot/grub ;
3.Check /boot/grub/device.map to see if it has "/dev/rad0" and not "/dev/ad0" ;
4.Run grub-install ;
5.GRUB should now be installed. Now let's make a menu for it so we can choose your operating system at boot. Make a file with following content and name it menu.lst putting it on /boot/grub :
#GRUB starts counting disks at 0. So our master disk is hd0
#default boot choice
#timeout in seconds before the default system is booted
#this is the name that will appear on the boot menu title FreeBSD
#this is where the root (/) system is installed #master disk 1, partition 2 slice a
#how to boot the above system
title Windows XP root (hd0,0)
#the following lines are needed to boot Windows XP/NT
6.Reboot and see how it goes.
Mail to My Friend , Home Page