How do I recover from Ubuntu upgrade crash?
Ubuntu gave notice of an upgrade to 15.04 and asked whether I wanted to install it. I indicated assent but later noted that it did not operate in a stable fashion and a number of apps didn't open up. After initiating update and upgrade commands the screen was flooded with script and a number of them seemed to be repetitive. Finally the scripts came to an end with an alarming entry as follows: [10. 514810] drm_kms_helper: panic occurred, switching back to text console. The computer is now frozen and it wont reboot or turn off. Expert advice would be appreciated.
Problem solved. I removed/replaced the laptop battery and the machine looked...
Problem solved. I removed/replaced the laptop battery and the machine looked for a boot disk. I loaded up a Linux Mint CD and all is now working well.
stop your PC...
stop your PC
put in a live cd/or USB stick
boot from that image
make a new directory in the live environment
mount your Ubuntu partition on that directory.
(perhaps mount proc and other virtual filesystems)
chroot into the mount point of your Ubuntu partition
# now you can recover your environment
with for example: apt-get install -f
#Or if you have your home partiton seperated from the rest of the system
And you always have used the ubuntu packages with nothing else.
Just reinstall ubuntu. and keep your home partition unchanged.