Saturday, September 8, 2007

Opening freebsd partition under GUI environment

Previously, I've ever write a note when trying to mount freebsd filesystem using command line. This note just a modified version from that one. while you trying to mount freebsd partition using file manager under desktop environment (GNOME or KDE) in linux, there is an error message showed up. It's look like a message if I mount it under command line using mount tool.

Device manager feature which came with GNOME or KDE is trying to mount freebsd partition using read-write mode instead of read-only mode. But in most linux distro, an ufs module inside kernel doesn't compiled as read-write mode by default because it is still DANGEROUS. Eventhough i've ever try it successful.

Not only that, a default ufstype's option which passed to mount ufs filesystems is old. File manager try to mount the partition using old type instead of ufs2 which is not supported for mounting freebsd native filesystem (UFS/FFS). if you want to mount a partition under GUI (desktop) environment maybe this example bellow can help. Just put this line into /etc/fstab file:
e.g.
/dev/hda2 /media/hda2 ufs user,noauto,ro,ufstype=ufs2 0 0

note:
- /dev/hda2: which is your freeBSD partition
- In the option column from that line is defined to force mounting option to use read-only mode and ufs2 as ufstype.

No comments:

Post a Comment