I bought an Asus 900HA Eee PC a while ago, and when I went to turn it on I discovered it had Ubuntus GRUB version 2.02 installed and password locked (I do not know the actual software version). There was nothing indicating what the password was, and I have no idea how any of Ubuntu works. Am I able to bypass or reset the password? Do I have to swap drives and RAM? What can I do?
2 Answers
I'm gonna assume you have some Ubuntu version between 18.04 and 22.04 (see my comment why).
While booting, you can force shutdown (using the laptop's power button) and reboot. You should enter the GRUB now, and you select Advanced Options for Ubuntu. Select the second option (counted from top) and then select the root prompt. Then press enter to enter the command line.
I should give you a warning here, with this command line, you can do everything with your computer, including bricking Ubuntu fully (I did that once just to try it out, my VM that ran Ubuntu was bugging afterwards and would not shutdown because the shutdown command was also deleted)
After that, you can use the command passwd <yourUserName> and it should be able to reset your password. After that, use the command reboot now to reboot and try to login again. If the GRUB comes up again, just press enter
- 611
The version exists sorry to disappoint you Am using Garuda linux and it has the 2:2-2.12 or smthng i don't wanna return to the grub menu anymore
The solution is to hover on the first line, whatever linux version you're using. So type 'e' or on the first option regular boot not recovery
Then type rw init=/bin/bash
Then type on 'ctl+x' or 'F10'
Once you're on the terminal you're Root AKA the boss
Type 'passwd' change root passwd then type 'passwd [your regular user] if you want to change the other user's password
If you forgot the other user's name, like me
Use cat /etc/passwd | grep '1000'
You're user is in the beginning of the line