i tried my password you use for sudo “sudo” root and even blank and i cant view the log to see whats wrong
There won’t be a password for system emergency mode unless you create one. You can create the password by this command
sudo passwd root
Note: when entering the password, nothing will be echoed, not even *.
The root password is not set initially and root cannot login. The first created user can use sudo for administration tasks (or any other user that is added to the ‘wheel’ group).
As you have discovered, sudo doesn’t help when your system boots in emergency mode for some reason. You either have to set a password for root before an emergency, while the system still works, or you can follow this documentation to set one from a live system or by booting straight to a shell.
thanks this fixed now i get stuck at [ok] started gdm.servic - gnome display manager. i dont even use gnome so ima unintall it in bash