VMware on Mac - Ubuntu 64 bit recover root password
- Launch VMware and select ubuntu and launch it. If it resumes to a session then on the top file bar of VMware select virtual machine then select reboot.
- Press and Hold the "Shift” button to access the GRUB
- From the GRUB select option "Advanced option for ubuntu" and hit enter and next screen select "Recover Mode"
- You will see bunch of letters and numbers(don't worry) now you should see recovery menu window with options
- select "root Drop to root shell prompt", it will drop you into the root command prompt
- The file system during recovery mode will typically be mounted as read-only – so you cannot modify anything here so you need to execute #mount -rw -o remount /
- the above command is to mount the file system read write.
- Now you are root. To reset the password #passwd root
- It will prompt you to type new password and retype new password again.
- Exit-Reboot and you are fine !!
Rate this post