LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to recover the password of bootloader (https://www.linuxquestions.org/questions/linux-software-2/how-to-recover-the-password-of-bootloader-346871/)

reply2vinay 07-26-2005 06:14 AM

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

maroonbaboon 07-26-2005 08:41 AM

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?

b.online 03-10-2008 09:34 AM

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?

Wim Sturkenboom 03-10-2008 11:31 AM

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 :confused:

bigrigdriver 03-10-2008 12:21 PM

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.

jtshaw 03-10-2008 12:36 PM

Moved: This thread is more suitable in Linux - Software and has been moved accordingly to help your thread/question get the exposure it deserves.

Wim Sturkenboom 03-10-2008 10:14 PM

Quote:

Originally Posted by bigrigdriver (Post 3084087)
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 07:21 AM.