cannot make/mount ext2 partition

Jim stapleton.41 at
Tue Sep 2 18:06:11 UTC 2008

I'm trying to create an EXT2 partition so I can share files between
FreeBSD and any other operating system I put on the computer, without
the limitations of FAT32.

My kernel config is the generic kernel, with a bunch of SCSI, RAID and
network drivers, MD_ROOT and NFS_ROOT commented out.

However, once I'm done making the partition, I can't mount it. When I
try mounting it, I get the following error.
mount: /dev/ad8s1 : Operation not supported by device

Can anyone tell me what I'm doing wrong?
I sync'ed the ports tree within the last week, and built the e2fsprogs
port this morning.

-Jim Stapleton

The process I went through to create/mount the partition is as follows:
[sjss at elrond ~]$ uname -a
FreeBSD 7.0-STABLE FreeBSD 7.0-STABLE #1: Thu Jul
24 22:27:49 UTC 2008
root at  i386
[sjss at elrond ~]$ kldstat
Id Refs Address    Size     Name
 1   13 0xc0400000 55c4d8   kernel
 2    1 0xc095d000 6ed8     snd_ich.ko
 3    2 0xc0964000 4a57c    sound.ko
 4    1 0xc09af000 75592c   nvidia.ko
 5    2 0xc1105000 285a8    linux.ko
 6    1 0xc112e000 6a5d4    acpi.ko
 7    1 0xc65fb000 10000    ext2fs.ko
[sjss at elrond ~]$ ls /dev | grep '^ad8'
[sjss at elrond ~]$ sudo mke2fs /dev/ad8s1
mke2fs 1.41.0 (10-Jul-2008)
Filesystem label=
OS type: FreeBSD
Block size=4096 (log=2)
Fragment size=4096 (log=2)
9773056 inodes, 39072080 blocks
1953604 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
1193 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624, 11239424, 20480000, 23887872

Writing inode tables: done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 29 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
[sjss at elrond ~]$ fdisk /dev/ad8
******* Working on device /dev/ad8 *******
parameters extracted from in-core disklabel are:
cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=310101 heads=16 sectors/track=63 (1008 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 63, size 312576642 (152625 Meg), flag 0
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
The data for partition 3 is:
The data for partition 4 is:
[sjss at elrond ~]$ sudo mount -t ext2 /dev/ad8s1 /mnt
mount: /dev/ad8s1 : Operation not supported by device

More information about the freebsd-questions mailing list