Nov 29

If you’ve ever forgotten your password, you aren’t alone; it’s probably one of the most common tech support problems. I’ve encountered over the years. Luckily if you are using Ubuntu they made it incredibly easy to reset your password.

Alomohora - Linux - How to Reset Ubuntu Password in GRUB1

Reboot your computer, and then as soon as you see the GRUB loading screen, make sure to hit the ESC key so that you can get to the menu.

Alomohora - Linux - How to Reset Ubuntu Password in GRUB2

If you have the option, you can choose the recovery mode item on the menu, usually found right below your default kernel option.

Alomohora - Linux - How to Reset Ubuntu Password in GRUB3

Then choose Drop to root shell prompt from this menu.

Alomohora - Linux - How to Reset Ubuntu Password in GRUB4

This should give you a root shell prompt.

Alomohora - Linux - How to Reset Ubuntu Password in GRUB5

You can use the following command to reset your password:

passwd

After changing your password, use the following commands to reboot your system. (The sync command makes sure to write out data to the disk before rebooting)

sync

reboot –f

Alomohora - Linux - How to Reset Ubuntu Password in GRUB6

I found that the -f parameter was necessary to get the reboot command to work for some reason. You could always hardware reset instead, but make sure to use the sync command first.

And now you should be able to login without any issues.

Incoming search terms for the article:

contraseña grub ubuntu, reset ubuntu password, reset ubuntu, password on grub ubuntu, how to reset ubuntu password, grub ubuntu, how to reset password in ubuntu with grub, how to reset grub password in ubuntu, how to reset ubuntu password from grub, grub4 reset password, reset ubunto password from grub, grub password picture, reset unbuntu passwaord with grub

Leave a Reply

Features Stats Integration Plugin developed by YD