Win10, Ubuntu16.04 system installation bis

First, the preparatory phase

① Download Ubuntu16.04

We first went to Ubuntu official website to download the iso image file of a Ubuntu16.04. Of course, there is also a gifted unicorn, in fact, the Ubuntu16.04 finished a bit, personally recommend the installation may well experience some of the Ubuntu16.04.
Download Ubuntu16.04.6 LTS

② The floppy disk through (UltraISO to) plate production system U

We went to download a software --UltraISO. After the download is installed, we open the floppy disk through an interface open just downloaded ubuntu-16.04.6-desktop-amd64.iso image file.
u1
u2
After the ubuntu-16.04.6-desktop-amd64.iso input file written to the hard hard disk image we click
u3
then first of all choose our own U disk (usually computer peripherals to automatically select u disk), then pay attention to writing mode, select USB- HDD +, and finally click on to write
u4
the last waiting writing has been completed, that our installation U disk on the production well.

③ disk partition

We right-click the computer, and then click Manage to enter management. Then click into the storage disk management. This time you can look at more letter which the remaining capacity, which letter will be compressed. Recommended for Ubuntu distribution 70G size. Of course, if more spare hard drive, you can also allocate more space for Ubuntu.
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Here Insert Picture Description
Disk partition unallocated area after the finish to get off, the next step began to enter the BIOS setup.

④ identify computer startup mode

Installation Win10 / Ubuntu Dual System UEFI / Legacy mode two start some differences, different modifications in the BIOS and the partition, the other operations are the same

首先按下电脑的win+r,输入msinfo32。
Here Insert Picture Description
Here Insert Picture Description
如果BIOS模式后写的是Legacy或者是传统两字的话就是Legacy模式(Legacy就是传统BIOS启动)。

⑤进入BIOS设置U盘启动

Legacy启动模式下安装Ubuntu 16.04

由于系统按照Legacy模式启动,首先关闭BIOS的Security Boot,再将Boot Priority设置为U盘,最后F10保存。

  • 设置Secure Boot
    这个时候我们已经把win10关闭了,然后将系统u盘连入电脑,然后再开机。我们在开机的时候一直按F2进入BIOS(大多数电脑是按F2进入BIOS,Lenovo的笔记本是按Fn+F2,微星主板则是Del)。
    Here Insert Picture Description

UEFI启动模式下安装Ubuntu 16.04

若系统按照UEFI模式启动,不用关闭BIOS的Security Boot,只需将Boot Priority设置为U盘,最后F10保存。

二、 安装Ubuntu阶段

① 初始操作

1.进入安装起始页,选择中文后(建议还是English),点击“安装Ubuntu”;
Here Insert Picture Description
2.选择现在我不想连接wifi无线网络(为了无网操作),点击继续;
Here Insert Picture Description
3.选择第二个选项,然后点继续;
Here Insert Picture Description
4.然后选其它选项;
Here Insert Picture Description

② 分区

1、到分区步骤了(此处需谨慎),双击空闲进行分区(一定选那个70G的空闲区);

现在我们来对Ubuntu进行分区,在分区之前我先介绍一下Linux的文件系统

分区名称 详述
swap 用作虚拟内存,这个一般和自己的物理内存一般大
/ 主要用来存放Linux系统文件
/boot 存放linux内核,用来引导系统的,如果是Legacy启动就需要,UEFI可以不用有这个
efi UEFI特有,用于设置引导
/usr 存放用户程序,一般在/usr/bin中存放发行版提供的程序,用户自行安装的程序默认安装到/usr/local/bin中 (若不分“/usr”,系统会自动加至“/”中)
/home 存放用户文件(若不分“/home”,系统会自动加至“/”中)

建议只需有个“/”即可,不用“/usr”和“/home”。
重点:一般分区先分好“/boot”、然后就是“swap”,再分个“/home”(可不分),最后将剩余全给“/”
重点:分区的时候启动模式不同分区也不同!!!(见下表)

Legacy

用于 挂载点 分区类型
swap 主分区/逻辑分区
ext4 /boot 主分区/逻辑分区
ext4 / 主分区/逻辑分区

UEFI

用于 挂载点 分区类型
swap 主分区/逻辑分区
efi 主分区/逻辑分区
ext4 / 主分区/逻辑分区

UEFI模式下“/boot”可以不要,当时我直接加上/boot发现安装也成功,分区大小取决自己,一般“/boot”和“efi”分512M,“swap”大小和你内存大小一样,剩余容量全分给“ / ”。

下列图片则是参考作用:
Here Insert Picture Description
2.设置/boot /(根目录)分区(512M即可);
Here Insert Picture Description
3.设置交换空间分区(和自己的物理内存一样);
Here Insert Picture Description
4.设置主目录/分区(尽可能大,我这里设置15G左右);
Here Insert Picture Description
5.设置/home分区(尽可能大,我这里设置39G左右);
Here Insert Picture Description
6.设置/usr分区(剩下部分给/usr);
Here Insert Picture Description

7.安装启动引导的设备路径为/boot /(根目录)所在的盘(例如这里是/dev/sda3);
Here Insert Picture Description
Here Insert Picture Description

③ 后续操作

1. Select a city, click Continue;
Here Insert Picture Description
2, select Chinese, click Continue;
Here Insert Picture Description
3, setting name, computer name, user name (can be different), set a password, click Continue;
Here Insert Picture Description
4, the last to enter the installation interface, install restart the computer after a successful;
Note : You may get stuck in the last installation interface, the solution is: off net! ! !
Here Insert Picture Description
Here Insert Picture Description
After the above steps are completed, Ubuntu system installation preparatory work is finished.
Note: When you click the restart, because the system U disk is still connected to the computer, it will restart after installation of the system interface to enter the following figure, the solution is: First off immediately, unplug the U disk and then boot, and finally the computer directly into the win10 system, if to access the Ubuntu again need to use easyBCD;
Here Insert Picture Description

Three, easyBCD set the stage

① add a new launch project

After you download and run easyBCD, add startup items: add new entry -> linux / BSD: Type election GRUB, drive options that only 488MiB space, that is, / boot partition corresponding:
Here Insert Picture Description

② edit the boot menu:

You can set the default operating system boot entry, as well as default jump time
Here Insert Picture Description
here, the basic installation is complete, restart you can choose to enter the Ubuntu system.

Published 36 original articles · won praise 5 · views 30000 +

Guess you like

Origin blog.csdn.net/qq_40520596/article/details/95797056