Step one, download Refind:
Https://sourceforge.net/projects/refind/files/?source=navbar
extract after download refind-bin-0.10.2 Folder
Step two, modify the EFI partition under Windows
First, open a command prompt with administrator privileges, and enter the following command in turn:
DiskPart
List disk
Select Disk 0
List partition
Select Partition 3
Assign Letter=p
Exit
Taskkill/im explorer.exe/f
Explorer.exe
The command prompt is as follows:
d:\>DiskPart
Microsoft DiskPart version 6.3.9600
Copyright (C) 1999-2013 Microsoft Corporation.
On the computer: LENOVO-PC
diskpart> list Disk
Disk # # # state size available Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 447 GB/GB *
diskpart> Select disk 0
Disk 0 is now the selected disk.
diskpart> list partition
Partition # # # type size offset
------------- ---------------- ------- -------
Partition 1 reserved MB/KB
Partition 2 Recovery 129 MB
Partition 3 system 260 MB 1129 MB
Partition 4 main GB 1396 MB
Partition 5 primary GB of Bayi GB
Partition 6 unknown 243 GB 203 GB
diskpart> Select partition 3
Partition 3 is now the selected partition.
Diskpart> Assign Letter=p
DiskPart successfully assigned a drive letter or mount point.
Diskpart> Exit
Quit DiskPart ...
d:\>taskkill/im explorer.exe/f
Success: The process "Explorer.exe" has been terminated with a PID of 2032.
d:\>Explorer.exe
D:\>
Now I can open my computer and find another P-plate.
Copy the Refind directory from the downloaded refind-bin-0.10.2 folder to P-disk.
Rename the refind.conf-sample in the Refind in P disk to refind.conf.
Step three, set the boot program to Refind
Run the following command to set Refind to bootstrapper bcdedit/set {bootmgr} path \efi\refind\refind_x64.efi
Reboot.
Use Refind to boot Ubuntu and Windows dual system