Cannot log into my CentOS 6 system

Issues related to configuring your network
Post Reply
aadeshgandhi
Posts: 3
Joined: 2013/06/04 01:12:28

Cannot log into my CentOS 6 system

Post by aadeshgandhi » 2020/08/03 11:42:04

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!

User avatar
TrevorH
Forum Moderator
Posts: 29493
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Cannot log into my CentOS 6 system

Post by TrevorH » 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.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

aadeshgandhi
Posts: 3
Joined: 2013/06/04 01:12:28

Re: Cannot log into my CentOS 6 system

Post by aadeshgandhi » 2020/08/07 21:48:01

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!

Whoever
Posts: 1131
Joined: 2013/09/06 03:12:10

Re: Cannot log into my CentOS 6 system

Post by Whoever » 2020/08/08 02:59:03

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 /

Post Reply

Return to “CentOS 6 - Networking Support”