LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux Mint 17.2 installed.. System forgot password.. Now can't get boot Menu? (https://www.linuxquestions.org/questions/linux-newbie-8/linux-mint-17-2-installed-system-forgot-password-now-cant-get-boot-menu-4175560092/)

NewUser91 11-28-2015 02:56 PM

Linux Mint 17.2 installed.. System forgot password.. Now can't get boot Menu?
 
So I went from Windows to Linux Mint today. Did everything right, it's definitely the right password. When I googled lots of other people with the same problem. Now I'm stuck as I can't get in and I've chosen the option of Full disc encryption, so can't get in :(
Also from there I now cannot get the boot menu, I tried entering it in commands "boot menu" and it came back saying I need to load the kernel first.

If anyone can help I would be extremely greatful.

ondoho 11-28-2015 05:43 PM

hello newuser91,

i'm sorry to say but you're very unlikely to get a serious response to this: "System forgot password".

i will just assume that you are typing in the right password - maybe you have your caps lock on? maybe you used some special characters which are not present on your current keyboard layout?
also keep in mind that the login window asks for your username first, then your password.

if all that doesn't help, i suggest a reinstall, this time without the encryption, and use a really simple word as user password (just a-z and A-Z and 0-9).

if that works, you can reinstall with encryption again. it really doesn't take that long.

and the password can be changed to something more secure later on, too.

NewUser91 11-29-2015 05:27 PM

Sorry mate I find that a bit patronising to be honest. Yes before I went to the level of posting on Linux forums I did indeed check the password (as I had it written on paper also) numerous times. It was the first time I have set up on Linux, I typed in my password and it doesn't recognise it. It's not that uncommon with Linux in general it seems when you google it.

The problem is now I can't get the boot menu to reinstall.

Smokey_justme 11-29-2015 05:46 PM

@NewUser91: It's actually the first time I've heard about it.... Basically what you are saying doesn't happen... People forget passwords, computers don't... What happens is that the user either doesn't select the appropriate keyboard layout or does silly mistakes... And that happens even when you are experienced with something so don't take it personal...

Btw, are you sure you're not confusing the user password with the encryption passphrase? Are you sure you are not entering your username wrong (with capital letters, for example)?

Soadyheid 11-29-2015 05:46 PM

What media did you install from? USB pen? CD? Can't you boot from whatever it was and just start again?

Quote:

The problem is now I can't get the boot menu to reinstall.
Can you clarify, do you mean you can't re-install the boot menu or you can't get to the boot menu to re-install Mint? :scratch:

Looks like "forgotten Linux password " brings up a screed of stuff like you said, you could try this one, Mint is based on Ubuntu so I'd expect it to be the same once you're down to the cli.

With a split new install it's probably still a lot easier to just re-install. :)

Play Bonny!

:hattip:

NewUser91 11-29-2015 06:17 PM

I'm new to Linux only decided to make the switch as I was sick fed up of windows.
This http://community.linuxmint.com/tutorial/view/1355 appears to be the answer but it won't work on 17.2, there's nothing about kernel already in the commands.

I installed from a USB.

Thanks for the link, I've tried that from similar searched but it won't accept that as a booting command. It says "invalid file name rw"

I can't get to the boot menu as the whole drive is encrypted. I can't back to the bootable USB.

thanks :)

yancek 11-29-2015 08:01 PM

Which password is not working? The one for the encrypted disk or your user password?

Quote:

there's nothing about kernel already in the commands.
When you hit e to edit at the boot menu, you should see a line similar to the one below which begins with the word linux.

Code:

linux        /boot/vmlinuz-3.13.0-24-generic root=UUID=4b657f25-f4ba-43aa-99ac-8d7ba33a89c4 ro  quiet splash $vt_handoff
vmlinuz... is the kernel and if you don't see that you have serious problems, it definitely won't boot without a kernel which is what vmlinuz is. So according to the tutorial at the link above, you would need to change the above to:

Code:

linux /boot/vmlinuz-3.13.0-24-generic root=UUID=4b657f25-f4ba-43aa-99ac-8d7ba33a89c4 rw init=/bin/bash
You would obviously have to a different UUID for your system.

Soadyheid 11-30-2015 06:35 AM

Quote:

I can't get to the boot menu as the whole drive is encrypted. I can't back to the bootable USB.
Do you mean "I can't get back to the bootable USB"? That would be nothing to do with Linux, you have to set your boot options up in your system's BIOS to ensure that a bootable USB device would be used before the hard disk. In the bad old days (Where I come from... :) ) the list would be something like; floppy, CD, USB, Hard disk.

If you've already got your boot list set like this and it always selects the hard drive, it implies that the USB device no longer contains a bootable image.

For a newbie, I still don't see the need to be struggling with the command line to solve a problem a fresh install would cure. My :twocents:

Play Bonny!

:hattip:

NewUser91 11-30-2015 08:33 AM

Yes I missed a word I can't get the bootable USB to run, because as I've already said I can't get to the boot menu.

Quote:

Originally Posted by yancek (Post 5457077)
Which password is not working? The one for the encrypted disk or your user password?



When you hit e to edit at the boot menu, you should see a line similar to the one below which begins with the word linux.

Code:

linux        /boot/vmlinuz-3.13.0-24-generic root=UUID=4b657f25-f4ba-43aa-99ac-8d7ba33a89c4 ro  quiet splash $vt_handoff
vmlinuz... is the kernel and if you don't see that you have serious problems, it definitely won't boot without a kernel which is what vmlinuz is. So according to the tutorial at the link above, you would need to change the above to:

Code:

linux /boot/vmlinuz-3.13.0-24-generic root=UUID=4b657f25-f4ba-43aa-99ac-8d7ba33a89c4 rw init=/bin/bash
You would obviously have to a different UUID for your system.

Yes now we are getting somewhere. 17.2 has vmlinuz, I can see where I should put the commands and everything but when I have done it it hasn't worked. Just keep trying or what? At the moment even though I know I'm a ball hair away I'm thinking I may need to take this to someone who knows more than me. Maybe I'm not running as admin or something?

yancek 11-30-2015 09:17 AM

As to getting the bootablel usb to run, you indicate in an earlier post that you used a usb to install. In order to boot that you have to change the boot priority in the BIOS before you get to the menu. If you installed this yourself, you will just need to repeat the process. Many systems will have tabs in the BIOS and most of the time there will be one labelled Boot. That's where you look. If you get there and don't see your usb drive anywhere that's a different kind of problem.

Accessing your installed system is unrelated to the above problem. If you have your internal drive set to first boot priority and that is the boot menu you are now able to access, explain what "hasn't worked" means. Do you just get a black screen, a blinking cursor or some thing else. Make sure you leave spaces where they are shown at the web site which explained this. I expect it needs to exactly as shown although I've never had to do this myself.

Soadyheid 11-30-2015 08:26 PM

Quote:

Yes I missed a word I can't get the bootable USB to run, because as I've already said I can't get to the boot menu.
OK, sorry to keep on being pedantic... by the "boot menu" do you mean the grub boot loader or that you can't access the BIOS of your system to set up the boot priority list as both Yancek and I have mentioned above.

To boot the USB drive you need to prioritise it in the BIOS boot list then re-boot the system, it won't show up in the grub menu.

Play Bonny!

:hattip:

TxLonghorn 11-30-2015 11:24 PM

Quote:

Originally Posted by NewUser91 (Post 5457312)
I can't get the bootable USB to run, because as I've already said I can't get to the boot menu.

When your computer boots, you can press the PAUSE key so that you can read the output - even on the first screen of text. At the bottom of the screen there is usually instructions on how to access the boot settings, either by accessing the BIOS or activating a boot menu.
Accessing the BIOS is commonly F1 or F2 or DEL or similar.
Accessing the boot menu might be F12 or similar.
Do neither of those work for you?

JeremyBoden 12-01-2015 02:35 PM

Just so you know, the BIOS selection takes place before your system looks at any Linux (or Windows) devices.
When you switch the computer on, it may display the BIOS key to press (delete, F2, F8 etc) for about half a second.

If you miss it, immediately press CTRL+ALT+DELETE to have another go at reading the screen.


All times are GMT -5. The time now is 06:10 PM.