Recently decided to install a ubuntu system on the basis of win10 to manage the server. But there is a problem. Some time ago, the U disk was accidentally lost, there is no boot disk, and I want to install ubuntu dual system. Based on the previous experience of installing black apples, I decided to use EasyBCD as the boot method. After a trial, it was ok. The process is as follows.
System environment:
Win10 system, (win7, win8 should also be possible, after all, the kernel is similar, I haven't tried it specifically, you can try it if you like to toss)
Tools, raw materials:
step:
Click on a disk to delete the volume. (This hard disk space is the hard disk area that Ubuntu will install and use. I directly delete the D disk here, or compress a space on another disk. I allocate 100G, which is adequate and adequate)
After deleting the volume, the part of the hard disk should become unallocated.
Then click the edit guide menu, you can see the entry just added. Select the countdown to 20 seconds. If Use Metro bootloader is not checked, check it down. Save the settings when finished.
Linux partition:
/: Storage system files, 10GB ~ 15GB is recommended;
swap: swap partition, that is, the virtual memory of the Linux system, it is recommended to be twice the physical memory;
/home: The home directory, the space for storing music, pictures and download files, it is recommended to allocate all the remaining space at the end;
/boot: Contains the system kernel and files required for system startup, the key to achieving dual systems, 200M is recommended.
Create/partition
Select free disk
Select the free disk, click +, first allocate 16G space to / partition, select "primary partition", "space start position", Ext4 and "mount point/":
Note: In fact, a hard disk can accommodate up to 4 primary partitions, or 3 primary partitions plus 1 extended partition. When selecting the partition type, the "free partition is not available during system installation" situation may appear. In order to solve the problem, the following Always select "logical partition".
Create swap partition
Repeat the creation steps, allocate 16G space to the swap partition, select "logical partition" (primary partition is full), "space start position", for "swap space":
Create /boot partition
Then allocate 200M space to the /boot partition, select "logical partition" (primary partition is full), "space start position", "Ext4" and "mount point /boot":.
Finally, allocate all remaining space to the /home partition, select "logical partition" (the main partition is full), "space start position", "Ext4" and "mount point /home":
Select the drive letter corresponding to /boot as the "device to install the boot loader", be sure to be consistent:
After ubuntu is installed, it will directly enter the windows system when restarting. This is because we put its boot in the /boot partition. Next, use easyBCD to create startup items for it.
Open easyBCD, select add new entry, select linux/BSD, and fill in Ubuntu for name (you can fill in by yourself). In the device (drive) column, select the "/boot" partition we just created (the 200MB one). Finally click Add entry (add entry)
Get it done
Recommended Posts