Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

So I think I've possibly done something pretty dumb. Basically I was running out of space on my ubuntu partition and I knew i had a 40GB partition at the end of the disk which was called OS2.

I'm 99% sure this was one I created years ago when I first had the idea of dualbooting my computer (long before I actually got around to doing it) and I double checked on the drive, there was nothing on it.

So I installed GParted live USB, ran it, formatted the NTFS OS2 partition into ext2 format and rebooted computer.

Now I get the following error from grub:

error: file '/boot/grub/i386-pc/normal.mod' not found.
grub rescue>

Obviously the "grub rescue" bit is a command prompt, but other than that, there's nothing I can do with the computer.

What can I do to get my computer back?

Many thanks!


share|improve this question

marked as duplicate by Radu Rădeanu, aquaherd, Alvar, Kevin Bowen, Eric Carvalho Jun 17 '13 at 2:33

This question was marked as an exact duplicate of an existing question.

Have you tried to repair grub as per this?… – fossfreedom Jun 16 '13 at 10:26

Whenever my GRUB breaks, I do the following to reinstall GRUB:

Prepare a bootable USB Stick (e.g. with unetbootin) with the current Ubuntu image or burn a DVD. Now boot from it into a live system and open a terminal. Then type

sudo grub-install /dev/sda
sudo grub-update

This assumes /dev/sda is your primary hard drive and you want to install GRUB there ;). Afterwards you should have a working GRUB again.

Note: Sometimes GRUB fails to detect other operating systems. Mount the relevant partitions with Nautilus by simply clicking on them, if they don't show up in terminal, while executing grub-update.

share|improve this answer

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