


Detailed explanation of Win10 and Ubuntu 18.04 dual system installation tutorial
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:
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.
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.
After selection, the interface is shown in the figure below:
Then proceed with the following steps:
Then set the following options:
Note: Writing sysLinux boot is very important! ! ! Otherwise, there will be an error message later.
Then click "Yes", and finally click Write to start writing the file. When completed, close it. The U disk creation is completed.
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)
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).
④ Then connect to the Internet (it is best to connect, because some files will be automatically downloaded from the Internet later)
⑤When you get to the installation type, select other options
⑥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 ).
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.
⑧ 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):
Then you can see the newly added guide in the view settings, save and exit
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!

The average annual salary of Linux administrators is $75,000 to $95,000 in the United States and €40,000 to €60,000 in Europe. To increase salary, you can: 1. Continuously learn new technologies, such as cloud computing and container technology; 2. Accumulate project experience and establish Portfolio; 3. Establish a professional network and expand your network.

The main uses of Linux include: 1. Server operating system, 2. Embedded system, 3. Desktop operating system, 4. Development and testing environment. Linux excels in these areas, providing stability, security and efficient development tools.

The Internet does not rely on a single operating system, but Linux plays an important role in it. Linux is widely used in servers and network devices and is popular for its stability, security and scalability.

The core of the Linux operating system is its command line interface, which can perform various operations through the command line. 1. File and directory operations use ls, cd, mkdir, rm and other commands to manage files and directories. 2. User and permission management ensures system security and resource allocation through useradd, passwd, chmod and other commands. 3. Process management uses ps, kill and other commands to monitor and control system processes. 4. Network operations include ping, ifconfig, ssh and other commands to configure and manage network connections. 5. System monitoring and maintenance use commands such as top, df, du to understand the system's operating status and resource usage.

Introduction Linux is a powerful operating system favored by developers, system administrators, and power users due to its flexibility and efficiency. However, frequently using long and complex commands can be tedious and er

Linux is suitable for servers, development environments, and embedded systems. 1. As a server operating system, Linux is stable and efficient, and is often used to deploy high-concurrency applications. 2. As a development environment, Linux provides efficient command line tools and package management systems to improve development efficiency. 3. In embedded systems, Linux is lightweight and customizable, suitable for environments with limited resources.

Introduction: Securing the Digital Frontier with Linux-Based Ethical Hacking In our increasingly interconnected world, cybersecurity is paramount. Ethical hacking and penetration testing are vital for proactively identifying and mitigating vulnerabi

The methods for basic Linux learning from scratch include: 1. Understand the file system and command line interface, 2. Master basic commands such as ls, cd, mkdir, 3. Learn file operations, such as creating and editing files, 4. Explore advanced usage such as pipelines and grep commands, 5. Master debugging skills and performance optimization, 6. Continuously improve skills through practice and exploration.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

Notepad++7.3.1
Easy-to-use and free code editor

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool