Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello. I'm using Linux Mint 9 on a Eepc 701. THe system has a single user account, and /home is moved to an SDHC card. Setup works well.
Occasionally I'll run out of battery and so system force shuts down. When this happened today I plugged in and restarted. When logging in to my user account the system returns me to the login screen - no indication that the account has failed authentication, but the login is refused.
I can log in as root no problem. Tried changing the password in a terminal, didn't work. Have rebooted and shut down - nothing.
Can anyone suggest any further steps to get this working please. I really don't want to reinstall if a I can help it.
Yes, there should be no space between the options. Just to make that clear:
You usually used a 4GB card and replaced it with a 16GB card. This shouldn't matter, the 701 can read 16GB cards, I used one myself with a 16GB card. Have you adapted the UUID in fstab after the change?
What is the output of
Extra spaces in fstab don't mean anything, options can be separted by a space or comma. I suspect the UUID of the new SD card is different, so it's not recognized. Even two identical cards would have a different UUID. I'd suggest changing it to the device string, like /dev/sdb1 or whatever.
I suspect the UUID of the new SD card is different, so it's not recognized. Even two identical cards would have a different UUID. I'd suggest changing it to the device string, like /dev/sdb1 or whatever.
When I changed SD Cards I updated the UUID, so the UUID is correct. When I log in as root, /home mounts. I just can't log in as me
It would be hard to believe that the text editor causes this, especially when it is vim, which is one of the most used text editors.
Anyways, since this seemingly can cause issues on some OSes it is better to avoid such a format.
@Macburp: Still waiting for the output of the mount-command.
Also, try it with a newly created user. If that works it is likely that it is a misconfiguration in your users settings that is causing this.
When I changed SD Cards I updated the UUID, so the UUID is correct. When I log in as root, /home mounts. I just can't log in as me
Then you've got some kind of weird permission issue going on. Try simplifying it. This is what the line in my fstab looks like (I also have home on a different drive):
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/dev/sdb1 on /home type ext2 (rw,nosuid,nodev,noatime,errors=continue)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /root/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev)
//192.168.1.32/Xvids on /home/macburp/Highview type cifs (rw,mand)
@guyonearth, I'm slightly reluctant to change fstab settings for the SD ced as I had serious problems getting it to work initially. I'll keep it in mind.
Also, try it with a newly created user. If that works it is likely that it is a misconfiguration in your users settings that is causing this.
Well, I created a new account and was able to log in OK. Still can't log in to the original account. How do I do a disk check on the SD card to see if there are any errors?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.