Ubuntu – Machine froze during upgrade to 12.04

12.04boot failurerelease-upgradeupgrade

I tried upgrading from 11.10 to 12.04. It got to the point of installing packages then I stepped away. When I got back the screen was black (possibly due to the screen saver). I left it for about 8 hours and there was no change. I then power-cycled and now it won't boot to a login screen. I tried hitting <Esc> repeatedly while powering up (to get to the Grub menu) but that has no effect.

What should I do now?

EDIT:

I can see the files on the hard disk once I boot from a Live CD. I saw some stuff online about using chroot and dpkg to continue an aborted upgrade from the command line. Is there any comprehensive guide on this?

Best Answer

The original poster here, SplashHit, indicated in a comment that this question on SuperUser answered the question.

  • In that question, the OP followed this "guide" posted on Launchpad (which is actually the original version of this bug report by TJ).

  • rumtscho, the OP of that SuperUser question, had attempted to chroot into the installed system from a live CD system and run dpkg --configure -a, but there were lots of Permission denied error messages.

  • The accepted answer (by Darth Android) was that the OP needed to mount the /proc and /dev filesystems in the chroot before running dpkg ....

It's unclear from SplashHit (the original poster here)'s comment whether the Launchpad "guide" was sufficient to solve this problem here, or if the answer to that question was also necessary.

In any case, it appears that this question is now effectively answered for the OP (and abandoned).

@SplashHit, if I am mistaken and you still need help with this problem, please let us know (you can post a comment here, and of course if there is additional information then you can add that to your question).