Line 510: |
Line 510: |
| | | |
| 1. Boot in a '''recover mode'''.<br> | | 1. Boot in a '''recover mode'''.<br> |
− | [[file:Grub.png | 400px]] | + | [[file:Grub.png | 400px]] <br> |
− | 2. Now select "'''root - Drop to root shell prompt'''" and it will ask you root password (if you configured root password) then press '''Enter'''. | + | 2. Now select "'''root - Drop to root shell prompt'''" and it will ask you root password (if you configured root password) then press '''Enter'''. <br> |
− | [[file:Recovery_mode.png | 400px]] | + | [[file:Recovery_mode.png | 400px]] <br> |
− | 3. Now in front of # symbol type '''ls /home''' | + | 3. Now in front of # symbol type '''ls /home''' <br> |
− | 4. Type following command :'''mount -rw -o remount /''' | + | 4. Type following command :'''mount -rw -o remount /''' <br> |
− | 5. Then, enter the following command to reset your password:'''passwd <username>''' | + | 5. Then, enter the following command to reset your password:'''passwd <username>''' <br> |
− | 6. It will ask for new password (2 times) type and press Enter key. | + | 6. It will ask for new password (2 times) type and press Enter key. <br> |
− | 7. reboot the machine using below command : '''sudo reboot''' | + | 7. reboot the machine using below command : '''sudo reboot''' <br> |
| 8. Now, try to login with using a new password.<br/> | | 8. Now, try to login with using a new password.<br/> |
| | | |