Page 1 of 1

Cannot log into my CentOS 6 system

Posted: 2020/08/03 11:42:04
by aadeshgandhi
Hello All,
I have a home server on CentOS 6 and the power supply on it died Oct of last year. I could not get around to replacing it till a few weeks back and now when I log in instead of the GUI I see the command line. I had a acquiantance help me put everything in place so I am not adept to resolve this on my own. Can any of you experts help me get into my system and more importantly my media? I am attaching links for photos of what I see on the screen; I do know the root password but that's about it. :oops:
If you need any other information please let me know.

https://ibb.co/n8b3SVD

https://ibb.co/bJ86v0t

Thanks!

Re: Cannot log into my CentOS 6 system

Posted: 2020/08/03 12:02:39
by TrevorH
From your root command prompt there, run mount -o remount,rw / then edit /etc/fstab and comment out the line that refers to /dev/mapper/vgplex-media01 (or /dev/vgplex/media01, they are the same thing). Now you should be able to reboot without entering emergency mode and work out how to fix the rest of the problem.

Re: Cannot log into my CentOS 6 system

Posted: 2020/08/07 21:48:01
by aadeshgandhi
TrevorH wrote:
2020/08/03 12:02:39
From your root command prompt there, run mount -o remount,rw / then edit /etc/fstab and comment out the line that refers to /dev/mapper/vgplex-media01 (or /dev/vgplex/media01, they are the same thing). Now you should be able to reboot without entering emergency mode and work out how to fix the rest of the problem.
Thanks TrevorH and apologize for delay in getting back. I see 'permission denied'; please see image link https://ibb.co/6JVswpv


What can I do next?


Thanks!

Re: Cannot log into my CentOS 6 system

Posted: 2020/08/08 02:59:03
by Whoever
Trevor didn't say that you should try to execute /etc/fstab. He said that you should edit it. It's just a plain text file.

Did you do the remount command that Trevor gave you?

Code: Select all

mount -o remount,rw /