LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Lost password please help (https://www.linuxquestions.org/questions/linux-newbie-8/lost-password-please-help-4175665485/)

ozstar 12-05-2019 08:56 PM

Lost password please help
 
Hi,

I have found and old Linux Mint box I was trying to learn Linux on a couple of years ago and now want to update it from 18 to 19.2

I can get into the Desktop but when I want to Update or do anything it asks for an Authentication pwd and I have tried every password I thought I would have used but none work.

I rebooted with shift to get to Grub then Esc then e but couldn't see where and what to change.

Any help please. I have a DVD of 19.2 which I guess I could just boot to and go over the previous but it seems a little unsophisticated way to do it.

Any help appreciated.

berndbausch 12-05-2019 09:07 PM

I would google "Linux Mint restore password".

In fact, I did that, and found this:
Quote:

You can reset your password following the next steps:

Reboot your computer / Turn your computer on.
Hold down the Shift key at the start of the boot process to enable the GNU GRUB boot menu (if it does not show)
Press ESC at the GNU GRUB prompt.
Press e for edit.
Use the Arrow keys to highlight the line that begins with kernel and press the e key.
Go to the very end of the line and add rw init=/bin/bash
Press Enter and then press b to boot your system.
Your system will boot up to a passwordless root shell.
Type in passwd yourusername
Set your new password.
Restart your system.

fatmac 12-06-2019 04:13 AM

You're probably better off doing a fresh install, lots of changes in Buster, some Debian based distros didn't update cleanly, if I remember correctly.

beachboy2 12-06-2019 06:24 AM

ozstar,

Do as berndbausch suggests and then, if you have a separate home partition, you can preserve it when doing a fresh installation of Linux Mint 19.2:
https://www.linuxquestions.org/quest...-distro-37074/

Otherwise, backup any personal data from the LM 18 installation to an external drive before doing the new one.

ozstar 12-07-2019 03:44 AM

Thank you


All times are GMT -5. The time now is 12:35 AM.