Operating Systems > Linux and UNIX
RH 8/Knoppix question
Ice-9:
A friend of mine completely messed up his RH 8 while installing the latest nvidia drivers.
All he gets is a black screen, no login prompt, nothing.
He can type stuff, su root and all, but when he tries to edit his XF86config file he can't save it because it's read-only.
I burned him the latest Knoppix iso to try and use it as a rescue disc, same issue, he can't chmod the file because it's read-only.
(He unticked the "read-only" option on the partition and used the root shell, still nothing)
Would anybody know how to fix this problem, either from within RH or by using Knoppix?
TheQuirk:
Teehee...
In pico: pico -w <file>
In Vim, when you are done: :wq! (yes, include the "!").
Ice-9:
Doesn't work, he can edit the file, but he can't save it.
Even when he su to root, apparently he doesn't own the file and can't save it.
(tried su and su -)
When trying to chmod it, all he gets is "permission denied" - "read-only file"
TheQuirk:
:wq! or :w! always worked from me in Vim. Odd.
Calum:
how is this partition being mounted? did you already say it was being mounted rw? or is it ro?
Navigation
[0] Message Index
[#] Next page
Go to full version