Window Linux dual system installation process, super detailed
July 30, 2022
From: Getting Started
Window Linux dual system installation process
I've been working on it for a few hours this afternoon, it's a lot of difficulty, but I'm actually stuck with a small problem, everything else is easy.Next, I will briefly talk about the installation steps and the problems encountered.Let's talk about the equipment first:
A 12-year-old i3 window7 lenovo notebook to be scrapped
A 32g usb3.0
Another new win10 laptop
disk partition
First of all, on the computer with dual systems, divide a partition in the hard disk to install linux.Click on My Computer (This PC) -> Manage -> Disk ManagementFor example, our e-disk here originally had 98.55g, and then there were 50g remainingWe right click -> Shrink VolumeIt will pop up the total size before compression, and the size of the compressible spaceFor example, the available compression size mentioned here, it can only allow us to compress 20g.Then this separate 20g is used as a new unallocated partition, which can then be used by Linux.
Download Linux Mirror
Step 1: Download the Ubuntu image on a computer, here you can go to the official download, but the official link is the external network, the network speed may be a little slow,A better choice is a domestic mirror website, such as the Tsinghua University Open Source Software Mirror StationTsinghua Open Source Mirror | Tsinghua Open Source Mirror
then find here
At the beginning, I clicked the link of ubuntu and found that only the latest version was found, and the previous version could not be found.Later, I found that to find the previous version, click ubuntu-releases.Then there are various versions for you to choose from.I chose 18.04 to open the link.
Then download this thing.
U disk burning
UltraSO
The second step is to prepare a U disk of more than 8g (because the iso files are about 2g), and then prepare a burning tool. WeChat search public number: Linux technology fan, reply: linux to get information.I was stuck in this step for more than an hour, the burning tool is a burning tool! I used the most classic UltraSO, and then burned it step by step according to the steps of the tutorial, but there is always a problem,The total prompt when writing the hard disk image The hard disk image capacity is too smallThat's about it, and then I went through all the tutorials I found on the Internet, but I still couldn't.Some say that the U disk must be formatted first and then start the editor, some say that it is a version problem and re-download a new version.Finally, I tried it on an alternate version of the cracked version, and it worked!It's weird anyway, but I saved this version so I can use it later.
Find the location of your image file in the local directory and open it
After opening it is the following interface
Then we click -> Start -> Write Hard Disk ImageThen it comes to the next step, and then click to write, if there is no big problem, just wait for a period of time to burn and then it will be fine, very simple.
problem appear
But if like me, when writing, it always reminds "The disk, the image capacity is too small, it is recommended to change to other versions of UltraSO, and try both the higher version or the lower version of genuine.In addition, I read a tutorial yesterday, what deepin U disk boot disk software was used, maybe I don't know how to use it, anyway, after I did it, it seemed to be according to the new win8 or something, and even directly put my original computer The window is gone (I want to cry but have no tears, fortunately I didn't have any information in it), so everyone should avoid the pit, and it is more practical to do it yourself.Later, I found a similar software rufus, the operation process is simpler, and there is no problem that the disk image capacity is too small, and the burning effect is the same.
rufus
Here, click on our U disk.
Then choose the boot type and choose our image file.
The partition type and target system type depend on our computer.
partition type boot boot type
One of the tutorials I read before is that different startup and boot types have different ways to boot, so I was a little flustered when I installed it yesterday, and I always felt that there was something wrong. But later found that the default installation method is correct.Let's talk about the boot type first.win+r and enter msinfo32There are two main types: BIOS and UEFI. For example, the computer I operated was bought in 2014, low-end and mid-range, and the boot method is BIOS. And like a relatively new computer in recent years, the boot method is UEFI. MBR is the partition type of computers in the past, and now basically uses GPT. MBR can be used with BIOS or UEFI. And GPT can only be used with UEFI. Generally speaking, if the model is relatively old, MBR partition and BIOS are generally selected. If it is a new model, just choose GPT+UEFI. Or just choose the MBR partition directly (if there is no special requirement), but there is a problem that the MBR partition cannot be directly used for hard disks above 2T. So if you want large capacity, you can only choose GPT partition.
solid state drive boot
If the boot we use is not a USB disk, but a solid-state hard disk or a mobile hard disk, then we have to change it in the options of rugus:Click on advanced options -> then click on show usb external hard drive
Boot interface
Then the next step is to insert the u disk into the old computer (that is, the computer to install linux)
Then boot up and press delete or f12 (see the buttons of major brands of computers)
Lenovo seems to be pressing f12 or fn + f12 (to turn off the function keys)
Enter the boot boot interface.
old model(When you insert the u disk, if the u disk has an image in it, the computer can detect that the u disk can be used as a boot disk), so choose the EFI USB Device.The first ubuntu is to start with ubuntu, and the second window is to start windows.new modelClick on USB HDD thereThen click EFI USB Device to enter the Ubuntu installation interface, it's that simple.
Ubuntu installation interface
After coming to the installation interface, it is the normal steps, follow the steps, and then the more important thing is to divide the Linux partitions.Next, enter the branch option. The first Try Ubuntu without installing means to enter the preview ubuntu without installing it first, and the second Install Ubuntu is to directly install the Ubuntu system. The following two do not matter. You can choose either of the first two.1. 如果选了第一项预览可以进入临时 ubuntu 系统,可以打开 FIrefox 浏览器等其他软件看看,桌面上的 Install Ubuntu 18.04.3 LTS 双击即可进入安装。2. 选择中文(简体),继续3. 都选汉语,继续4. 不连无线,继续5. 选最小安装,这里说明一下,最小安装已足够使用,其他的办公软件也可以安装,但我建议是学会用命令行安装软件,所以建议最小安装。继续。6. 其他选项,继续7. 观察磁盘分布,找到当初分配的空闲空间,点左下角 + 号,接下来要进行四次分区8. 第一个分区,22000MB,主分区,空间起始位置,EXT4 日志文件系统,挂载点 /9. 第二个分区,2048MB,逻辑分区,空间起始位置,用于交换空间10. 第三个分区,200MB,逻辑分区,空间起始位置,EXT4 日志文件系统,挂载点 / boot 11. 第四个分区,默认大小(剩余所有空间),逻辑分区,空间起始位置,EXT4 日志文件系统,挂载点 / home12. 分配四个分区后,直接点现在安装13. 出现对话框,点继续 14. 默认 shanghai,继续15. 输入姓名和密码,继续16. 等待安装过程17. 安装完成后,点现在重启18. 以后开机都会是这个界面,Ubuntu 就是 Ubuntu 系统,第三个 windows 开头的一般是原 windows 系统,这里直接选第一个进入 Ubuntu 系统19. 输入密码,登录20. 进入 Ubuntu 系统,至此,安装完成,享受你的新系统吧。