0

New here(and to Linux), hope someone can help me. I'm trying to mount two HDDs that come from a FreeBSD box (mainboard died) on my freshly installed Ubuntu (16.04). I get the following error...

tv@Media-Centre:~$ sudo mount -r -t ufs -o ufstype=ufs2 /dev/sdb /home/tv/ufs_mount
mount: wrong fs type, bad option, bad superblock on /dev/sdb,
missing codepage or helper program, or other error

In some cases useful info is found in syslog - try
dmesg | tail or so.

Any pointers please?

Anwar
  • 77,855

2 Answers2

1

/dev/sdb refers to a whole disk, whereas file systems typically reside inside disk partitions. There should be more device nodes with the same prefix and a numerical suffix: /dev/sdb1, /dev/sdb2, and so on. Consequentially, the device path given to mount command should be like this:

sudo mount [OPTIONS...] /dev/sdb1 /path/to/mountpoint

You can explore the partition geometry and file system types with blkid or lsblk -f:

sudo blkid /dev/sdb*
sudo lsblk -f /dev/sdb
David Foerster
  • 36,890
  • 56
  • 97
  • 151
0

Load the UFS module if you haven't already.

sudo modprobe ufs

Taken from Mount UFS filesystem

Stephen
  • 39