I am attempting to get grub to boot DesktopBSD and I am not having any success.
I put BSD on the slave drive, I was hoping for the option to install the BSD loader to the root partition, but sadly, I don't get that option.
I googled for "grub freebsd", but the results don't produce understandable info.
If someone could explain the naming scheme for BSD partitions.
I have DesktopBSD on /dev/hdb1.
I did manage a partial fix, using the BIOS to select which hdd to boot to, but this is a PITA.
I found this guide for booting BSD with grub.
I was hoping that I could get grub to install, then it would be much simpler to chainload it. But, this didn't work either.
As suggested in the guide, I looked in /boot/grub/device.map to make sure that /dev/rad1 is there instead of /dev/ad1.
I do not have /dev/rad1, I have /dev/ad1. And I get this error
localhost# grub-install /dev/ad1
GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> root (hd1,0,a)
Filesystem type is ufs2, partition type 0xa5
grub> setup --stage2=/boot/grub/stage2 --prefix=/boot/grub (hd1)
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 (hd1)"... failed (this is not fatal)
Running "embed /boot/grub/ufs2_stage1_5 (hd1,0,a)"... failed (this is not fatal)
Running "install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd1) /boot/grub/stage2 p /boot/grub/menu.lst "... failed
Error 29: Disk write error
I attempted to install grub to /dev/hdb1.
I think during that attempt I borked my DesktopBSD boot loader.
So I went and reinstalled it.
Now this entry in my Suse grub works fine