I am having a terrible time with GRUB and it is very frustrating. I will give a description of what I am doing and what happens.
1) I installed GRUB. cd /usr/ports/sysutils/grub && make install clean
Result: GRUB 0.97 installed on system
1a) I copied all the grub files into a dir called /boot/grub
cp -Rf /usr/local/share/grub/i386-freebsd /boot/grub
1b) I created a menu.lst file which looks like this:
timeout 10
title FreeBSD
root (hd0,0,a)
kernel /boot/loader
2) I started grub
result: started fine
3) From the grub prompt, I tried to install grub on the first slice of the primary master.
grub> root (hd0,0,a)
Filesystem type is ufs2, partition type 0xa5
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/ufs2_stage1_5" exists... yes
Running "embed /boot/grub/ufs2_stage1_5 (hd0)"... failed (this is not fatal)
Running "embed /boot/grub/ufs2_stage1_5 (hd0,0,a)"... failed (this is not fata
l)
Running "install /boot/grub/stage1 (hd0) /boot/grub/stage2 p /boot/grub/menu.l
st "... failed
Error 29: Disk write error
grub>
You can see the error I get. I am doing this as root and the version of grub is 0.97. I am no newb to BSD I have just never have the need to dual boot a box before yesterday. On a side note, the boot loader currently used is the FreeBSD boot loader that comes with the install. Do I need to erase the MBR before installing grub. It almost seems as if the boot sector is somehow protected. I have read the BSD and Grub manuals amd Googled and performed several different how-tos to no avail. I am desparate. I have been forced to use a Windows box at work and it keeps blue-screening. I need BSD.
The website I used is
http://lists.freebsd.org/pipermail/f...ay/006944.html
However, this page is very cryptic.
Please help