Find the answer to your Linux question:
Results 1 to 2 of 2
Hi I forget my grub password. so that when i want to go into single user mode from the grub stage. but i can't so that i want to brak ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    7

    Unhappy how to break grub password


    Hi

    I forget my grub password. so that when i want to go into single user mode from the grub stage. but i can't so that i want to brak that password like root password. So that help to break that password, Please.


    Thank you.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Boot up from any LiveCD and mount / ( /boot, if you have one ). Open boot/grub/menu.lst ( or grub.conf ) file and put # sign before 'password --md5 <password-hash>' line.
    Code:
    
    #password --md5 <password-hash>
    Save file and reboot machine. GRUB wont prompt for password.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •