Page 1 of 1

Updated kernel to mount UFS2 FreeBSD file systems?

Posted: Mon Nov 15, 2010 11:28 am
by BlueToast
Using v5.0.2 I am unable to mount pfSense' UFS2 file systems. I need to be able to mount it in order to modify a boot file. :(

I can't use the pfSense LiveCD to do this because I always get a read-only error message.

Re: Updated kernel to mount UFS2 FreeBSD file systems?

Posted: Mon Nov 15, 2010 12:12 pm
by Icecube
I think Linux doesn't support writing to UFS2 filesystems (at least according to wikipedia).

You can try the following:
How to mount a 'read-only' filesystem read/write? (top)

Use mount(8)'s -u (update) switch: 'mount -u /'. More than likely, you booted single-user which mounts the root filesystem read-only by default. This gives you a chance to run fsck by hand before bringing the system up into multi-user. One other way to mount all the filesystems in /etc/fstab as read/write is to use 'mount -a'.

However, the best way to do this is to go into multi-user mode by exiting from your single-user shell. This will mount all of the filesystems in /etc/fstab in whatever mode they are listed.
http://www.netbsd.org/docs/misc/#read-o ... read-write

If you can't do that from psSense, try it with a NetBSD liveCD.