Dualboot Windows 8 and Ubuntu with UEFI enabled

With the advent of Windows 8 many users have encountered problems in the DualBoot with Ubuntu: the main reason is the implementation of UEFI technology in modern PCs that creates various problems for the Ubuntu bootloader (GRUB);

In this article I want to report my personal experience with a laptop just bought with Windows 8 pre-installed and UEFI technology enabled in which, after various vicissitudes, I managed to make the Dualboot work correctly between Windows 8 and Ubuntu 12.04.

For the resolution of the problems I encountered, I found the Ubuntu WIKI, from which I will report many of the necessary steps with some clarifications.

The problem I encountered: after installing Ubuntu, at the first reboot the GRUB screen did not appear but simply Windows 8 started without giving me the possibility of choosing among the 2 operating systems installed in the PC, so going to look through the BIOS I discovered that the technology was active UEFI.

Obviously the first thing I did was to disable the UEFI by activating the Bios Legacy option, result? When I restart, I finally find the GRUB screen that shows both Ubuntu and Windows: Ubuntu starts up perfectly - "finally I solved!"- but obviously it could not be so simple :-), in fact at the first start of Windows 8 here appears one of the Windows" terrorist "errors (rehabilitating UEFI from the BIOS I returned to the initial situation in which only Windows was started and Ubuntu was not even mentioned)

0xc000007b

So let's see how to avoid this by running a correct Ubuntu installation.

This guide could cause damage / loss of Windows, I take no responsibility for any problems and / or malfunctions.

BEFORE STARTING

Check that your PC has the UEFI technology enabled, there are various methods:

  • Read the box or manual of our PC on which this information "should" be given
  • Sifting through the voices of the Bios you should see some option indicating the UEFI mode
  • Since Disc Manager of Windows, if the EFI / UEFI mode is active you should see a small partition in fat32 that shows in the label a reference to EFI as shown in the image

disk manager

If your PC is not has UEFI technology you can proceed with the normal Ubuntu installation without any problems following ours Guide for Dualboot between Ubuntu and Windows otherwise read this article.

INSTALLATION OF UBUNTU COMPATIBLE WITH EFI / UEFI

The UEFI technology is supported by Ubuntu with the same or higher version than the 12.04 and with 64bit architecture, so let's download a version that has these requirements from the Official site.

In modern PCs, technology is often active Secure Boot, which is not yet fully supported by Ubuntu, it is therefore recommended to go to the BIOS and, if there was a Secure Boot entry disable it.

We create the Live CD / DVD or Live USB of the Ubuntu version we downloaded and proceed with the normal Ubuntu installation with the only care to select during the boot the entry for the UEFI version of Ubuntu as shown in the image (recognizable by the UEFI label in the menu item)

uefi boot

For a detailed guide on installing Ubuntu follow ours previous guide, the procedure is similar and the only difference as mentioned is to select the right version of Ubuntu.

POSSIBLE PROBLEMS

Did you follow the guide but in the boot phase does the boot menu not have the UEFI entry (as shown in the previous image)?

Have you carelessly installed Ubuntu with standard mode and have UEFI enabled?

No problem! let's see how to solve:

Installing Ubuntu with the standard mode you will probably notice that on reboot GRUB will not appear but Windows 8 will start automatically, this because during the standard installation, it is installed grub-pc and not grub-efi, therefore the Windows bootloader (which resides in the EFI partition) will not be overwritten.

Fortunately it will come to our aid Linux-Secure-Remix which will fix the GRUB automatically, let's see how:

  • Linux-Secure-Remix is ​​a derived distribution of ubuntu that integrates various Tools, among which the one that interests us: Boot Repair
  • Download Linux-Secure-Remix | Download in English
  • Let's create the Linux-Secure-Remix Live CD / DVD or Live USB as for any linux distribution
  • we start in Live mode Linux-secure-Remix: we will notice that it is identical to Ubuntu, but in the side dock we will find the icon of Boot Repair, connect to the internet before proceeding.

boot-repair

  • We start Boot Repair and select "advanced options"

boot-repair1

  • Let's move to the TAB "GRUB LOCATION"
  • Select the line Separate / boot / efi partition and click on the button Apply. (check that the disk is the correct one)
  • Boot Repair will proceed to correct the GRUB: you will be asked to manually enter some commands in the terminal but everything is explained by the program itself and you should not have difficulty in the various operations.

after the operation we can restart and verify that everything is working properly, now GRUB should also appear with UEFI mode.

This guide refers to Ubuntu 12.04 but nothing prevents it from being applied to later versions of Ubuntu and its derivatives, making sure to select the 64bit architecture in any case.

Receive the latest posts by email

Enter the email and choose the inscriptions on the new page

InTheBit.it
Added devices
  • Compare Smartphone (0)
  • Compare Notebook (0)
Compare