I have an installation of Ubuntu 16.04 on a dual boot machine.
Today I went to log in and it wont accept my password.
I tried following this guide: http://www.psychocats.net/ubuntu/resetpassword
I ran:
Press Enter for maintenance
(or press Control-D to continue):
root@mikes-ubuntu:`# mount -o rw,remount /
root@mikes-ubuntu:`# ls /home
root@mikes-ubuntu:`#
then
root@mikes-ubuntu:`# ls /home
root@mikes-ubuntu:`#
According to the tutorial the users should be listed and from there you can reset the password. However, no user is listed at all....
Then I added a new user. However I cant log into that user either...
Press Enter for maintenance
(or press Control-D to continue):
root@mikes-ubuntu:`# mount -o rw,remount /
root@mikes-ubuntu:`# ls /home
root@mikes-ubuntu:`#
root@mikes-ubuntu:`# ls /home
root@mikes-ubuntu:`# ls
snap
root@mikes-ubuntu:`# adduser mike2
Adding new user 'mike2' ...
Does anyone have any tips on how to salvage this machine?