Hardware - Support > Start up and Shutdown

Unable to login to LL

(1/2) > >>

Kirkx:
My LL has been working flawlessly for the last few weeks and today, out of a blue, I can't login. It seems to be booting ok and the problem is at the login screen. I removed the splash screen long time ago and I boot all my distros from Grub4Dos bypassing Grub2:


--- Code: ---# Grub4Dos file Menu.lst
title Linux Lite
root (hd0,20)
kernel /boot/vmlinuz-3.13.0-32-generic root=UUID=4ghka89-5586-3b77-8r6c-49f28g17d4n9 ro
initrd /boot/initrd.img-3.13.0-32-generic

--- End code ---

This way I can see how the bootup scripts are executed line by line, and there is no difference between how they run today and before, so the bootup process looks ok. When the login screen comes up (the screen with the user name and password) I enter the password and hit Enter. At this point LL would normally load startup applications but instead the login screen comes up again. It looks like I was entering the wrong password, but the password is correct, I have never touched the user account menu and never changed the password since original installation.

I wish I had a Clonezilla image backup but I keep putting this off, there are so many other things to learn.

My last commands in LL yesterday were as follows:
   

--- Code: ---sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get autoremove

--- End code ---
At this point there were no messages about any outstanding updates or files to be removed and I hit:

--- Code: ---sudo shutdown -h now
--- End code ---

PS: I post this message after booting to Xubuntu 14.04 (from Grub4Dos, obviously; I don't understand why they made Grub2 so bloody complicated, but that's the topic for another thread).

Jerry:
sudo apt-get dist-upgrade would be the culprit here. LL is a heavily modified distribution, very easy to break if folks don't stick to the tried and true, ie. Install Updates. We have mentioned not doing sudo apt-get dist-upgrade in the past, you may be looking at a fresh install Kirk :(

Kirkx:

--- Quote ---Valtam: We have mentioned not doing sudo apt-get dist-upgrade in the past, you may be looking at a fresh install Kirk
--- End quote ---
Thanks. I missed that because I'm LL newbie. Such is life, lesson learnt. I will update my custom "Help.txt" file:

apt-get dist-upgrade
- same as "apt-get upgrade" + smart handling of dependencies, so some packages may be removed
- do not use it with Debian w/o studying the topic further
- do not use it with Linux Lite

Jerry:
All good mate :)

Kirkx:
After booting to another distro, what would be the best commands to delete all files and directories in the broken OS before fresh re-install. I don't want to format the root and home partitions when reinstalling so that the device numbers remain intact. Is this enough:


--- Code: ---rm -rf /media/username/my_LL_folder/*
rm -rf /media/username/my_LL_folder/

--- End code ---
or:

--- Code: ---rm -rdf /media/username/my_LL_folder/*
rm -rdf /media/username/my_LL_folder/

--- End code ---

In my case LL is installed to:

--- Code: ---/dev/sda21
/dev/sda22

--- End code ---
PS: This seems to be the only drawback of using Grub4Dos for booting. You need to manually edit the kernel version after each kernel update and edit device numbers and UUIDs in case some partitions have been realigned.

Navigation

[0] Message Index

[#] Next page

Go to full version