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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-26-2005, 06:14 AM
|
#1
|
Member
Registered: Jul 2005
Posts: 42
Rep:
|
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
|
|
|
07-26-2005, 08:41 AM
|
#2
|
Senior Member
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495
Rep:
|
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?
|
|
|
03-10-2008, 09:34 AM
|
#3
|
LQ Newbie
Registered: Mar 2008
Posts: 1
Rep:
|
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.
|
|
|
03-10-2008, 11:31 AM
|
#4
|
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,797
|
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 
|
|
|
03-10-2008, 12:21 PM
|
#5
|
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908
|
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.
|
|
|
03-10-2008, 12:36 PM
|
#6
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
Moved: This thread is more suitable in Linux - Software and has been moved accordingly to help your thread/question get the exposure it deserves.
|
|
|
03-10-2008, 10:14 PM
|
#7
|
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,797
|
Quote:
Originally Posted by bigrigdriver
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.
|
|
|
All times are GMT -5. The time now is 06:38 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|