Botting FreeBSD from GRUB
Jud
judmarc at fastmail.fm
Tue Mar 23 09:38:27 PST 2004
On Tue, 23 Mar 2004 11:28:42 -0500, "olig" <ogaumond at oricom.ca> said:
> I have Windows XP and Linux already installed on my Laptop and want to
> also install FreeBSD (by the way I'm new to FreeBSD but quite
> experimented with Linux). I successfully installed FreeBSD on a primary
> partition (slice) with most of the default options. However I did
> choose to leave the MBR untouched because I want to boot FreeBSD with
> GRUB. I can boot Linux and Windows without problems from GRUB, but
> can't boot FreeBSD.
> And my Grub configuration concerning FreeBSD
>
> # For booting FreeBSD
> title FreeBSD 5.2
> root (hd0,2,a)
> kernel /boot/loader
>
>
> When I try to boot FreeBSD I get the following error from grub:
> filesystem type unknown, partition type 0xa5
> error 17 cannot mount selected partition
>
> Also I can't mount the FreeBSD partition under Linux.
> # mount -t ufs /dev/hda3 /mnt/freebsd/
> mount: wrong fs type, bad option, bad superblock on /dev/hda3,
> or too many mounted file systems
>
> But I can succesfully mount it under FreeBSD booting with the fixit
> floppy.
1. Grub and your mount command are having difficulty reading UFS2, the
new default filesystem for FreeBSD 5.x. One solution is to choose to use
the "old" filesystem, UFS. I have seen previous discussions here about
this topic; right now I cannot remember what was said, but you should be
able to find these messages with a search from <URL:
http://freebsd.rambler.ru/>.
2. If the steps you took in response to #1 prove insufficient, choose a
"normal" MBR (not the FreeBSD boot loader, not to leave the MBR
untouched) when installing FreeBSD.
Jud
More information about the freebsd-questions
mailing list