
In this tutorial we will show you How to reset Ubuntu Root Password. Some times you forget your root password and you are unable to login to your Ubuntu linux system. To fix such a problem, follow the instructions below.
How to reset Ubuntu Root Password
Step 1 - Reboot to GRUB2 boot menu
First you must reboot your system to GRUB2 boot loader menu. To do so, restart your computer and press ESC key ; this will let you to boot into Ubuntu boot menu.Note: ٌWe assume that you are running Ubuntu on VMware, If you run Ubuntu on your PC, you have to hit right Shift button instead.
Navigate to the menu item you normally boot you Ubuntu system from and press "e" for edit.
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:init=/bin/bash

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 -fYou 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.
shell shockers
2018 Sep 19, 07:09:39
Thank you for sharing this useful information, I will regularly follow your blog
the impossible quiz
2018 Sep 19, 07:09:16
Thank you for sharing this useful information, I will regularly follow your blog
Easy.gr
2019 Sep 24, 09:09:58
Very Nice Blog..!! Thank you for sharing this information with us. It is very useful and important information for those who are doing this work at the first time.