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

There may be several questions on similar lines. But this one is a bit different. My Windows8 installation had stopped working earlier after installing Ubuntu 12.10, (standard : cannot find drivemap error), to fix this I installed boot repair from Ubuntu, ran it, rebooted, and tried the various windows options from the grub menu, NONE of them worked, as a result, I got into BIOS and moved up the Windows 8 option and booted directly into Windows, which got Windows to work, but now I cant access the grub loader as computer boots directly to Windows 8 leaving my Ubuntu inaccessible, any thoughts on how I could modify the GRUB,so that it contains the working windows 8 and Ubuntu installations, would be appreciated.


share|improve this question
please indicate your BootInfo URL ( ) – LovinBuntu Feb 1 '13 at 1:09

It's not 100% clear to me how your system is installed. My suspicion is that you've got a BIOS/legacy-mode Ubuntu install and an EFI-mode Windows install. It could be that something else is going on, though. Running the Boot Info Script and posting a link to the RESULTS.txt file that it produces will give us details about how everything's set up, which would help in proceeding without guesswork.

That said, and proceeding on my initial guess, you could try this:

  1. Reconfigure your boot order to boot Linux.
  2. In Linux, type sudo parted -l and look for a FAT partition with a "boot" flag set. If I'm right, this is your EFI System Partition (ESP). If you're not certain you've found an ESP, stop here and post that Boot Info Script output.
  3. Mount your ESP at /boot/efi, as in sudo mount /dev/sda1 /boot/efi if your ESP is /dev/sda1. (You may need to create this mount point first, as in sudo mkdir /boot/efi.)
  4. Back up your ESP. Copying its files to a convenient location or creating a tarball of the /boot/efi directory should do the trick.
  5. Download the Debian-package version of my rEFInd boot manager.
  6. Install the rEFInd package. Double-clicking it in a file manager may do the trick, or you could type sudo dpkg -i refind_0.6.6-1_amd64.deb (adjusting the filename as necessary if I release a new version before you read this).

With any luck, when you reboot you should see rEFInd, which should enable you to boot either Windows or Ubuntu without the help of GRUB. In a worst-case scenario, the computer won't boot any longer, which is why I had you make a backup of your ESP -- you should be able to use an emergency disc to restore everything to get it booting again.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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