PDA

View Full Version : Ubuntu doesn't recognize bsd partition



mmmichael
March 20th, 2007, 07:03 AM
I installed freebsd 6.2 on hdb1 and then Ubuntu 6.10 on hda9.
When Ubuntu installed grub it recognized all the OSs on hda1-9, but not the freebsd.
It didn't show up in /etc/fstab either. When I try to manually mount it I get unknown file system.
Gparted also shows unknown fs. fdisk shows system as FreeBSD.

Any advise on editing /etc/fstab and /boot/grub/menu.lst so I can mount or boot freebsd?

mips
March 20th, 2007, 09:38 AM
I noticed the same thing yesterday. The partitionar on the alternative cd can do nothing with the bsd partition, no delete, no format etc.

angryfirelord
March 20th, 2007, 12:34 PM
grub doesn't recognize ufs filesystems. You have to use this to add it:

title FreeBSD
rootnoverify(hd0,1) #Change this as necessary
chainloader +1
boot

However, I don't know how to mount it.

mmmichael
March 22nd, 2007, 12:21 AM
grub doesn't recognize ufs filesystems. You have to use this to add it:

title FreeBSD
rootnoverify(hd0,1) #Change this as necessary
chainloader +1
boot
.

I did this and it got me to the freebsd boot options screen. It boots if I select safe mode, but if I select the default option it can't mount the kernel.:confused:

mephisto786
March 31st, 2007, 01:27 PM
Try without the noverify statement......worked on my PCBSD dual boot

good luck

hanzomon4
March 31st, 2007, 06:45 PM
grub doesn't recognize ufs filesystems. You have to use this to add it:

title FreeBSD
rootnoverify(hd0,1) #Change this as necessary
chainloader +1
boot

However, I don't know how to mount it.

Yeah that worked for me, I don't think linux has support for the ufs or perhaps it's not compiled into the ubuntu kernel

rplantz
May 25th, 2007, 05:57 PM
You have probably solved your problem, but I added the following to my menu.list:


# For booting FreeBSD

title FreeBSD
root (hd1,a)
kernel /boot/loader
boot

which boots my FreeBSD very nicely.

My Ubuntu is on a SATA disk and my BIOS is set to boot from that first. So grub is on that disk. I have FreeBSD on a PATA disk, hence the "hd1" in the root command above.