I forgot the password and my username

Life is complicated, don’t ask me how it happened, what is the best and easiest way to recover my username and reset the password.

I have no recovery menu in grub by default

Do you have different passwords for user and root, or are user and root passwords the same?


Boot to recovery mode (aka single user mode), log in as root, do what you need.


Boot using a live installer environment, chroot into your install, change password, etc. etc.


same pass

Hope your installation is not encrypted…

I am not sure this will work, but you can try @jonathon 's second option. Then
cat /etc/passwd
scroll through until you see a user name you recognize. Maybe that will trigger your memory for the passwd.


is not HDD western digital no UEFI or encryption
really simple 1 partition to / and 1 partition to /home

Then the suggestion by @jonathon should work.

I think i should try the chroot fix, i have no recovery in grub menu, only the fallback. Is any key to show the recovery menu if not set in /etc/default/grub?

It’s not a menu item.

However, if you don’t remember your root password then it won’t help you.

You’ll need to use another running OS to access your disk. This will let you find out the username and either clear or reset the password.

The other option is to try with init=/usr/bin/bash on the end of the GRUB boot line, though I’m not sure how well that works now… (I just tried it on a tablet with external keyboard and didn’t have any keyboard input).

1 Like

I think if you just press e when the grub menu comes up you can add what @jonathon said.

Ok chroot was able to fix my problem

mkdir /mnt/arch
mount /dev/sda1 /mnt/arch


Thank you guys for helping me. :crazy_face:

And so you marked your own post as the solution? :roll_eyes:


Sure, I looked for the specific answer by myself, next time I’ll buy you a candy :candy: :hugs: