How to reset lost root password on Ubuntu 18.04 Bionic Beaver Linux -

The first step is to reboot into the GRUB menu. If Ubuntu 18.04 Bionic Beaver is the only operating system installed you need to keep pressing SHIFT for the GRUB menu to show up.
This is a companion discussion topic for the original entry at


Keith McClary

By “keep pressing” SHIFT do you mean “repeatedly press” or “hold down”? (I can’t get into GRUB. The Asus logo only appears for a half second or so. Should I press be during or after this?)



This is scary and IMO should be modified to not be able to accomplish. Anyone can steal a PC with Ubuntu installed, reset the password, and access private information. It’s not right!


Lubos Rendek -> robertzaccour

If this is your worry, you have the option to encrypt the entire HDD.