# make
# make install
# cd /boot
# mkdir grub
# cd /usr/local/share/grub
# cp stage1 /boot/grub
# cp stage2 /boot/grub
# cp *_stage1_5 /boot/grub
# cp /usr/local/sbin/grub /boot/grub
# cd /boot/grub
# ./grub
grub> install (hd0,a)/boot/grub/stage1 (hd0) (hd0,a)/boot/grub/stage2 p (hd0,a)/boot/grub/menu.conf
grub> exit
#vi menu.conf
title COS-X
root (hd0,a)
kernel /boot/cosx.bin
boot
title FreeBSD
root (hd0,a)
kernel /boot/loader
boot
title Windows
rootnoverify (hd0,a)
makeactive
chainloader +1
boot
# make install
# cd /boot
# mkdir grub
# cd /usr/local/share/grub
# cp stage1 /boot/grub
# cp stage2 /boot/grub
# cp *_stage1_5 /boot/grub
# cp /usr/local/sbin/grub /boot/grub
# cd /boot/grub
# ./grub
grub> install (hd0,a)/boot/grub/stage1 (hd0) (hd0,a)/boot/grub/stage2 p (hd0,a)/boot/grub/menu.conf
grub> exit
#vi menu.conf
title COS-X
root (hd0,a)
kernel /boot/cosx.bin
boot
title FreeBSD
root (hd0,a)
kernel /boot/loader
boot
title Windows
rootnoverify (hd0,a)
makeactive
chainloader +1
boot