GRUB: Filesystem type unknown (ufs2)
Unga
unga888 at yahoo.com
Fri Nov 14 00:14:06 PST 2008
--- On Thu, 11/13/08, Unga <unga888 at yahoo.com> wrote:
> From: Unga <unga888 at yahoo.com>
> Subject: GRUB: Filesystem type unknown (ufs2)
> To: freebsd-questions at FreeBSD.org
> Date: Thursday, November 13, 2008, 6:24 PM
> Hi all
>
> I have compiled and installed grub-0.97.tar.gz on FreeBSD
> 7.0 (i386).
>
> It shows the grub cannot recognize ufs2 file systems.
>
> grub> root (hd1,0,
> Possible partitions are:
> Partition num: 0, [BSD sub-partitions immediately
> follow]
> BSD Partition num: 'a', Filesystem type
> unknown, partition type 0xa5
> BSD Partition num: 'b', Filesystem type
> unknown, partition type 0xa5
> BSD Partition num: 'd', Filesystem type
> unknown, partition type 0xa5
> BSD Partition num: 'e', Filesystem type
> unknown, partition type 0xa5
> BSD Partition num: 'f', Filesystem type
> unknown, partition type 0xa5
>
> All stage1, stage2 and *_stage1_5 are in /boot/grub/.
>
> The fstype used for bsdlabel for b is swap and for others
> its 4.2BSD.
>
> Files systems were created as follows:
> newfs -U /dev/ad2s1a
> newfs /dev/ad2s1d
> newfs -U /dev/ad2s1e
> newfs -U /dev/ad2s1f
>
Ok, found the problem. Its the newfs. The problem is GRUB cannot recognize ufs2 file systems created by newfs. The GRUB can recognize ufs2 file systems created by sysinstall.
I have even tried "newfs -O 2 -U /dev/ad2s1a", the GRUB still cannot recognize ufs2 file systems.
Now the question is, how to properly create a ufs2 file system manually? Is it by newfs?
Also appreciate if someone could let me know where does it create ufs2 file systems in sysinstall.
Best regards
Unga
More information about the freebsd-questions
mailing list