Home  >  Article  >  System Tutorial  >  Detailed explanation of Win10 and Ubuntu 18.04 dual system installation tutorial

Detailed explanation of Win10 and Ubuntu 18.04 dual system installation tutorial

WBOY
WBOYforward
2024-01-03 08:59:331380browse

Foreword:

Due to development needs, many users need to install a Linux environment. If you use a virtual machine to operate, it will consume a lot of memory, and ordinary computers will appear laggy, thus affecting development efficiency. Here I share some installation experience, hoping to help everyone.

Tutorial: Step 1: Download the image file

Download the system iso image file from the Ubuntu official website http://releases.ubuntu.com/18.04/. There is no need to decompress it after downloading. The process is as follows:

Win10 +Ubuntu 18.04双系统安装详细教程

Step 2: Format U disk

Format your USB flash drive. When formatting, select FAT32 format. The specific process is as follows:

Note: Don’t forget to back up before formatting. You can first backup it on the Windows 10 desktop, which is the C drive.

Win10 +Ubuntu 18.04双系统安装详细教程

Step 3: Make a boot disk

Download the UltraISO software installation from the Internet https://www.php.cn/link/a4017a78440df3ea7890934b5247dde9, and select "Continue Trial" to open the software.

Click the file icon in the picture below to select the image file you just downloaded.

Win10 +Ubuntu 18.04双系统安装详细教程

After selection, the interface is shown in the figure below:

Win10 +Ubuntu 18.04双系统安装详细教程

Then proceed with the following steps:

Win10 +Ubuntu 18.04双系统安装详细教程

Then set the following options:

Note: Writing sysLinux boot is very important! ! ! Otherwise, there will be an error message later.

Win10 +Ubuntu 18.04双系统安装详细教程

Then click "Yes", and finally click Write to start writing the file. When completed, close it. The U disk creation is completed.

Win10 +Ubuntu 18.04双系统安装详细教程

Win10 +Ubuntu 18.04双系统安装详细教程

Step 4: Disk partitioning for ubuntu

Note: The Windows 10 64-bit version I installed can be compressed through disk (the method is Baidu's, recommended: https://www.jizhuba.com/kejiyouxi/20170929/5721.html) to get a disk of about 30G, but Do not create a partition, make it a free partition so that it can be recognized by Ubuntu installation! ! !

Click My Computer-->Management-->Disk Management to partition (you can use Baidu here, there are many online tutorials, it is very simple) and separate a free disk that is almost larger than 30G. Be sure not to allocate a disk to it. symbol (such as the one shown in green)

Win10 +Ubuntu 18.04双系统安装详细教程

Step 5: Start installing the system (be sure to insert the USB flash drive before booting)

①Enter the BIOS to perform Secure Boot settings (generally press F2 or Fn F2 when turning on the computer), enter Boot, and if the Boot Mode is UEFI, we will set the following Secure Boot to Disable. If Boot Mode is Legacy, skip this step.

②Then put the USB HDD startup item at the top, which means to boot from the U disk first. (There are certain differences in the content of different computers in this process. I will not show the picture here. Anyway, you can think about it for a while or refer to it. Several online blogs, I tried several times before entering the Ubuntu installation interface).

③After setting, save and exit, you will enter the Ubuntu interface and select installation (if you choose trial, you will directly enter the Ubuntu trial environment).

Win10 +Ubuntu 18.04双系统安装详细教程

④ Then connect to the Internet (it is best to connect, because some files will be automatically downloaded from the Internet later)

Win10 +Ubuntu 18.04双系统安装详细教程

⑤When you get to the installation type, select other options

Win10 +Ubuntu 18.04双系统安装详细教程

⑥The next step is to partition the Ubuntu system:

Find the disk whose size we compressed before (the disk that has not been used), double-click to enter the partition settings

Set up swap space

Used as virtual memory, this is generally 1 to 2 times the physical memory (memory) of your own, of course it can be larger (mine is 6G memory, the picture below is an online picture, the size is allocated according to your own situation ).

                Win10 +Ubuntu 18.04双系统安装详细教程

Settings /Partition (root partition)

Then double-click the remaining free disk and double-click to create the /: partition, which is mainly used to store Linux system files. Specific steps are as follows

Select the logical partition here, the starting position of the space, for the Ext4 log file, the mount point: /, the size is recommended to be 8-16G, you can set it according to your own situation, I set it here to 10G.

Set the home partition (personal file storage)

Set home, we select the logical partition, the starting position of the space, used for Ext4 log files, the mount point: /home, the size can be based on your own situation. Pictures refer to the settings above.

Set the boot partition (start boot storage)

This partition contains the kernel of the operating system and files used in the process of starting the system. It is necessary to build this partition. The size of the partition is about 150MB-200MB, and it cannot be larger. Select the ext4 log file, mount point: /boot.

Set swap (swap space):

Logical partition, the size is set to the computer memory size (it can also be 1-2 times the computer memory), the function is equivalent to virtual memory, if it is too small, it may slow down the system.

#Set /usr partition (optional)

#You decide where to store the system and personal software. If there are many installation programs, use more points. Select the ext4 log file, mount point: /usr.

⑦Select the device for installing the bootloader below to the device corresponding to the boot area just separated, and then click Install.

Win10 +Ubuntu 18.04双系统安装详细教程

⑧ Complete the corresponding simple operations according to the prompts

Step 6: Add system boot

After unplugging the U disk, the computer restarts. At this time, the previous Windows system is usually entered. After entering, download EasyBCD (you can find it by searching online). When opening the software, it is recommended to complete the following steps ( If this method doesn't work, Baidu will use other methods):

Win10 +Ubuntu 18.04双系统安装详细教程

Then you can see the newly added guide in the view settings, save and exit

Win10 +Ubuntu 18.04双系统安装详细教程

Step 7: Shut down and restart, you will see two system options on the startup interface. The installation is now complete

Note: If there are some other problems, please solve them on Baidu yourself;

refer to:

Some of the pictures in this blog are from Baidu resources. Some improvements have been made by referring to the two blogs.

https://www.php.cn/link/48abd1b3f5452995d995eb78a77013c8

https://www.php.cn/link/5cc33dfe7e069a757ca0fcbe6b95c89e

The above is the detailed content of Detailed explanation of Win10 and Ubuntu 18.04 dual system installation tutorial. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:jb51.net. If there is any infringement, please contact admin@php.cn delete