Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2012 13:24:11 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-questions@freebsd.org
Subject:   mounting ext2fs
Message-ID:  <20120418112411.GA1492@tiny>

Next in thread | Raw E-Mail | Index | Archive | Help

Hello,

I'm trying to mount an ext2fs in 10-CURRENT with:

# fdisk /dev/da0
******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=486 heads=64 sectors/track=32 (2048 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=486 heads=64 sectors/track=32 (2048 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 131 (0x83),(Linux native)
    start 235, size 996117 (486 Meg), flag 80 (active)
        beg: cyl 0/ head 3/ sector 47;
        end: cyl 988/ head 7/ sector 7
The data for partition 2 is:
<UNUSED>
...
# mount -t ext2fs /dev/da0s1 /mnt
mount: /dev/da0s1 : Invalid argument
# ls -l /dev/da0s1
crw-r-----  1 root  operator  0x66 18 abr 11:33 /dev/da0s1
# kldload ext2fs
kldload: can't load ext2fs: File exists

What I'm doing wrong. The filesystem itself is fine in Linux.

Thanks

	matthias

-- 
Matthias Apitz
e <guru@unixarea.de> - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20120418112411.GA1492>