Hemanth's Scribes

web

Unable to Login After Upgrade to Karmic [Solved]

Author Photo

Hemanth HM

Thumbnail

Unable to Login After Upgrade to Karmic [Solved]

This happens when an upgrade is done without removing the non-free graphical drivers, normally Nvidia or ATI cards.

Actually before installing you should have disable those drivers, so its crashed now.

To fix you have three options :

  1. To boot from live cd (karmic), backup what data you want and do a fresh install.

  2. Follow this, open your terminal after booting from live cd and then :

type this cat /etc/fstab | grep ”/ was on”****

the o/p will be like : # / was on /dev/sda1 during installation

its /dev/sda1 for me might be different for you, not that down

Assuming its /dev/sda1 the next steps are giving below, replace /dev/sda1 with yours.

{Copy paste each line or the whole set however you can, to the terminal} **sudo mkdir /media/karmic sudo mount /dev/sda2 /media/karmic sudo mount -o bind /proc /media/karmic/proc sudo mount -o bind /dev /media/karmic/dev/ sudo cp /etc/resolv.conf /media/karmic/etc/resolv.conf sudo chroot /media/karmic apt-get update sudo chroot /media/karmic apt-get upgrade sudo chroot /media/karmic apt-get dist-upgrade**

3.Drop in the recovery shell with networking and then : **sudo apt-get install xorg-driver-fglrx sudo aticonfig --initial startx**

Again from terminal after logging in sudo apt-get update suao apt-get upgrade “

ALL THE BEST :O)

#javascript#linux
Author Photo

About Hemanth HM

Hemanth HM is a Sr. Machine Learning Manager at PayPal, Google Developer Expert, TC39 delegate, FOSS advocate, and community leader with a passion for programming, AI, and open-source contributions.