How to Reset My Forgotten Password on Linux Mint?

0
0
Asked By TechWhiz2023 On

I recently set up Linux Mint on an older MacBook Pro but haven't logged in for a while and now I can't remember my password. I attempted to access a tty using fn-control-option-f1, but since I don't remember the password, it hasn't helped. My account might be the root user, and I tried using the recovery mode by holding shift during boot, but it just keeps cycling back to the login screen. I'm looking for advice on how to reset my password. Also, I can't reinstall the OS from the CD since the eject button isn't working. Any help would be greatly appreciated!

3 Answers

Answered By CommandLineNinja On

Here's a quick method: when you're at the GRUB menu, hit escape, then press 'e' to edit the boot entry. Add this at the end of the line that starts with 'linux': init=/bin/bash. After that, type 'passwd -d root' to reset the password, and then reboot your system.

Answered By LinuxLover42 On

You could check out this YouTube video for guidance on resetting your password. Also, if you decide on a fresh install, just plug your installation media in and ensure your BIOS settings are correct to boot from it. That way you can wipe your drive and start fresh!

Answered By GadgetGuru99 On

Instead of dealing with that, why not try a USB install? It might save you some hassle if the CD method is giving you problems.

TechWhiz2023 -

I thought about that, but when I tried to boot from USB, I either did it wrong or the USB ports are acting up. I didn't get any response at all.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.