Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2001 15:22:59 +0000
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Oskar van Eeden <oskar@vaneeden.nu>
Cc:        freebsd-bugs@freebsd.org
Subject:   Re: Mounting an ext2fs filesystem on FreeBSD 4.3-STABLE
Message-ID:  <20011130152259.A72515@walton.maths.tcd.ie>
In-Reply-To: <9u86mg$6p7$1@news1.xs4all.nl>; from oskar@vaneeden.nu on Fri, Nov 30, 2001 at 03:54:42PM %2B0100
References:  <9u86mg$6p7$1@news1.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 30, 2001 at 03:54:42PM +0100, Oskar van Eeden wrote:

[This is more a question for freebsd-questions rather than freebsd-bugs]

> I'd like to mount an ext2fs on my FreeBSD system. I recompiled my kernel
> with option EXT2FS and everything seems fine. When i try to mount with
> `mount -t ext2fs /ad1s2 /opt` i get the following message in
> /var/log/messages:
> 
> Nov 30 00:07:44 vaneeden /kernel: ext2fs: #ad/0x3000a: wrong magic number 0
> (expected 0xef53)

I suspect you're not giving the correct partiton number. /dev/ad1s2
would be the Linux equivelent of /dev/hdb2, which might be a swap
device under Linux. The first thing to try is /dev/ad1s1 -> /dev/ad1s10
and see if you get the partition you are looking for.

	David.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011130152259.A72515>