My CentOS 7 VPS is not booting up, how do I fix this?

  Print

My CentOS 7 VPS is not booting up, how do I fix this?


We have become aware of an issue with booting up a Barebones VPS running CentOS 7. There is a high chance of this occurring if updates have been run recently. Below are the steps to resolve this.


  1. Login to the Advanced Control Panel (login details are the same as the Control Panel / My Account area)
  2. Click on 'Virtual Servers' and then click on the name of the server having issues

    b4e6f9aed551b7d7582e7e82f4001c2b6aab7ec7?t=a739bef5365ac34008286ba937a8aeb7

  3. You will likely see a failed reboot or startup log

    89ed23029048f01464cedaa0842b16d8c1b2975c?t=bbf5203cd2db466c8292c2851abe03c1
  4. Click onto 'Tools' and then 'Startup on Recovery'

    5e5985dfb5373bf3039166239277226c49ceebe6?t=9f17aea8dd67bb4ec933f1da56d110a0
  5. Click 'Ok' in the pop up that appears
  6. Once the server has been rebooted, click on 'Console' at the top of the screen

    8038e24c56881cb21dd0ed9be6c06a5613e5e4d5?t=f72a37fca03bb2c654f08ab4ed9de875
  7. When the console screen appears, log into the VPS using 'root' as the username, and the current root password
  8. Type 'fdisk -l'

    d1e668a016b54cdbc18ff449f27d7a30fef096d9?t=6a06331ab7707d9064399c073984f7e1
  9. You should see an entry similar to the below picture, which will display a size that is slightly larger then the disk of your VPS (26.8GB in the picture).

    Take note of the disk name (/dev/xvdb1 in the picture)

    bd0e99d91b41af56fed4b453eeb418be07a6a303?t=2abe10b3005fa29ef0c7108e3e450991
  10. Type in 'mount [disk name] /mnt' (In the above screenshot this would be 'mount /dev/xvdb1 /mnt')

    e46a4507542a6a4cd6196662fcbf570b1834d1b1?t=9788ddb4eb32859298dc7378244080b2

  11. You can verify that the disk is mounted by typing 'ls /mnt'
  12. Type 'vi /mnt/boot/grub/grub.conf'
  13. Using the arrow keys on your keyboard navigate to the setting for 'default'

    749c2e1a0cb33afc17f11d25cc43ccb9c65dbf22?t=e63e8c2d5a3dba6a2db46c1a1a57955b
  14. Press 'R' and then '2', this should change the number to '2'

    500f5d0bf2df516122e46062b4640864ee174fca?t=d8ee15445cdfb76a811c6e85e90c4b4c
  15. Save this by pressing ':wq' and pressing enter
  16. Close the console window and reboot the server normally


    d49c7f1871a5b20cb370d06f25047f421f41c288?t=94745e40c8ffa83e23892b99cd48f859

  17. The server should now boot up normally
If your server is still not booting up normally, there could be another problem causing this, and you are recommended to contact Support to resolve this.




Related Articles