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 05-23-2013, 11:51 AM   #1
Linux Newbee
LQ Newbie
 
Registered: Jul 2008
Posts: 27

Rep: Reputation: 0
Grub/Password Reset


Anyone up for a challenge? I have very little Linux experience and have a backup controller running Linux. I am trying to get to grub menu, just 1 step towards resetting the root password, instructions from other site.

After it runs post the screen ends up at a login which I do not have the account.There is no documentation for this unit and I have tried to use the left shift and or the ESC key to enter grub w/o luck.

I get a “grub loading stage 1.5" message. Then “Grub loading please wait”, but it just goes striaght to the login screen.

I do not know what flavor of Linux this controller is running, hence the challenge.
 
Old 05-23-2013, 12:12 PM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
As soon as you see the Grub Menu appear hit the "c" key. That will give you access to limited bash commands. [Hint]As soon as the Grub Menu appears hit the down arrow key to go to another menu item. This will take away the time pressure[/Hint]
jdk
 
Old 05-23-2013, 12:52 PM   #3
Linux Newbee
LQ Newbie
 
Registered: Jul 2008
Posts: 27

Original Poster
Rep: Reputation: 0
Tried many times, no luck.Chose ESC to bring up the Grub is loading message and kept the C key pressed when I saw the message.
 
Old 05-23-2013, 01:16 PM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by Linux Newbee View Post
Tried many times, no luck.Chose ESC to bring up the Grub is loading message and kept the C key pressed when I saw the message.
I don't understand. Why the ESC key? Doesn't the grub menu appear automatically upon boot up?
jdk
 
Old 05-23-2013, 02:03 PM   #5
Linux Newbee
LQ Newbie
 
Registered: Jul 2008
Posts: 27

Original Poster
Rep: Reputation: 0
Not getting grub menu
 
Old 05-23-2013, 03:12 PM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Whatever os that is installed is set to default with no appearance of grub
http://askubuntu.com/questions/87409...up-during-boot
Try tapping the C key right after boot just keep tapping on it, maybe you can get grub to display on boot.
If not use a live-cd & make the changes necessary in the above link.
 
Old 05-23-2013, 03:28 PM   #7
Linux Newbee
LQ Newbie
 
Registered: Jul 2008
Posts: 27

Original Poster
Rep: Reputation: 0
Must be something in the grub.conf file because unless I hold down the esc key after post detects HD's I won't get anything that says grub. The screen bypasses the constant clicking of the key c and goes straight to a login:

I will use Knoppix tomorrow, can anyone provide a quick and dirty cheat sheet to accomplish changing root password so I can login to the controller and what to delete/add to the grub.conf so that I can see it when booting tp?
 
Old 05-23-2013, 03:28 PM   #8
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
What kind of loony distro doesn't show the Grub menu? How do you choose among different kernels or the repair mode if you don't want to boot directly into your desktop environment?
jdk
 
Old 05-23-2013, 06:36 PM   #9
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Can you boot from a live CD or USB stick? If so, you could boot, say, SysRescue, mount your hard drive, and edit your menu.lst or grub.conf file in the /boot directory. Or just do a chroot to the correct partition on the HD and change the root password, user password, or both.

If you know what distribution is on your HD, and that distro has either a LiveCD or an install disk with a rescue option, using that might be a better option than using a generic "rescue" disk.
 
Old 05-23-2013, 07:40 PM   #10
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
use a live-cd & make the changes necessary in the above link.
 
Old 05-24-2013, 08:03 AM   #11
Linux Newbee
LQ Newbie
 
Registered: Jul 2008
Posts: 27

Original Poster
Rep: Reputation: 0
Downloaded different live cd's, gonna use one this morning and attempt to edit grub and reset root password. Is there anything once inside that will tell me what flavor of linux is running?
 
Old 05-24-2013, 09:10 AM   #12
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by Linux Newbee View Post
Downloaded different live cd's, gonna use one this morning and attempt to edit grub and reset root password. Is there anything once inside that will tell me what flavor of linux is running?
Code:
cat /etc/issue
jdk
 
Old 05-24-2013, 12:43 PM   #13
Linux Newbee
LQ Newbie
 
Registered: Jul 2008
Posts: 27

Original Poster
Rep: Reputation: 0
wow and I mean WOW! Went through 4 live cd's. I could set root password and assign ip/netmask/gw for eth0 but when I reboot everything was not assigned and I cannot use root with new password to login. Some cd's were GUI base, others CLI. I was able to find out the accounts that are present and chose only to change the password for root. I believe it is something called gentoo linux.
 
Old 05-24-2013, 12:47 PM   #14
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Originally Posted by Linux Newbee View Post
wow and I mean WOW! Went through 4 live cd's. I could set root password and assign ip/netmask/gw for eth0 but when I reboot everything was not assigned and I cannot use root with new password to login. Some cd's were GUI base, others CLI. I was able to find out the accounts that are present and chose only to change the password for root. I believe it is something called gentoo linux.
Gui will not have a root login you have to either boot into rescue mode & either change password on 1 of the user accounts or create a new user, to login to gui.
You can also try going to terminal when you get to login windows by using Ctrl+Alt+F1 or Alt+F1

Last edited by EDDY1; 05-24-2013 at 12:50 PM.
 
Old 05-24-2013, 12:52 PM   #15
Linux Newbee
LQ Newbie
 
Registered: Jul 2008
Posts: 27

Original Poster
Rep: Reputation: 0
Yes when using knoppix I chose linux single linux single at the boot prompt. I changed the root password but when rebooting the server I end up at a login prompt and it does not recognize the password. Also, grub does not have any hidden entries or passwords. I set the timeout to 10 seconds and now get a blank screen for 10 seconds.
 
  


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
Freenode webchat invalid password msg - How to reset freenode password? codeslayer2010 General 1 02-01-2013 07:31 PM
Linux 2.6.15.1 The password lost , RESET PASSWORD ANDYCHAN Linux - General 2 08-18-2012 09:05 AM
Reset password bino25 Linux - Newbie 8 07-07-2012 03:36 AM
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 05:11 AM
Password reset hongman Linux - Newbie 2 07-11-2005 06:46 AM


All times are GMT -5. The time now is 04:24 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration