Hello,
I'm stuck with GhostBSD. It does not log my user anymore (mate session). I know what to do to repair: I just need to delete a line in ~/.xinitrc.
The problem is when I boot in single user mode, it's read-only. Tried "mount -u -rw /" and some variants with no luck. The disk stays in read-only mode.
Any idea?
How to use single user mode?
Re: How to use single user mode?
When you are at the login you can do Ctrl+Alt+F2, but if you have latest Nvidia card like me you might not work for you like me.
So there is also the single user like you tried.
So there is also the single user like you tried.
Code: Select all
mount -u /
/rescue/vi /home/usr/.xinitrc
mount -a
exit
Re: How to use single user mode?
Thanks. You saved my install. The Ctrl+Alt+F2 at the slim login works. Once there, I was able to login as root and I did the job.
However, all I did in single-user mode (including you wrote here) never changed the read-only mode. So, a question remains: what is the utility of single-user mode if it's impossible to mount the system in write-mode to correct the problems?
Thanks again anyway. I have a debt.
However, all I did in single-user mode (including you wrote here) never changed the read-only mode. So, a question remains: what is the utility of single-user mode if it's impossible to mount the system in write-mode to correct the problems?
Thanks again anyway. I have a debt.
- NevilleGoddard
- Developer
- Posts: 517
- Joined: Thu Dec 22, 2016 10:30 pm
- Location: Japan
Re: How to use single user mode?
Just a guess but I think it's
mount -u /
mount -u /
Re: How to use single user mode?
Hi,
I tried "mount -u/" but, as I expected, the syntax is incorrect since '/' isn't a valid option. A space must lie between 'u' and '/'.
Then, I typed "mount -u /" and you know what? It worked. I ever tried that, yet... Something escaped to me (and sorry to make you loose your time about this). For the behaviour is now as the documentation says.
Thanks guys.
I tried "mount -u/" but, as I expected, the syntax is incorrect since '/' isn't a valid option. A space must lie between 'u' and '/'.
Then, I typed "mount -u /" and you know what? It worked. I ever tried that, yet... Something escaped to me (and sorry to make you loose your time about this). For the behaviour is now as the documentation says.
Thanks guys.
Re: How to use single user mode?
Not sure if it will be the same for you, but for me, adding this line to the /boot/loader.conf fixed the nvidia issue:ericbsd wrote:When you are at the login you can do Ctrl+Alt+F2, but if you have latest Nvidia card like me you might not work for you like me.
hw.vga.textmode=1
Re: How to use single user mode?
Thanks, Hecktor I was not aware of this.