Phone :  +370 (5) 204-1903
Email: sales@1gbits.com
  1. Dedicated server
  2. Blog
  3. How to reset Ubuntu Root Password

Step 2 - Modify boot options

Now in order to modify Ubuntu boot options, you must find the line starting with "linux". Navigate to the end of the line and add the following content as you see on the below image:

Step 3 - Boot your system

After changing boot options in the previous step, press F10 to force your Ubuntu system to boot. Your system will boot and you will be provided with root command line prompt.

Step 4 - Reset your Lost Password

Now enter the following commands in the command line prompt:
# mount -o remount,rw /
# passwd
The second command will change your password.
# reboot -f
You have completed Lost Password Recovery process.

Step 5 - Login with your new password

After rebooting, login as root user with your new password.

Congratulations! You have learned How to reset Ubuntu Root Password.

If you are facing any problem with the steps, feel free to comment here. We will help you to solve the issue.

author img


Leave A Comment