20.2.1. ext2
Kernel support for ext2 file systems has been available since FreeBSD 2.2. In FreeBSD 8.x and earlier, the code is licensed under the GPL. Since FreeBSD 9.0, the code has been rewritten and is now BSD licensed.
The ext2fs(5) driver allows the FreeBSD kernel to both read and write to ext2 file systems.
Note:
This driver can also be used to access ext3 and ext4 file systems. However, ext3 journaling, extended attributes, and inodes greater than 128-bytes are not supported. Support for ext4 is read-only.
I also see there is the sysutils/e2fs port that is GPL licensed but may offer greater support. No doubt somebody who does this regularly will comment.This driver [ext2fs(5)] can also be used to access ext3 and ext4 file systems. However, ext3 journaling, extended attributes, and inodes greater than 128-bytes are not supported. Support for ext4 is read-only.
pkg install fusefs-ext4fuse
kldload fuse
ext4fuse /dev/da1s1 /mnt
Partition doesn't contain EXT4 filesystem.
ext4fuse /dev/da1s2 /mnt
Partition doesn't contain EXT4 filesystem.
ext4fuse /dev/da1s4 /mnt
Partition doesn't contain EXT4 filesystem.
So, your partition could not be an ext* one. In case it is reiserfs (always from the page of the Handbook):83 Linux native partition
Linux is a Unix-like operating system written by Linus Torvalds and many others on the internet since Fall 1991. It runs on PCs (386 and up) and a variety of other hardware. It is distributed under GPL. Software can be found numerous places, like ftp.funet.fi, metalab.unc.edu and tsx-11.mit.edu. See also comp.os.linux.* and http://www.linux.org/. Various filesystem types like xiafs, ext2, ext3, reiserfs, etc. all use ID 83. Some systems mistakenly assume that 83 must mean ext2.
20.2.2. ReiserFS
FreeBSD provides read-only support for The Reiser file system, ReiserFS.
To load the reiserfs(5) driver:
# kldload reiserfs
Then, to mount a ReiserFS volume located on /dev/ad1s1:
# mount -t reiserfs /dev/ad1s1 /mnt
file -s /dev/da1s1
to determine the filesystem type.kldload ext2fs
mount -o ro -t ext2fs /dev/da1s1 /mnt
kldload geom_linux_lvm
followed by geom linux_lvm list
. mount -o ro -t ext2fs /dev/linux_lvm/yourvolumegroup /mnt
.Oops -- my typo. It meant to readis it missing something?
geom linux_lvm list
(no second underscore)You should have seen it in the output from the geom(8) command above and you should also be able to see it by runningwhat would be my volume group?
ls /dev/linux_lvm
. If there is nothing, check you loaded the kernel module ( kldload geom_linux_lvm
).