Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2001 15:55:51 +0100
From:      "Oskar van Eeden" <oskar@vaneeden.nu>
To:        freebsd-security@freebsd.org
Subject:   Mounting an ext2fs on FreeBSD 4.3-STABLE
Message-ID:  <9u86ok$75j$1@news1.xs4all.nl>

next in thread | raw e-mail | index | archive | help
Hi there,

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)

This seems strange to me, so i tried to run e2fsck to fix this problem. The
following was prompted:
----------------------------------------------------------------------------
----------------------
root@vaneeden:/% e2fsck /dev/ad1s2
e2fsck 1.22, 22-Jun-2001 for EXT2 FS 0.5b, 95/08/09
Couldn't find ext2 superblock, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open /dev/ad1s2

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
----------------------------------------------------------------------------
------------------------

So i ran `e2fsck -b 8193 /dev/ad1s2`, but i was getting the same message.
I've read every man/doc that has something to do with ext2fs etc. _and_ I
searched the whole internet for people having this very same problem, but
there where pratically none. Can please some help me out (and for you dutch
guys, lul maar nederlands...). Mail me at oskar@vaneeden.nu. Thanks in
advance.

(by the way: ad1: 25965MB <Maxtor 92732U8> [56272/15/63] at ata0-slave
UDMA33)

Regards,

Oskar van Eeden




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9u86ok$75j$1>