Solved How to RW in single user mode?

Hi folks,

I googled it but I couldn't find a solution.

I made a very stupid mistake that I can fix quickly editing the rc.conf but I can't do it in multi-user mode while it looks like in single user the filesystem is mount in read mode only?

How can I start single-user in RW mode?

Thanks!

🙏
 
For me it works like this (its written in the HB i think):
1. Boot in single user mode [maybe safe mode, too] (select from boot menu)
2. login as root
opt 2. Depending on how far your system comes up, you may need to enter /bin/sh to get a real shell (it's actually written in system's message text)
3. # mount -u -o rw / makes everything read-writeable even on my zfs machines
4. correct rc.conf or /boot/loader.conf
5, reboot
 
Thank you, the ZFS instructions were perfect! 🙏
SirDice,

Thank you for the quick and solid remedy! Thank you freezr, OP for creating this thread! I ran into this problem this morning when I forgot to put a end quote on a line in my /etc/rc.conf and couldn't write in single-user mode ZFS file-system! I was able to quickly edit my /etc/rc.conf and reboot back my FreeBSD-14.0-RELEASE-amd64 Virtualbox Machine without any BootError's :)
 
Back
Top