Blog Entry
To mount ext2fs filesystems under FreeBSD, you first have to build a new kernel with ext2fs support. Put the line
options “EXT2FS”
in your kernel configuration file for the new kernel and compile.
Read the FreeBSD handbook to learn how to do that.
or
Do the following steps to enable ext2fs support in the kernel:
# cd /usr/src/sys/modules/ext2fs
# make
# make install
You can use ‘kldload‘ to load the ext2fs module in to the kernel.
# kldload ext2fs
Then you will be able to mount your linux partitions by giving a command like:
# mount -t ext2fs /dev/ad1s1 /mnt
to unload module use
# kldunload ext2fs
To load the module automatically on system startup
add the following line in to /boot/loader.conf
ext2fs_load=”YES”
Thanks
Law of Attraction
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.
Related Articles
User Comments
- ankursan's blog
- Be the first to comment! To leave a comment you need to Login or Register
- 2595 reads


0