1. Start your computer
2. At the GRUB prompt, choose the line on your linux and press e
3. Select the second line (the one that starts with kernel ...) with the cursor and press e again to edit it also.
4. Go to the end of the line and add the word single (this also works with the letter s or the number 1 on most distributions, the choice is yours)
5. Press b to boot with these new parameters
The system will boot into single user mode and offer you a command prompt as root without asking any password.
You can then choose a new password and reboot the computer.
2. At the GRUB prompt, choose the line on your linux and press e
3. Select the second line (the one that starts with kernel ...) with the cursor and press e again to edit it also.
4. Go to the end of the line and add the word single (this also works with the letter s or the number 1 on most distributions, the choice is yours)
5. Press b to boot with these new parameters
The system will boot into single user mode and offer you a command prompt as root without asking any password.
You can then choose a new password and reboot the computer.
No comments:
Post a Comment