can't mount a logical ext3 partition

Eduardo Viruena Silva mrspock at esfm.ipn.mx
Tue Apr 29 12:39:29 PDT 2003


On Tue, 29 Apr 2003, Kevin Wortman wrote:

>
> I'm using the default kernel, as shipped on the 5.0-RELEASE installation CD.
>
> Where would I look to see if that option is compiled in?

argh! then you don't have it.

/usr/src/sys/i386/conf/GENERIC

recompile it:

	# cp GENERIC mykernel

	add the line:

		options EXT2FS

	to "mykernel" file

	# config mykernel
	# cd ../compile/mykernel
	# make depend
	# make
	# make install
	# reboot

good luck!


>
> Kevin Wortman
>
> On Monday 28 April 2003 07:15 pm, Eduardo Viruena Silva wrote:
> > On Mon, 28 Apr 2003, Kevin Wortman wrote:
> > > Hi,
> > >
> > > I just installed 5.0-RELEASE, and I have been having trouble mounting my
> > > Linux /home partition.  It is a logical ext3 partition, which Linux
> > > called /dev/hda7 .  I've been getting the following error:
> > >
> > > # mount -t ext2fs /dev/ad0s7 /mnt
> > > ext2fs: /dev/ad0s7: No such file or directory
> > >
> > > But the device is there, as evidenced by
> > >
> > > # ls -l /dev/ad0s7
> > > crw-r-----  1 root  operator    4,   7 Apr 28 17:20 /dev/ad0s7
> > >
> > > In fact all the slice/partition devices I'd expect are present, so it
> > > would seem that the kernel is reading the entire partition table
> > > correctly.
> > >
> > > I read through the archives, and the consensus seems to be that ext3 and
> > > ext2 filesystems should be interchangeable.  So I don't think that's the
> > > issue.
> > >
> > > Any ideas?
> >
> > what about your kernel?
> > does it have the line:
> >
> > options EXT2FS
> >
> > ?
>
>
>

-                         ______                     _
            *           /   /###\                   / \       __
 /\  /\             *  /  ./#### \         *     \__|_/      |  |
/  \/  \               |   b#####|   *            _ |   __   |  |  __
=    .. \____          \ \_\#####/               / \|  /  \  |  | /\_\/
=          \_|    *     \___\###/       *        \_/\_/\__/\__\/_/\__/
 =   \______/           _
  | |


More information about the freebsd-questions mailing list