Can't access UFS

Ralf Mardorf ralf.mardorf at alice-dsl.net
Thu Nov 29 03:11:48 UTC 2012


Hi :)

I try to access FreeBSD from my Ubuntu install(s), but it doesn't work.

spinymouse at q:/boot$ grep CONFIG_UFS_FS config-3.6.5-rt14
CONFIG_UFS_FS=m
# CONFIG_UFS_FS_WRITE is not set
spinymouse at q:/boot$ lsmod | grep ufs
spinymouse at q:/boot$ sudo modprobe ufs 
spinymouse at q:/boot$ lsmod | grep ufs
ufs                    74797  0

So for write access I've got to build the kernel again. But when I try
to mount it by using Nautilus I get:

Unable to mount 62 GB Volume

Error mounting /dev/sda1 at /media/spinymouse/disk: Command-line `mount
-t "ufs" -o "uhelper=udisks2,nodev,nosuid" "/dev/sda1"
"/media/spinymouse/disk"' exited with non-zero exit status 32: mount:
wrong fs type, bad option, bad superblock on /dev/sda1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

spinymouse at q:/boot$ sudo fdisk -l
[snip]
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63   121274684    60637311   a5  FreeBSD
/dev/sda2   *   121274746   625137344   251931299+   5  Extended
[snip]
spinymouse at q:/boot$ sudo parted -l
[snip]
Number  Start   End     Size    Type      File system     Flags
 1      32.3kB  62.1GB  62.1GB  primary   freebsd-ufs
 2      62.1GB  320GB   258GB   extended                  boot
[snip]

Regards,
Ralf




More information about the Ubuntu-Studio-users mailing list