There was a problem loading the comments.

How to reset Ubuntu root password

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

 

Reboot your Virtual or Dedicated Server, please note that this method will require you to have IPMI/BMC or noVNC console access to your VM or Server.

Press ESC during first boot until you have the following screen then select "e" to edit.

3c2871135a91bb54b5cd650be76dc37225b39cc3888bcc4b0d7152de20aaa017693eb00d52d52df5?t=3673a13ffb9e29052b78227cc101c384

 

Locate the following line that starts with "linux" it will often end with consol=ttyS0

15a71217c97c4fb6da36ca7a651fdafd6a6b28fbc64a92e44df845ebf8bfb334f0dfc11bfae9ce85?t=6c6b666d7c14eb58ee0137242af07724

 

edit this line to remove "ro console=tty1 console-ttyS0" and replace with "rw /init=/bin/bash" and F10 to commit and boot

0015dd1ff567d25f98eb4fdcc017e25b15b6d2efe23359378a321792dc449601d967edf1e8629772?t=6bccc82de92571ca9b94de2be2d72ea5

You will now have root access to use "passwd" to reset you password

eed6bb4d346b1f93799cb64e2e6c9f3a405a32ec808156cb13d7e31efcb00bc3d63f85ec23dac50e?t=eb3b997f291871eae4667b703962c7e2


Share via
Did you find this article useful?  

Related Articles

© Rackzar