1. Understanding the Order of startup
Computer Boot---> BIOS setup----> *****.efi in the ESP partition---> (uefi/grub) directory in the hard disk (MBR)/GPT Format-----> select the startup file Bcd/windlo AD.EFI---> Disk partitions and System files to start.
The general computer boot sequence is so
2, we usually install a single computer operating system, is very easy, but in the installation of dual systems, if the start of a problem, or often can not find the startup file. The easiest place to go wrong is
in the ESP partition, the Windowsxxxx.efi and grub grub.cfg are prepared .
Specific installation: This case is my physical machine pro-Test
1, hard disk partition, to the hard disk to GPT format, esp 100M or so, 50G as the Windows operating system installation disk, the rest of the space, can not be assigned first.
2, the partition can be used partition tool (Diskgenius), and then the corresponding format, the installation of Windows operating system, this is not written out. After the installation is complete,
The ESP partition will be like this:
3, then install Ubuntu in the installation, partition, you need to pay attention to the choice, and choose the option to coexist with Windows (if cloning, need to modify the Grub.cfg file later, need to modify the hard disk UUID and startup letter)
4, the change of the UUID method: Vim/boot/grub/grub.cfg, find the original UUID, with the new hard disk UUID to replace the original
5, if you change the entire hard drive, you also need to change the ESP partition UUID
6, if the installation of Ubuntu to complete, then the ESP partition will be like this:
You can access Ubuntu's operating system by pressing the settings above.
7, in the Windows operating system to see, the relevant information
Content in the EFI directory:
Contents in Ubuntu:
8. Settings for Windows Startup items (Tools Bootice or EASYBCD)
9. Set startup file to point to BCD
Then, the restart will be able to make the relevant choice should be possible.
However, can be in Ubuntu grub.cfg inside, can also add relevant options, from Grub menu into the Windows operating system, you can also add the option in Windows BDC, from the Windows Options menu, into the Ubuntu operating system
This requires a better understanding of startup related, and below I just, do not do the relevant instructions:
Windwos. BCD---> Linux
UBUNTU.GRUB.CFG----> Windows
Win10 Ubuntu same HDD dual system installation and startup settings