Updated kernel to mount UFS2 FreeBSD file systems?

Post your suggestions here if there are new features or applications that you would like added to the Ultimate Boot CD.

Moderators: Icecube, StopSpazzing

Post Reply
Message
Author
BlueToast
Posts: 4
Joined: Thu Aug 19, 2010 1:07 pm

Updated kernel to mount UFS2 FreeBSD file systems?

#1 Post by BlueToast » Mon Nov 15, 2010 11:28 am

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.

Icecube
Posts: 1278
Joined: Fri Jan 11, 2008 2:52 pm
Contact:

Re: Updated kernel to mount UFS2 FreeBSD file systems?

#2 Post by Icecube » Mon Nov 15, 2010 12:12 pm

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.
Download Ultimate Boot CD v5.0: http://www.ultimatebootcd.com/download.html
Use Parted Magic for handling all partitioning task: http://partedmagic.com/

Post Reply