Linux - lost login

Other discussions not related to the Permanent Portfolio

Moderator: Global Moderator

Post Reply
User avatar
dualstow
Executive Member
Executive Member
Posts: 15768
Joined: Wed Oct 27, 2010 10:18 am
Location: foot of Mt Belzoni
Contact:

Linux - lost login

Post by dualstow »

Hey, what's the simplest solution to this problem?

I have a linux laptop that I almost never use, but I'm finally free enough to play again. I started out with Linux Mint 10 which stopped updating at some point but which kind of worked.

Later, I installed Ubuntu and had it set up to dual boot. In Ubuntu, the things that didn't work in Mint worked, although a few things in Mint no longer worked in Ubuntu.

I failed to run electrons through the battery every month but the old thing still works if plugged into an A/C outlet. However, it boots up in Ubuntu and I can't remember the password for it.

- Perhaps I could review how to force a dual boot, as I know the Mint password. Is there a generic key combo for that?

- If necessary, I could wipe the whole machine clean and start anew, I suppose with a USB drive, but how do I do that w/ out the Ubuntu login password? I guess there's another key combination to boot from USB?

- Or, is there some other way around the login screen?

Thanks in advance for any ideas. This is a 2010 machine, I barely used it, and there is nothing crucial on it. Just feel like trying it again.
.
User avatar
Pointedstick
Executive Member
Executive Member
Posts: 8886
Joined: Tue Apr 17, 2012 9:21 pm
Contact:

Re: Linux - lost login

Post by Pointedstick »

Human behavior is economic behavior. The particulars may vary, but competition for limited resources remains a constant.
- CEO Nwabudike Morgan
User avatar
dualstow
Executive Member
Executive Member
Posts: 15768
Joined: Wed Oct 27, 2010 10:18 am
Location: foot of Mt Belzoni
Contact:

Re: Linux - lost login

Post by dualstow »

Looks scary for a novice like me, but I'll give it a try. Thanks.
.
WiseOne
Executive Member
Executive Member
Posts: 2692
Joined: Wed Feb 16, 2022 11:08 am

Re: Linux - lost login

Post by WiseOne »

Internet advice sometimes works wonderfully, but often not.  If you're stuck:

- Put bootable something (Knoppix, Ubuntu, whatever) on a USB drive and then boot off the USB. 
- Copy the files you want to save to another USB key. 
- Run fsck on the drive, wipe it and reinstall Ubuntu.

Better yet, if it's an old laptop put in a fresh sata drive...maybe things aren't working because there are hard drive errors.  Linux is usually not a problem on older machines, because other people have figured out the bugs by now.
User avatar
dualstow
Executive Member
Executive Member
Posts: 15768
Joined: Wed Oct 27, 2010 10:18 am
Location: foot of Mt Belzoni
Contact:

Re: Linux - lost login

Post by dualstow »

Thanks, WiseOne.

The drive should be ok even though even though the missus sat on the machine once or twice. It's an SSD and still fast-- at least, last time I used it.
.
gizmo_rat
Executive Member
Executive Member
Posts: 303
Joined: Mon Jan 17, 2011 5:25 am

Re: Linux - lost login

Post by gizmo_rat »

dualstow wrote:
- Perhaps I could review how to force a dual boot, as I know the Mint password. Is there a generic key combo for that?

- If necessary, I could wipe the whole machine clean and start anew, I suppose with a USB drive, but how do I do that w/ out the Ubuntu login password? I guess there's another key combination to boot from USB?
Tapping the <shift> key as it boots should get you the GRUB boot options menu (purple screen probably) which should allow you to choose Mint if it's still in there and / or start the lost password procedure.

Tapping the <F12> or <escape> key as it boots gets you the BIOS boot options (normally black screen) allowing you to choose which drive to boot from, including USB if inserted.

There's many potentially fiddly ways to fix it, but personally I'd just copy off any data you want to keep, reformat and reinstall. 

BTW If you're in the mood for fiddling about and wiping the machine in anycase the Windows 10 technical preview is worth a look. 
Last edited by gizmo_rat on Tue Mar 17, 2015 7:26 am, edited 1 time in total.
User avatar
dualstow
Executive Member
Executive Member
Posts: 15768
Joined: Wed Oct 27, 2010 10:18 am
Location: foot of Mt Belzoni
Contact:

Re: Linux - lost login

Post by dualstow »

Thank you! Using just SHIFT sounds familiar. It's only been a year. My memory's not great.
Will try tonight!

That's the plan: copy any notes I typed into some weird stripped down text editor and then format anew.
.
User avatar
MachineGhost
Executive Member
Executive Member
Posts: 10054
Joined: Sat Nov 12, 2011 9:31 am

Re: Linux - lost login

Post by MachineGhost »

dualstow wrote: Thank you! Using just SHIFT sounds familiar. It's only been a year. My memory's not great.
Will try tonight!
[align=center]Image[/align]
"All generous minds have a horror of what are commonly called 'Facts'. They are the brute beasts of the intellectual domain." -- Thomas Hobbes

Disclaimer: I am not a broker, dealer, investment advisor, physician, theologian or prophet.  I should not be considered as legally permitted to render such advice!
User avatar
dualstow
Executive Member
Executive Member
Posts: 15768
Joined: Wed Oct 27, 2010 10:18 am
Location: foot of Mt Belzoni
Contact:

Re: Linux - lost login

Post by dualstow »

Lol. Thanks, MG. I think my memory is quite beyond the reach of supplements. Waiting for some kind of A.I. help, although I won't be half as charming when I'm a cyborg.
.
User avatar
MachineGhost
Executive Member
Executive Member
Posts: 10054
Joined: Sat Nov 12, 2011 9:31 am

Re: Linux - lost login

Post by MachineGhost »

dualstow wrote: Lol. Thanks, MG. I think my memory is quite beyond the reach of supplements. Waiting for some kind of A.I. help, although I won't be half as charming when I'm a cyborg.
Nonsense.  You ought to give it a try!
"All generous minds have a horror of what are commonly called 'Facts'. They are the brute beasts of the intellectual domain." -- Thomas Hobbes

Disclaimer: I am not a broker, dealer, investment advisor, physician, theologian or prophet.  I should not be considered as legally permitted to render such advice!
User avatar
dualstow
Executive Member
Executive Member
Posts: 15768
Joined: Wed Oct 27, 2010 10:18 am
Location: foot of Mt Belzoni
Contact:

Re: Linux - lost login

Post by dualstow »

Inspired by Pug's cheap-device-as-newspaper thread, I fired up the old Zareason laptop. Turns out I just had to press F10 and was able to get to the boot menu where I could choose Mint. I still know the password for Mint.

That Zorin OS that Coffee mentioned looks tempting.
.
User avatar
dualstow
Executive Member
Executive Member
Posts: 15768
Joined: Wed Oct 27, 2010 10:18 am
Location: foot of Mt Belzoni
Contact:

Re: Linux - lost login

Post by dualstow »

...and the laptop won't connect to the Internet anymore while running Mint.  >:(
I think I'll stick with Mac stuff.
.
User avatar
dualstow
Executive Member
Executive Member
Posts: 15768
Joined: Wed Oct 27, 2010 10:18 am
Location: foot of Mt Belzoni
Contact:

Re: Linux - lost login

Post by dualstow »

Yeah, it's definitely designed for Windows users.
.
User avatar
dualstow
Executive Member
Executive Member
Posts: 15768
Joined: Wed Oct 27, 2010 10:18 am
Location: foot of Mt Belzoni
Contact:

Re: Linux - lost login

Post by dualstow »

As long as I'm posting Linuxy stuff today:

Mum tries out Zorin OS

https://youtu.be/IiHe_0_bCO0
.
Post Reply