mounting ext2fs

Matthias Apitz guru at unixarea.de
Wed Apr 18 11:24:23 UTC 2012


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 at 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


More information about the freebsd-questions mailing list