I updated grub to known working settings but I guess I removed or commented the console line(s) and now my server is not booting (no ssh anyway) and I have no local console to fix it. What do I do?

  • What type of server? Some virtual consoles (LOMs, iDRACs) allow for web interface console that does not rely upon the GRUB settings. – Terrance Jan 30 '17 at 22:44
  • HP Microserver, it uses iLo – Eric Wolf Jan 31 '17 at 1:53
  • The virtual console shows a blank screen – Eric Wolf Jan 31 '17 at 1:54
  • If you can power cycle the server from the web interface, you can press ESC during startup to get to the Ubuntu boot screen, and edit the line that starts Kernel by pressing the e key, then add on init=/bin/bash and you can also add on the console=ttyS0 or ttyS1 depending on what COM port you set it to. Then when you are completed with that, press Ctrl+x to boot that. It should bring to you a prompt to allow you to make all your changes as root. You need to remount the drive as rw before you can make any changes, mount -o remount,rw /. Reboot when completed – Terrance Jan 31 '17 at 3:42
  • This worked! The boot screen had a timeout of 2 or 3 seconds, so I was missing it. Thank you! – Eric Wolf Jan 31 '17 at 4:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.