Windows + Ubuntu dual system (super detailed graphic tutorial)

Windows + Ubuntu 16.04 dual system (super detailed graphic tutorial)

1. Preparation:

(1) Preparation tools:
  ➢One USB flash drive (please back up the data in the USB flash drive in advance, because you will need to format the USB flash drive for subsequent operations)

➢Ubuntu16.04LTS (long-term support version) image:

Download link: http://www.ubuntu.com/download/desktop

(Ubuntu China download address: http://cn.ubuntu.com/download/)

Cloud Disk Download Address: Baidu Cloud Disk: Link: https://pan.baidu.com/s/1gj_HFK4MQIhOp4PUCvfllA Extraction code: id6f

➢ Start the U disk creation software:

Download link: Link: https://pan.baidu.com/s/1HAjlnHLkB6H3IdQ54t2mFw Extraction code: 3ywa

(The page provided by the official Ubuntu website: http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-windows)

➢EasyBCD: Link: https://pan.baidu.com/s/1slPiDZ3 Password: z3r7

(2) Partition-separate a disk for installing Ubuntu.
  I have moved the content of the link below, and just wrote the part we need. Please note: this "Baidu experience" is divided into It is "C drive". When you partition, please partition according to your disk size, and it is not recommended to divide it into "C drive". It is recommended to divide it into a non-system disk. If you don't know how much space to divide, please look at the back first. I wrote the partition setting part of Ubuntu installation. )

(1) Before partitioning, we must enter the system's disk management. There are two ways to enter Disk Management. One is to enter the disk management through computer properties.

The second is to directly right-click the windows button (windows+X) and select Disk Management.

Insert picture description hereInsert picture description hereInsert picture description here
(2) After entering the disk management, we can see my partition status. Then select the disk you need to partition, right-click, and select "Compress Volume", as shown in the figure.
Insert picture description here

(3) Then the system will automatically query the compressed space, as shown in the figure: Insert picture description here
(4) Then we choose the size of the compressed space. Click to compress:
Insert picture description here
(5) Wait a while, the space will be compressed. An available space will appear as shown in the figure. This is the space we just compressed:
Insert picture description here
(6) Note: The disk partitioning can be done here, and there is no need to proceed further. The original "experience" and the "new partition" part at the back are not used here. , So just do the above steps.

(3) Make a bootable USB flash drive:
Ubuntu 16.04 version download address

How to make a USB flash drive for Ubuntu 16.04 system installation

Second, install Ubuntu

(1) ------ Boot from U disk: Insert the U disk into the computer, and select the boot method as U disk boot. (If your computer has two USB... options to choose from, one with "USB...UEFI" and the other without "UEFI", please choose the one without "UEFI", and the one with "UEFI" may appear Question, I have a classmate, or you can try them all) (about how to boot from U disk, fast U disk boot, etc., please Baidu according to your computer model), the following is my choice of U disk boot Screenshot:
Insert picture description here
Windows system installation must have this step, but when ubuntu is installed, some skip this step directly, insert the USB flash drive and restart it and enter the ubuntu installation interface directly.

(2) ------ Welcome interface: After selecting the U disk to start, wait for a while, the following "welcome" interface will appear (select Chinese through the language bar on the left), after selecting Chinese, click "Install Ubuntu";
Insert picture description here
(3) ------ Ready to install: Next, you will enter the "Ready to install Ubuntu" interface: here, check "For graphics or wireless hardware...", and then click "Continue". (Here will check whether it is connected to the Internet. If there is no Internet, the "Download updates when installing Ubuntu" cannot be selected. Mine is an optional virtual machine because the virtual machine used for screenshots is connected to the Internet. It should be when you install it. Not selectable, you need to wait a while
Insert picture description here
after clicking continue): (4) ------ Select the installation type: After the previous step, enter the "installation type" interface, select "other options", and then continue, such as Picture: (Here I am a virtual machine, the actual installation options may be different, but please select "other options", I have not tried the other options, not guaranteed to succeed, I personally think that choosing "other options" is also the best Option)
Insert picture description here
(5) ------ Selection of installation location and disk partition: After that, it enters a very important link—choose the installation location and allocate partitions. [Note—At first, I only divided into three partitions: "/", "/home", and "swap". In fact, I still need a very important partition, the "/boot" partition. Thank you @小段阿誉Suggestions. If your computer is only going to install Ubuntu, I personally feel that "/boot" is not necessary, but if it is a dual system, it is strongly recommended to separate a "/boot", which will provide great convenience in the future.

Regarding partitions, I want to talk about it here:
The size of a partition mainly depends on personal choice. The following may be helpful:

/boot-200 MB; the actual demand is about 100 ~ 200MB. If there are multiple kernel/boot images at the same time, it is recommended to allocate 200 or 300 MB. (Personal recommendation: 200MB ~ 300MB)
/-15-20 GB; 15-20 GB is a more appropriate value for most users. (Personal suggestion: 15G can not be used up in a short time. For long-term use, 20GB~25GB is recommended)
/home-[Uncertain]; Usually used to store user data, downloaded files and media files. In desktop systems, /home is usually the largest file system. (Personal suggestion: the more the better)
swap-[undefined]; On machines with less than 512 MB of RAM, the swap partition is usually allocated twice the size of the RAM. If you have more memory (greater than 1024 MB), you can allocate less space or even don't need a swap partition. (Personal suggestion: I feel that the current computer configuration does not require swap, but it will also be used, so it is still recommended how many points)
Note: It is recommended to use Swap when using a virtual machine. If your disk space is really large enough, you can also increase the space appropriately for each partition above (see this for yourself). Of course, if the disk space is not very large, you can also reduce the space appropriately, but try not to be less than the minimum value (/boot 200MB)

The above are just personal suggestions. I will explain to you from my current disk usage. (I want to say a few more words here. This blog was first written in April 2016. Because I changed the solid state drive, Ubuntu was reinstalled. It was probably October 2016. At that time, I didn’t know much about each partition. The points are not very reasonable). At that time, I allocated a total of about 120GB for the Ubuntu system. This is my unreasonable partition. Don't follow the following partitions, among them:

/boot ---- 2GB------> Only over 100 MB was used, and 1.8GB was wasted

/ ------ 50GB-------> As a result, I have only used it until now. It is less than 14GB, and there is 36GB of space there. "Haha"

/home ---- 60GB ------> It's not that I save the use, I dare not save anything. I have used it up a long time ago. The files have been cleared several times. Now it is mainly some things for programming and learning ( Those things involved in Android development are nearly 20 GB...), I don't dare to store other things indiscriminately.

swap ------8GB ------> Usually I am idle there, but it may not be necessary to install a Mac or Win virtual machine on Ubuntu on a whim one day, so this is also on me Suggest the reasons for how many points. (Currently Ubuntu is mainly used, but in order to hand in homework, sometimes you have to switch to Windows to write word documents. Although Ubuntu also has office software, there will be incompatibility with Microsoft office in some formats, and typesetting errors occur. The homework still has to Written in Microsoft office, so installing a Win system virtual machine in Ubuntu and installing office will not be used to switch back to the system.)

Okay, a lot of long-winded, let's look at the partitions below:

It's going to be long-winded again. My virtual machine only has a completely blank disk, about 120GB. (During the installation process, you will find that the size of the disk may be more than 120GB, which will be a bit different. Don't be too entangled. I want to understand. Go check the information by yourself).

/boot partition: ------ 300MB

            这里又要多说几句,虽然啰嗦,不过请先看完这些...下面的图中/boot分区类型选择的是"逻辑分区",由于要把Ubuntu引导安装到/boot中,所以到后面"安装启动引导器的设备"要选择"/boot"分区,不过我在多次安装的过程中,遇到了以下的一些情况:

The result of installing the device/boot partition type boot device
Computer (composed of dual system) Logical partition/boot successful
Virtual machine logical partition/boot can be installed normally, but cannot be started
Virtual machine primary partition/boot successful
There is such a saying on the Internet, dual system-original The computer already has a boot device that is a primary partition type. Here, /boot selects "logical partition"; a completely blank disk - /boot selects "primary partition". I haven't tried them all, but it should be right. So, to sum up, to install dual systems, select "logical partition" for /boot, and the same is true for my own computer
Insert picture description here
 / partition ------ 30GB
 Insert picture description here
 /home partition ------ 90GB (I feel after installation /home is a bit big, I think it can be divided into the above / 5GB, that is, /home 85GB, / 35GB)
 Insert picture description here
 swap (swap space): ------ more than 5GB (the rest of the above is given to it)
Insert picture description here
partition After setting, check the number of the /boot partition, and then select the number of the /boot partition in the drop-down box of the "Install boot device" below, and click Install.
Insert picture description here
After selecting, check that it is correct, click "install now"...

(6) ------ Check partition:

Insert picture description here
After the check is correct, select Continue...
(7) ------ Select the region (Shanghai is the default, just "Continue" directly, you can set the precise location after installation):

Insert picture description here
(8) ------ Keyboard (Chinese, or according to personal preference _ ):
Insert picture description here
(9) ------ user settings:
Insert picture description here
After setting, select "Continue" ...

(10) ------ Installation is in progress, please wait:
Insert picture description here
(11) ------ Installation is successful, please restart:
Insert picture description here
If you install according to this process, you will find that there is no option for Ubuntu after restarting in the previous step Item, still go directly to Windows, don’t worry, look down.

Three, dual system startup problem:

After entering Windows, install EasyBCD, and then run (directly
  Insert picture description here
Insert picture description hereInsert picture description here
above ) . After all the above are done, restart, you will find that there is an additional startup item, select the one you just added (the name you want), and then enter the following Interface: (please select the first item)
Insert picture description here

Enter user password:
Insert picture description here

Then start tossing!

Insert picture description here

Guess you like

Origin blog.csdn.net/m0_51233386/article/details/114264254