Mounting FreeBSD UFS2 file system on Ubuntu Linux
19 March 2008 – 10:40 am by wgI needed to read data from a USB connected hard disk formatted as UFS by FreeBSD 6.x on an Ubuntu Linux system. As it turns out, it was easier than I expected, as Ubuntu (well, Ubuntu Server at least) has built in read-only support for UFS file systems.
$ dmesg |grep "bsd:" [ 31.178307] sda1: <bsd: > $ sudo mkdir /mnt/ufsdisk $ sudo mount -t ufs -r -o ufstype=ufs2 /dev/sda1 /mnt/ufsdisk $
Check with mount to confirm that this has worked:
$ mount [..] /dev/sda1 on /mnt/backupdisk type ufs (ro,ufstype=ufs2) $
All done.

























