[SOLVED] Unable to login on runlevel 3 in Fedora 21 xfce after moving/restoring usr dir
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.
Unable to login on runlevel 3 in Fedora 21 xfce after moving/restoring usr dir
I'm not a total linux newbie, but I figure this is a newbie mistake, so here it is.
I'm running fedora 21 xfce on a triple boot system (using grub to select the os), so if it's at all possible to avoid a reinstall that would be very awesome.
What happened:
I ran out of space on my root partition (lvm). Tried to figure out how to resize the root partition while tired, gave up, decided to move /usr to my home partition and create a symlink. Copied /usr to /home/usr, deleted /usr. Unable to create the symlink now (duh! as I said, I was tired), booted into liveusb disk to create the symlink. Couldn't boot after that and gave up for the night. This morning I was clear enough to figure out resizing the partitions, so I did and then copied /home/usr back to /usr. Rebooted and everything seems normal until I want to login. Logging in just dumps me back at the login screen, wether I use root, user runlevel 5 or runlevel 3, no matter. In runlevel 3 there might be an error message but it flashes by so quickly I can't read it. Authentication does proceed, because logging in with a wrong username or password gives the proper error.
Google has not provided me with any useful hints, so I'm at a loss. Can someone please help me out?
selinux checks the permissions and se context on the /home and /usr ( "/usr" SHOULD be in / and not separate ) partitions
and if NOT correct PROTECTS!!! the system by killing the boot or login
it is ?? iffy ?? maybe ?? possible to use yum and rpm to fix it
but that will take a week . I do mean maybe 5 to 7 days to manually find everything
thanks for your reply. I understand that this is happening and that the os does this for protection. However, I'm not *missing* any files. I simply moved /usr to another partition and then moved it back again. So I'm thinking this should repairable, probably a permissions thing, like otoomet mentioned?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.