LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-04-2017, 06:23 PM   #16
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363

One concept here is to 'catch' "grub" *before* the Linux kernel starts running at all.

This ('magic keywords')web-search returns various explanations: interrupt grub

If/when you you get to the point where the grub screen displays the option to enter 'e' (edit linux parameters),
then you add like 'single' or init=/bin/sh, and Mint come up in a mode where you can change user/root passwords.

This is like catching Windows boot to recovery mode. Finding the right interrupt key is a bit like 'entering BIOS' but we're not talking bios here.
grub is often configured to pause 5 seconds (allowing this 'e' option) before loading linux,
so the shift/esc/F? 'magic key' interrupt may not even be needed.

So, let's first 'catch grub'. Let us know.
 
Old 01-04-2017, 06:25 PM   #17
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
ooops, 'ninja'ed

>Sorry, I meant I can navigate and enter the options but I cant type anything.

Try an: e

p.s. describe a bit more about where/what you're 'navigating'.... what 'recovery menu'?

Last edited by Jjanel; 01-04-2017 at 06:26 PM.
 
Old 01-04-2017, 06:27 PM   #18
roadgeek01
Member
 
Registered: Jan 2017
Location: Among the corn and the cow poop
Distribution: Linux Mint
Posts: 38

Original Poster
Rep: Reputation: Disabled
Okay, I caught the grub.

Last edited by roadgeek01; 01-04-2017 at 06:28 PM.
 
Old 01-04-2017, 06:29 PM   #19
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
Where's "there"?
 
Old 01-04-2017, 06:31 PM   #20
roadgeek01
Member
 
Registered: Jan 2017
Location: Among the corn and the cow poop
Distribution: Linux Mint
Posts: 38

Original Poster
Rep: Reputation: Disabled
I am on the screen that showed up after I pressed E on the grub screen.
 
Old 01-04-2017, 06:31 PM   #21
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
oh ok! scroll to linux line (see stuff from my web-search); insert single
 
Old 01-04-2017, 06:34 PM   #22
roadgeek01
Member
 
Registered: Jan 2017
Location: Among the corn and the cow poop
Distribution: Linux Mint
Posts: 38

Original Poster
Rep: Reputation: Disabled
I am confused. I am at the line where it says linux. Do I type insert single there?
 
Old 01-04-2017, 06:35 PM   #23
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,887

Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
Add single to the end of the boot line.

This doesn't permanently change GRUB - so you have to edit every time you wish to boot with an altered boot line.

Last edited by JeremyBoden; 01-04-2017 at 06:36 PM.
 
Old 01-04-2017, 06:35 PM   #24
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,237

Rep: Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656
you will type

single

at the end of the Linux line. Here is an example: http://www.itzgeek.com/wp-content/up...-Mode-Edit.png
 
Old 01-04-2017, 06:37 PM   #25
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
http://aplawrence.com/Linux/lostlinuxpassword.html
look for: Try single user mode
use arrow keys... in case single doesn't get you to a shell prompt, try: init=/bin/bash

'ninja' heaven here https://mintguide.org/uploads/posts/...59772__009.jpg
https://mintguide.org/system/248-res...inux-mint.html

Last edited by Jjanel; 01-04-2017 at 06:53 PM.
 
Old 01-04-2017, 06:48 PM   #26
roadgeek01
Member
 
Registered: Jan 2017
Location: Among the corn and the cow poop
Distribution: Linux Mint
Posts: 38

Original Poster
Rep: Reputation: Disabled
Unhappy

I know this sounds like a stupid question, but where is the end of the line?
 
Old 01-04-2017, 06:57 PM   #27
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
arrow keys... I've had to 'fight' the cursor here! you'll get it... keep poking&reading the web...
we've all (well, most/some/me anyway) 'been there at first' ... don't feel bad

p.s. this "EndOfLine?" *did* actually happen to me at first! But: philo:
'belief=thot' kept me going: if I believe I'll 'get there', I will; if I believe I'm stuck, I will be!

Last edited by Jjanel; 01-04-2017 at 07:07 PM.
 
Old 01-04-2017, 07:06 PM   #28
roadgeek01
Member
 
Registered: Jan 2017
Location: Among the corn and the cow poop
Distribution: Linux Mint
Posts: 38

Original Poster
Rep: Reputation: Disabled
Question

Okay, at the linux line, there is a text as follows:

linux /boot/vmlinuz-3.11.0-12-generic root=UUID=6b809d87-6b09-4bbb-9405-9167ba9eb8ad ro quiet splas\

There is then a text on the line directly under the linux line that is as follows:

h $vt_handoff

I typed single at the end of handoff. Did I do it right?
 
Old 01-04-2017, 07:10 PM   #29
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
Maybe/probably!... oh, see \ in jpg picture I edited-into my earlier post
Worst-case: it won't boot & you can try again.
p.s. ooops, even I couldn't "find the end of that line" here! Wow...
( \ is Unix-speak for line-continuation)

Last edited by Jjanel; 01-04-2017 at 07:24 PM.
 
Old 01-04-2017, 07:14 PM   #30
roadgeek01
Member
 
Registered: Jan 2017
Location: Among the corn and the cow poop
Distribution: Linux Mint
Posts: 38

Original Poster
Rep: Reputation: Disabled
Yes. The word single is in the same general place as the one in the picture. The text under the linux line on my computer currently is as follows:

h $vt_handoff single
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
finding username/password for wireless printing newbiesforever General 22 06-13-2016 10:50 PM
finding the root password mark.barc Linux - Newbie 2 11-09-2015 05:53 PM
Finding a lost password elgerd Linux - Kernel 3 02-20-2014 03:56 PM
finding password mehrd@d Linux - General 2 07-28-2013 08:17 AM
simpler GUI password for Administrative tasks while retaining complex user password? workforfood Ubuntu 1 08-29-2009 06:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration