Error: File not found. Press any key to continue...--

I get this when after I choose Ubuntu on start. Pressing any key doesn't work. What's this? I'm new to Ubuntu.

  • This means that the grub-bootloader is corrupted. Follow the answer below to resolve it. – NickTux Oct 18 '12 at 6:40

Quite a few people have experienced this after upgrading from 12.04 to 13.04 (bug report).

A way of fixing this without messing around with live CD/USB stick is to work out which is your boot disk. Running df. Most often it is /dev/sda

Do not use the version with the number on the end, eg /dev/sda1

Once you have established the boot disk you then reinstall grub (the boot loader) by running:

sudo grub-install /dev/sdX  # replace X with your actual value
sudo update-grub

(Source is this comment on the bug report).


Fixing start up problems using boot-repair

  1. Boot into the Ubuntu Live Disk (This is so that we have an Ubuntu session to run the repair tools, not to reinstall)
  2. Open up a Terminal window (Shortcut: Ctrl + Alt + T)
  3. Run the following in the Terminal:

    sudo add-apt-repository ppa:yannubuntu/boot-repair

    sudo apt-get update

    sudo apt-get install -y boot-repair


  4. Once in the program, just click on the "Recommended repair" option. After that has completed, click OK and restart your computer without the Live Disk connected to the computer.

You computer should now boot properly into Ubuntu. If it does not, do the steps again but look through the options in the Advanced menu in boot-repair.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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