Home arrow FreeBSD Tips arrow Mounting Linux Partitions
Mounting Linux Partitions PDF
Monday, 05 May 2008

This Mini Howto is About Mounting Linux Partitions under FreeBSD
---------------------------------------------------------------------------

In order to mount linux partitions from your FreeBSD box you must recopile kernel with:

options EXT2FS

or to do the following steps:

cd /usr/src/sys/modules/ext2fs
make
make load


Then you will be able to mount your linux partitions:

mount -t ext2fs /dev/ad1s1 /mnt


If you have problems mounting linux partition like those:
ext2fs ad0s1 wrong magic number 0 (expecting 0xef53)
Then maybe your partition is marked "dirty".

You could try to fsck your linux partition with fsck_ext2fs tool found in /usr/ports/sysutils/fsck_ext2fs on old FreeBSD version or installing /usr/ports/sysutils/e2fsprogs if you have a newer FreeBSD version.

 
< Prev   Next >

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?