View Full Version : [ubuntu] 10.04 Gone wrong - need help

May 7th, 2010, 07:54 AM
While I was performing an upgrade of my machine to 10.04 I lost power to my machine (don't ask) and now machine will obviously not boot properly.

I tried to boot to former kernel from GRUB with no joy. I tried to recover from GRUB loader, but due to the massive corruption of system I cannot get X to start.

Any suggestions on how to at least reliably roll back to my last stable 9.x version?



May 7th, 2010, 08:10 AM
Just login to a console and see if your internet is working with
ping ubuntu.com, and if so, then
sudo apt-get dist-upgrade

Edit: You can get to a console with Ctrl+Alt+F2. If X keeps trying to restart and interrupting your console session, then kill it with
sudo service gdm stop

May 7th, 2010, 04:15 PM
Thanks Jbrown I will give it a try.


May 7th, 2010, 04:51 PM
I have sometimes been able to rescue failed upgrades using a chroot:


I generally then run the following commands in the chroot:

apt-get clean

apt-get update

apt-get dist-upgrade

Of course that quite often produces errors that give me a clue what to do next.

May 8th, 2010, 07:55 AM
Thanks, that did the trick, back up and now running Lucid Lynx just fine.