1

Is there any way I can reset my password without having that live installation thing? Its stuck on loading initial ramdisk...

1

Yes.

1) Boot (or reboot) and hold down the Shift key. You should get a screen like the one below.

enter image description here

2) Select *Advanced options for elementary. Now you should get a screen like this:

enter image description here

3) Select recovery mode. Now you should see this screen:

enter image description here

4) Select root. Now you will see Press Enter for maintenance (or press Control-D to continue). Press Enter

5) The system will be read-only so you need to make it read-write.

mount -o remount rw /

6) Now reset your password:

root@elementaryOS:~# passwd <username>
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
root@elementaryOS:~#

7) Reboot: shutdown -r now

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.