Date: Fri, 14 Nov 2008 00:14:05 -0800 (PST) From: Unga <unga888@yahoo.com> To: freebsd-questions@FreeBSD.org Subject: Re: GRUB: Filesystem type unknown (ufs2) Message-ID: <267379.91180.qm@web57006.mail.re3.yahoo.com> In-Reply-To: <193750.67373.qm@web57005.mail.re3.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--- On Thu, 11/13/08, Unga <unga888@yahoo.com> wrote: > From: Unga <unga888@yahoo.com> > Subject: GRUB: Filesystem type unknown (ufs2) > To: freebsd-questions@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?267379.91180.qm>