http://linux.about.com/od/LinuxNewbieDesktopGuide/tp/3-Ways-To-Fix-The-UEFI-Bootloader-When-Dual-Booting-Windows-And-Ubuntu.htm
In theory if you have managed to install Ubuntu in the first place then you will have turned off fast boot.
Hopefully you followed this guide to create a bootable UEFI Ubuntu USB drive as this installs the correct UEFI boot loader.
If you have done both of these things as part of the installation, the bit that may have gone wrong is the part where you set GRUB2 as the boot manager.
To set GRUB2 as the default bootloader follow these steps:
So what is the difference between grubx64.efi and shimx64.efi? You should choose grubx64.efi if secureboot is turned off. If secureboot is turned on you should choose shimx64.efi.
In my steps above I have suggested trying one and then trying another. The other option is to install one and then turn secure boot on or off within the UEFI firmware for your computer depending on the bootloader you chose.
To download rEFInd for Windows 8 click here.
After you have downloaded the file extract the zip file.
Now follow these steps to install rEFInd.
This process is fairly similar to choosing the GRUB bootloader.
Basically it involves downloading rEFInd, extracting the files. copying the files to the EFI partition, renaming the configuration file and then setting rEFInd as the boot loader.
The main problem that users experience after following my tutorials for dual booting Ubuntu and Windows 8 is that their computer continues to boot directly into Windows 8 with no option for running Ubuntu.
Here are two ways to fix the EFI boot loader to get the Ubuntu portion to boot correctly.
Here are two ways to fix the EFI boot loader to get the Ubuntu portion to boot correctly.
1. Make GRUB The Active Bootloader
There are a few things that may have gone wrong during the installation.In theory if you have managed to install Ubuntu in the first place then you will have turned off fast boot.
Hopefully you followed this guide to create a bootable UEFI Ubuntu USB drive as this installs the correct UEFI boot loader.
If you have done both of these things as part of the installation, the bit that may have gone wrong is the part where you set GRUB2 as the boot manager.
To set GRUB2 as the default bootloader follow these steps:
- Login to Windows 8
- Go to the desktop
- Right click on the start button and choose administrator command prompt
- Type mountvol g: /s (This maps your EFI folder structure to the G drive).
- Type cd g:\EFI
- When you do a directory listing you will see a folder for Ubuntu. Type dir.
- There should be options for grubx64.efi and shimx64.efi
- Run the following command to set grubx64.efi as the bootloader:
bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
- Reboot your computer
- You should now have a GRUB menu appear with options for Ubuntu and Windows.
- If your computer still boots straight to Windows repeat steps 1 through 7 again but this time type:
bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi
- Reboot your computer
So what is the difference between grubx64.efi and shimx64.efi? You should choose grubx64.efi if secureboot is turned off. If secureboot is turned on you should choose shimx64.efi.
In my steps above I have suggested trying one and then trying another. The other option is to install one and then turn secure boot on or off within the UEFI firmware for your computer depending on the bootloader you chose.
2. Use rEFInd To Dual Boot Windows 8 And Ubuntu
The rEFInd boot loader works by listing all of your operating systems as icons. You will therefore be able to boot Windows, Ubuntu and operating systems from USB drives simply by clicking the appropriate icon.To download rEFInd for Windows 8 click here.
After you have downloaded the file extract the zip file.
Now follow these steps to install rEFInd.
- Go to the desktop
- Right click on the start button and choose administrator command prompt
- Type mountvol g: /s (This maps your EFI folder structure to the G drive)
- Navigate to the extracted rEFInd folder. For example:
cd c:\users\gary\downloads\refind-bin-0.8.4\refind-bin-0.8.4
When you type dir you should see a folder for refind - Type the following to copy refind to the EFI partition:
xcopy /E refind g:\EFI\refind\
-
Type the following to navigate to the refind folder
cd g:\EFI\refind
- Rename the sample configuration file:
rename refind.conf-sample refind.conf - Run the following command to set rEFInd as the bootloader
bcdedit /set {bootmgr} path \EFI\refind\refind_x64.efi
- Reboot your computer
- You should now have a menu similar to the image above with options to boot Windows and Ubuntu
This process is fairly similar to choosing the GRUB bootloader.
Basically it involves downloading rEFInd, extracting the files. copying the files to the EFI partition, renaming the configuration file and then setting rEFInd as the boot loader.
No comments:
Post a Comment