0

I cant login to the Ubuntu 14.04 but I can access the guest user.

If I enter the correct password, it flashes and comes back to the same login screen and if I enter wrong password it mentions invalid password (so I'm not entering the wrong password)

I used disks to auto mount one ntfs partition using this guide before the issue started and I used mount point as /home. So I wonder if thats the issue.

Can boot in to the recovery but login using ctrl+alt+F1 didn't work , it says incorrect login. I am dual booting Windows 7 and Ubuntu 14.04 and can access windows.

(I did go through other threads with same issues but none of them worked)

balus
  • 11

2 Answers2

1

Selected recovery from grub menu. Selected root shell.

Remounted it in write mode

mount -w -o remount /

Edited fstab

nano /etc/fstab

Saved it and restated and it is working fine now.

balus
  • 11
0

Login as a guest user. Then look at the contents of /etc/fstab and delete the line with the mountpoint '/home' in it. You can do this by opening a terminal enter the command:

sudo nano /etc/fstab

Save the file. Then reboot and see if you can login. I don't know what you already tried to fix it but this could work. At the moment I can't test if you can edit fstab as a guest user so I'm not sure if it works.

You could also try the solutions in this post: Ubuntu gets stuck in a login loop The following command fixed it for me when my machine got stuck in a login loop.

dpkg-reconfigure lightdm