Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a Lenovo Ideapad with pre-installed Windows 8.1 In order to install Ubuntu I disabled secure boot and changed boot mode from UEFI to Legacy. This allowed me to install Ubuntu and the grub loader is also showing an option to either boot into Windows or Ubuntu, but whenever I try booting to Windows it says Cannot load.

This happens because the boot order is set to Legacy mode and Windows 8 will boot only with UEFI. I am unable to access my BIOS from where I can change the boot order. I press F1/F2 on booting but it doesn't load the BIOS, and directly goes to the grub loader screen.

How can I make my Windows 8 run along with Ubuntu?

share|improve this question

3 Answers 3

You need to convert your Ubuntu install into EFI mode.

  1. get a 64 -bit Ubuntu disk if you don't have yet
  2. set your BIOS (UEFI firmware) so that it boots USB/DVD in EFI mode
  3. boot onto your 64bit Ubuntu disk, choose Try Ubuntu
  4. connect internet, install Boot-Repair this way and use it that way in order to convert your Ubuntu install into UEFI mode.
share|improve this answer
    
Thanks, I shall try this out. Is there any specific guide on how to set bios so that it boots USB/DVD in EFI mode because I could not find explicitly in my BIOS. Maybe I will look again. –  Sachin Jan 9 at 4:20
    
You can find some examples here. Some firmwares propose the same option to enable UEFI boot on both HDD and USB/DVD at the same time. Others propose 2 options: one for HDD, another for USB/DVD. –  LovinBuntu Jan 9 at 20:31

The key for BIOS might be Fn+F2 in case of new laptops.

Boot into Ubuntu and install boot-repair

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

Now launch boot repair from either :

  1. the Dash (the Ubuntu logo at the top-left of the screen)
  2. or System->Administration->Boot-Repair menu (Ubuntu 10.04 only)
  3. or by typing boot-repair in a terminal

Then click the "Recommended repair" button. When repair is finished, note the URL (paste.ubuntu.com/XXXXX) that appeared on a paper, then reboot and check if you recovered access to your OSs.

This will install the grub-efi bootloader. Follow the on-screen instructions given by boot-repair to complete the installation.

Now reboot your system and turn on EFI mode in BIOS. You will able to boot into both Ubuntu and Windows in EFI mode itself. The secure boot option in BIOS needs to be disabled.

share|improve this answer

From the UEFI Page on Ubuntu Wiki

If the PC does not load Ubuntu (but instead loads Windows, for example, as in Bug #1050940), or if the Windows entry in the GRUB 2 menu does not boot Windows (see Bug #1024383, boot your PC using the Live CD/DVD or Live USB and choose "Try Ubuntu" once again.

When the live session has loaded, run Boot-Repair. When Boot-Repair loads, click on the "Recommended repair" button, and write on a paper the URL (paste.ubuntu.com/XXXXXX/) that will appear. Then reboot the pc.

The UEFI page also lists other methods, and is a good resource on how to proceed.

share|improve this answer

Your Answer

 
discard

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.