Thursday, February 03, 2011

How to mount FreeBSD in Linux

I'm running FreeBSD 8.2 on a Dell E520 which also has a number of other installed OSes including Ubuntu 10.10.
My Ubuntu partitions (/ and /home) are both logical partitions and, as it seems that FreeBSD doesn't recognize logical partitions, I cannot access Ubuntu from FreeBSD.
However, it is possible to mount my FreeBSD partition in Ubuntu with the following command:

# mount -t ufs -o ro,ufstype=ufs2 /dev/sda3 /mnt/freebsd

This worked fine for me.
Note that this is RO (read only). I haven't yet tried rw (read & write).
I'll edit this post when I do.

No comments:

Post a Comment