search
HomeSystem TutorialLINUXDetailed 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:

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:脚本之家. If there is any infringement, please contact admin@php.cn delete
What is the salary of Linux administrator?What is the salary of Linux administrator?Apr 17, 2025 am 12:24 AM

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.

What is the main purpose of Linux?What is the main purpose of Linux?Apr 16, 2025 am 12:19 AM

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.

Does the internet run on Linux?Does the internet run on Linux?Apr 14, 2025 am 12:03 AM

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.

What are Linux operations?What are Linux operations?Apr 13, 2025 am 12:20 AM

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.

Boost Productivity with Custom Command Shortcuts Using Linux AliasesBoost Productivity with Custom Command Shortcuts Using Linux AliasesApr 12, 2025 am 11:43 AM

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

What is Linux actually good for?What is Linux actually good for?Apr 12, 2025 am 12:20 AM

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.

Essential Tools and Frameworks for Mastering Ethical Hacking on LinuxEssential Tools and Frameworks for Mastering Ethical Hacking on LinuxApr 11, 2025 am 09:11 AM

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

How to learn Linux basics?How to learn Linux basics?Apr 10, 2025 am 09:32 AM

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.

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Safe Exam Browser

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

Notepad++7.3.1

Easy-to-use and free code editor

MinGW - Minimalist GNU for Windows

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

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

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool