#
Rescue CentOS 7 System
- I was busy working on my server in VS Code-Sever when a new SSH connection just would not work, then system after system started failing. At first I thought I was hacked, but when I checked the logs there were no sign of any attempts or any other logins.
- I come from a windows background so I thought restarting would probably fix the problem, but it did not. When I restarted I never got to make a new SSH connection. So I logged into my management console and opened the KVM Console.
- I can't speak for all hosting companies but I'm quite sure that most of them will have a place where you'll be able to access your virtual server without having to use SSH.
- At when I restarted my server I saw it was still booting up but it stopped at this point:
- After spending some time on Google I figured out that booting from the CentOS DVD will put me in the position to access my file system
- I'm not adding all the commands and screenshots here but I'm rather giving a broad view of what I did, there could be thousands of reasons why your OS stopped working so going into the specifics would be pointless.
- In my case the /bin and /sbin directories got deleted which I could simply copy from the dvd.
- I needed to add the DVD to my server's virtual DVD drive to be able to boot from it.
- This might not have been the most helpful but I hope this will at least put you in the right direction.