LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-26-2005, 06:14 AM   #1
reply2vinay
Member
 
Registered: Jul 2005
Posts: 42

Rep: Reputation: 15
How to recover the password of bootloader


Hai all,
Few Months Before In Linux i installed grub bootloader.I am given the password for grub boot loader.Now I want to change the bootloader grub to lilo but i forgot the password of grub Boot loader.How can i Break the password and how can i change the bootloader.......


Pls tell me ..



Thanks&Regards,
Vinay Kumar.G
 
Old 07-26-2005, 08:41 AM   #2
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Not being a grub user I don't really understand the problem.

Can't you just boot from a rescue CD and reinstall grub, or another boot loader?
 
Old 03-10-2008, 09:34 AM   #3
b.online
LQ Newbie
 
Registered: Mar 2008
Posts: 1

Rep: Reputation: 0
Try it................

Boot your computer using linux rescue mode
When you reach to chroot /mnt/sysimage prompt
Select ok.
After that type
chroot /mnt/sysimage
ls -l
You can see list of file that are in you current directory ok.
To modify grub.conf file type this
vi /etc/grub.conf or vi /boot/grub/grub.conf
Press I for insert
There is one sentece below hidden menu sentence
password --md5 $1$140UjOaG$Vl8rlyjkKOJpwzcafrl9q .....like this remove it by using backspace key.
save it.
then type exit
exit
The system will restart
Then you can easily edit or use single user mode for troubleshooting.......



THIS IS ONLY FOR HOW RECOVER GRUB PASSWORD?

Last edited by b.online; 03-11-2008 at 07:28 AM.
 
Old 03-10-2008, 11:31 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
I probably don't understand the question correctly, but after a normal boot and login, you can configure Lilo, run the lilo command and you should have lilo as the bootlodader.
I don't see where the grub password comes in
 
Old 03-10-2008, 12:21 PM   #5
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Grub has an option to password protect the login. The password has to be entered before you see the menu of OSs to boot. No password; no boot.

But, as the saying goes, physical access to the computer means access to the computer, period. As b.online points out.
 
Old 03-10-2008, 12:36 PM   #6
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Moved: This thread is more suitable in Linux - Software and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 03-10-2008, 10:14 PM   #7
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by bigrigdriver View Post
Grub has an option to password protect the login. The password has to be entered before you see the menu of OSs to boot. No password; no boot.

But, as the saying goes, physical access to the computer means access to the computer, period. As b.online points out.
As I read the opening post, TS can still login into his system; this might have been an incorrect assumption.

I know that Grub can have a password but I've never seen it like you describe it; only way I've seen it is when one wants to edit the boot options.

Learned something again, thanks.
 
  


Reply



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
Recover grub bootloader after win install! teronslair Linux - Newbie 15 03-07-2010 12:25 AM
Recover Redhat BootLoader saeed144 Linux - General 7 11-02-2005 03:54 PM
Linux Redhat recover Bootloader saeed144 Linux - Newbie 1 10-12-2005 12:48 PM
how to recover password enigmatech Linux - Newbie 13 09-04-2005 04:22 PM
Recover of /etc/inittab from GRUB Bootloader in RED HAT OS 8 sujith_marar Red Hat 1 06-23-2004 01:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:48 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