1. On some system, maybe you can’t find “recovery mode” on Grub
Screen menu. So? You need to do a “little hack” to the Grub Loader.
Looks cool right? In fact its very easy.
2. On Grub Screen menu, select default loader (first choice) and press “E” key that means you’ll edit manually that loader. Wow! On the next screen, find row that contains this word:
ro quiet splash
3. Then replace that with this:
rw init=/bin/bash
4. After that, press “CTRL”+”X” (or maybe “B” key on your system, depend to your kernel) to boot the system with “hacked” loader.
5. Done! You’re logged in as root on your system now, and you can do anything you want. Including resetting your password!
6. Use this command to reset your password:
passwd [username]
Note:- Fill username with username that you want to reset its password. You’ll prompt new password twice.
7. In this step, you’re almost done! Now, make sure the change you’ve made will be written to disk by:
Sync
8. Reboot your system:
reboot -f
9. You’re done! Your password has been reset, and you can login to your system now.
2. On Grub Screen menu, select default loader (first choice) and press “E” key that means you’ll edit manually that loader. Wow! On the next screen, find row that contains this word:
ro quiet splash
3. Then replace that with this:
rw init=/bin/bash
4. After that, press “CTRL”+”X” (or maybe “B” key on your system, depend to your kernel) to boot the system with “hacked” loader.
5. Done! You’re logged in as root on your system now, and you can do anything you want. Including resetting your password!
6. Use this command to reset your password:
passwd [username]
Note:- Fill username with username that you want to reset its password. You’ll prompt new password twice.
7. In this step, you’re almost done! Now, make sure the change you’ve made will be written to disk by:
Sync
8. Reboot your system:
reboot -f
9. You’re done! Your password has been reset, and you can login to your system now.


