After reading my Ubuntu and Windows 8 dual system installation tutorials (see http://www.linuxidc.com/Linux/2015-01/111796.htm), the main problem encountered was that the computer started directly to Windows 8 without the option to start Ubuntu. There are two methods to fix EFI boot so that Ubuntu can be started properly and GRUB2 is set to boot 1. Enable GRUB boot in some places during installation
After reading my Ubuntu and Windows 8 dual system installation tutorials (see http://www.linuxidc.com/Linux/2015-01/111796.htm), the main problem encountered was that the computer started directly to Windows 8 without the option to start Ubuntu.
There are two methods to fix EFI boot so that Ubuntu can be started normally.
Set GRUB2 as boot Guide
1. Enable GRUB boot
Some problems may occur during installation.
Theoretically, if you install Ubuntu first, you need to disable quick start.
Please follow this guide to create a UEFI Ubuntu boot USB drive to install the correct UEFI boot program.
If you have completed these tasks during installation, the possible error is to set GRUB2 as the startup manager.
Follow these steps to set GRUB2 as the default boot program:
- Log on to Windows 8
- Go to desktop
- Right-click the start button and select the Administrator command line.
- Input mountvol g:/s (This maps your EFI directory structure to the G disk)
- Input cd g: \ EFI
- When you enter dir to list folder content, you can see a Ubuntu folder
- The parameters here can be grubx64.efi or shimx64.efi.
- Run the following command to set grub64.efi to the boot Bootstrap program: bcdedit/set {bootmgr} path \ EFI \ ubuntu \ grubx64.efi
- Restart your computer
- You will see a GRUB menu containing Ubuntu and Windows options
- If your computer is still directly started to Windows, repeat steps 1 to 7, but input this time: bcdedit/set {bootmgr} path \ EFI \ ubuntu \ shimx64.efi
- Restart your computer
What you do here is to log on to the Windows Administrator command line and map the EFI boot area to the disk to check whether the Ubuntu boot program is successfully installed. Then, select grubx64.efi or shimx64.efi as the boot program.
So what is the difference between grubx64.efi and shimx64.efi? When serureboot is disabled, you can use grubx64.efi. Select shimx64.efi if enabled safely.
In the above steps, I suggest you try one first and then try another one. Another method is to select one and enable or disable secure boot in the BIOS Based on the boot program you selected.
2. Use rEFInd to boot Ubuntu and Windows systems
The rEFInd Bootstrap will list all your operating systems in the form of icons. Therefore, you can click the corresponding icon to start the operating system in Windows, Ubuntu, or USB flash drive.
Click here to download rEFInd for Windows 8.
After downloading and decompressing, follow these steps to install rEFInd.
- Back to desktop
- Right-click the start button and select the Administrator command line.
- Input mountvol g:/s (This maps your EFI directory structure to the G disk)
- Enter the decompressed rEFInd directory. Example: cd c: \ users \ gary \ downloads \ refind-bin-0.8.4 \ refind-bin-0.8.4. When you enter the dir command, you can see a refind directory
- Run the following command to copy refind to the EFI boot zone xcopy/E refind g: \ EFI \ refind \
- Enter the following command to enter the refind folder cd g: \ EFI \ refind
- Rename the configuration file rename refind. conf-sample refind. conf
- Run the following command to set rEFind as the boot program bcdedit/set {bootmgr} path \ EFI \ refind \ refind_x64.efi
- Restart your computer
- You will see a graphic menu containing Ubuntu and Windows
This process is very similar to choosing the GRUB boot program.
To put it simply, download rEFind and decompress the file. Copy the file to the EFI boot area, rename the configuration file, and set rEFind as the boot program.
Summary
I hope this article will solve some problems when installing Ubuntu and Windows 8.1. If you still have problems, you can contact me via the email above.
For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2015-01/111797.htm