PDA

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



+eb0
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?

TIA,

-Mike

jbrown96
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

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

-Mike

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

http://ubuntuforums.org/showpost.php?p=8068512&postcount=10

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.

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

-Mike