How To Reset Ubuntu Root Password
If you lose your root password then you will also lose access to your server. To get access back you will need to reset the root password on your Ubuntu instance. Resetting the root password is straightforward and is achieved by using the NoVNC console from the Discovery control panel. Ensure you are logged in and at the Discovery control panel for your Ubuntu server.
NoVNC Console
Click the NoVNC icon then reboot your instance by using the gear icon to the left. Once your server reboots and you see the page where you select an OS press the down arrow key. This will stop automatic boot. Next press the up arrow key to select “Ubuntu”. Hit the “e” key to edit the boot options.

On the next page located the line linux /boot/vmlinuz and then the section ro quiet splash $vt_handoff. Its usually right after your hard drive location and always starts “ro” Replace the section with the following code;
rw init=/bin/bash
Hit CNTL + x to boot the server with the modifications.
Reset Ubuntu Root Password
You are now at the console. Let’s reset the root password for your NVMe VPS. So, issue the passwd command and create a new password
passwd
Once a new root password has been set you can reboot your instance by selecting the gear icon in the console then reset. On boot use the new root password you set in the steps above. Should you continue to have problems please contact the support team from your client area.
How was this article? – How To Update Ubuntu Root Password – Discovery Instance
You might also like
More from Instance Management
How To Enable IPv6 Netplan Ubuntu Instances
On the Discovery network, we automatically configure IPv4 but sometimes to enable IPv6, Netplan needs some tweaks. In Ubuntu NVMe …
How To Configure An Internal MySQL Database Server
How To Configure An Internal MySQL Database Server High-value assets like database servers are always a target for hackers. Typically, these …
2 Comments
[…] Reset Ubuntu Root Password […]
[…] Reset Ubuntu Root Password […]