Access Single User Mode in Ubuntu 20.04

Windows Articles

How to check domain controller status in Windows Server 2019/2016.

Hello! The administration of Windows Server is very important. Indeed, the administrator manages many processes and roles that affect the optimal functioning...

How to install Vanilla Forum on Ubuntu 20.04?

Hello, folks. This post is about how to install Vanilla Forum on Ubuntu 20.04. Vanilla is an opensource discussion...

How to backup and restore Group Policy Objects in Windows Server 2016/2019.

Hi! Previously we have mentioned that Windows Server pursues a centralized administration of each role and service. In this way, a fluid...

How to use the ls command?

The ls commands list the content and optional information of the directories and files. When you execute the Ls command without options,...

How to Install APK file on Android

Hello Friends! Today we bring you a simple guide on how to install an APK file in Android. What...
Mel Khamlichi
Mel Khamlichihttp://www.osradar.com
Founder of Osradar, from Amsterdam Netherlands

Maybe sometimes due to some serious problems on your system, you need to access single user mode to fix some issues, but how to access single user mode in Ubuntu 20.04 and how to reset root password in Ubuntu 20.04

First thing to get access to the grub console to make some changes

As soon as the boot process starts, please press ESC to bring up the GRUB boot prompt.


You will see a GRUB boot prompt – press E to edit the first boot option.

Find the kernel line (it starts with linux /boot/) and add init=/bin/bash at the end of the line.

Press CTRL+X or F10 to boot.

The system will boot and you will see the root prompt. Type mount -o remount,rw / and then passwd to change the root password and then reboot again.

root password has been successfully changed.

we have uccessfully set everything that we want and now its time to reboot the system to use it in the normal GUI or CLI mode.

Type this command to start booting

exec /sbin/init

you are done!!. cheers

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

How to check domain controller status in Windows Server 2019/2016.

Hello! The administration of Windows Server is very important. Indeed, the administrator manages many processes and roles that affect the optimal functioning...

How to install Vanilla Forum on Ubuntu 20.04?

Hello, folks. This post is about how to install Vanilla Forum on Ubuntu 20.04. Vanilla is an opensource discussion...

How to backup and restore Group Policy Objects in Windows Server 2016/2019.

Hi! Previously we have mentioned that Windows Server pursues a centralized administration of each role and service. In this way, a fluid...

How to use the ls command?

The ls commands list the content and optional information of the directories and files. When you execute the Ls command without options,...

How to Install APK file on Android

Hello Friends! Today we bring you a simple guide on how to install an APK file in Android. What...
x