Precautions for Ubuntu installation in Windows 10 of UEFI
I have installed UEFI-guided Windows 10 in my notebook. Today I want to install Ubuntu in my notebook as a small "server, there is no need for virtual machines (genuine obsessive-compulsive disorder watching VMware Workstation more than 1500 of the price can only kneel)
During the installation process, I encountered several pitfalls and encountered some problems in the online tutorials. Therefore, I wrote down some experiences. I. Ubuntu boot disk is easy to create. Download ISO from the official Ubuntu website, use UltraISO to open the ISO file, insert the USB flash disk, and choose to write the hard disk image. 2. for Ubuntu installation, select UEFI boot only in the BIOS and enter the USB flash drive. During installation, you only need to create two partitions: swap space and EXT4 partition (mount point: Select "/"). Because you already have an EFI partition for Windows 10, you do not need to create a new EFI partition. You can directly select the original EFI partition. 3. Windows is started by default. Because I plan to use SSH to log On to the Ubuntu System of my laptop and how Wake On Lan is started, direct access to Windows is not acceptable, in the BIOS, WOL boot can only select a hard disk instead of a boot in EFI. As a result, WOL boot will go to Windows every time. Next, let's talk about how to operate the EFI partition more easily. In Ubuntu, run the command sudo nautilus in terminal to open the ROOT permission File Manager and enter the ROOT directory. In the BOOT/EFI folder, the mount point of the EFI partition is used. In Windows, it is not easy. You need to use the Administrator to run cmd, then run diskpart, enter list disk to view the numbers of each hard disk, and then enter select disk * (number) to select the hard disk, enter list partition to view the number of each partition, enter select partition * (number) to select the efi partition, and enter the command assign to assign the drive letter. Install the software Total Commander and run it as an administrator to operate on the EFI partition. Back to the question, how to boot the hard disk directly into the Ubuntu boot. Copy grubx64.efi and grub. cfg in the ubuntu folder of the EFI partition to the boot directory of the EFI partition, and rename grubx64.efi to bootx64.efi to replace the original file.