Possible Duplicate:
Lost power during upgrade, how do I recover?

while upgrading from 12.04 to 12.10, after completion of downloading packages, installation of packages was going on.Due to power cut, it was inevitable to me shutting my computer down. Hence, the next steps of installing, cleaning and restarting could not be completed. The next time I logged in, I could see only a black screen. Please guide me to retrieve my ubuntu. (For your kind information, though I am a ubuntu lover, not a technically strong person)

marked as duplicate by Jorge Castro, LnxSlck, devav2, Oli Oct 23 '12 at 14:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Same problem I have faced before 4 Days. Grub boot loader has been failed to boot ubuntu. Fix it with using this post.


A. IF you're able to boot in Ubuntu:- Insert a Ubuntu 12.10 Live-CD/DVD and run the following commands:

sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update

sudo apt-get install -y boot-repair && boot-repair

Boot-Repair will launch. Select the 'Recommended Repair'.

B. IF you fail to see the Grub:- Insert a Ubuntu 12.10 Live-CD/DVD and run the following commands: $sudo mount /dev/sdXY /mnt # XY is the drive, eg. sda or sda1

`$sudo mount --bind /dev /mnt/dev`

`$sudo mount --bind /proc /mnt/proc`

`$sudo chroot /mnt`

`$grub-install /dev/sdX`#X is drive number


Reboot. Lemme know if it doesn't work as intended.

Not the answer you're looking for? Browse other questions tagged or ask your own question.