U盘安装ubntu系统

论坛 期权论坛 脚本     
匿名技术用户   2021-1-4 15:07   11   0

一、制作u盘启动

参照百度经验中的方式制作启动盘:http://jingyan.baidu.com/article/a3761b2b66fe141577f9aa51.html

二、插入u盘,设置u盘启动弹出安装画面

参照http://support.huawei.com/ecommunity/bbs/10243722.html

安装过程中遇到安装过程中遇到一个问题,cdrom无法挂载

“Your installation CD-couldn't be mounted. This probably means that the CD-ROM was not in the drive. If so you can insert it and try again Retry mounting the CD-ROM?”

解决方案:

1) 将Ubuntu的安装镜像拷贝到U盘中;

2)安装过程中,在报错的地方选择进入shell;

3.)将U盘中(在/media目录下)的iso挂载到/cdrom目录下:`mount -t iso9660 -o loop /media/<your-iso> /cdrom`


摘抄部分内容

1、 弹出“Choose language”的“Choose a language”界面,选择“English”,按“Enter”键,如图2-2

2-2

2、 出现ubuntu界面选择“Install ubuntu Server”,按“Enter”键,如图2-3

2-3

3、 出现“Select a language“界面,默认是English,直接回车即可

2-4

4、 出现“Select your location”界面,默认选择“Hong Kong”,输入“Enter”键,如图2-5

2-5

5、 出现“Detect keyboard layout”界面,默认选择“No”,输入“Enter”键,如图2-6

2-6

6、 出现“Origin of the keyboard”界面,默认选择“US”,输入“Enter”键,如图2-7

2-7

7、 出现“keyboard layout”界面,默认选择“US”,输入“Enter”键,如图2-8

2-8

8、 系统开始扫描光盘,随后出现“configure the network”界面,系统提示选择“primary network interface”,选择第一个,输入“Enter”键,如图2-9

2-9

9、 系统开始通过DHCP配置IP。如果需要手动配置网络,选择“Cancel”,输入“Enter”键继续,如图2-10

2-10

10、 进入“Configure the network”界面,如果获取不到IP会提示“network autoconfiguration failed”,输入“Enter”键继续,如图2-11

2-11

11、 进入“Configure the network”界面,选择“Do not configure the network at this time”,输入“Enter”键继续,如图2-12

2-12

12、 进入“Please enter the hostname for this system”界面,在文本框中输入hostname ,输入“Enter”键继续,如图2-13

2-13

13、 进入“Set up users and passwords”在Full name for the new user键入您想用的用户名

2-141

2-142

14、 给刚才创建的用户设置密码,及确认密码,如图2-151)(2)(3(4)

2-151

2-152

2-15 3

2-15 (4)

15、 系统开始检测硬盘和其他硬件,随后进入“Partition disks”界面,在“Partitioning method”中选择“Manual”,输入“Enter”键继续,如图2-16

2-16

如果配置的是3008RAID卡,则会出现如下界面,提示找不到硬盘,则需要按照“4.3 3008 RAID卡驱动载指导”来加载该RAID卡驱动。

16、 进入“Partition disks”界面,通过上下方向键,选中“FREE SPACE”,输入“Enter”键继续,如图2-17

2-17

17、 进入“Partition disks->create a new partition”界面,选中“create a new partition”,输入“Enter”键继续,如图2-18

2-18

18、 进入“Partition disks->New Partition size”界面,在文本框中输入“80G”,输入“Enter”键继续,如图2-19

2-19

19、 进入“Partition disks->type for the new partition”界面,选择“primary”,输入“Enter”键继续,如图2-20

2-20

20、 进入“Partition disks->location for the new partition”界面,默认选择“beginning”,输入“Enter”键继续 如图2-21

2-21

21、 进入“Partition disks->partition setting”界面,确认该分区是用作“/”,选择适合的文件系统类型,选择“Done setting up the partition”,输入“Enter”键继续,如图2-22

2-22

22、 进入“Partition disks”界面,通过上下方向键,选中“free space”,输入“Enter”键继续,如图2-23

2-23

23、 进入“Partition disks->create a new partition”界面,选中“create a new partition”,输入“Enter”键继续,如图2-24

2-24

24、 进入“Partition disks->New Partition size”界面,在文本框中输入“4G”,输入“Enter”键继续,如图2-25

2-25

25、 进入“Partition disks->type for the new partition”界面,选择“primary”,输入“Enter”键继续,如图2-26

2-26

26、 进入“Partition disks->location for the new partition”界面,选择“beginning”,输入“Enter”键继续,如图2-27

2-27

27、 进入“Partition disks->partition setting”界面,选择“use as”行,输入“Enter”键继续,如图2-28

2-28

28、 进入“Partition disks->how to use the partition”界面,选择“swap area”,输入“Enter”键继续,如图2-29

2-29

29、 进入“Partition disks->partition setting”界面,确认该分区是用作“swap area”,选择“Done setting up the partition”,输入“Enter”键继续,如图2-30

2-30

30、 进入“Partition disks”界面,选择“Finish partitioning and write change to disks”,输入“Enter”键继续,如图2-31

2-31

31、 进入“Partition disks->write the changes to disks”界面,选择“yes”,输入“Enter”键继续,如图2-32

2-32

32、 系统开始格式化分区,然后开始安装“base system”,如图2-33

2-33

33、 安装不需要通过代理访问网络,直接“Continue”;

2-34

34、 Configuring tasksel 选择第一项不自动升级更新系统

2-35

35、 按需求选择要安装的包,然后用Tab键切换到‘Continue‘按回车继续下一步

3-36

36、 系统正在进行安装

2-37

37、 提示是否安装grub到硬盘引导分区,选择‘Yes‘后回车继续下一步

2-38

38、 安装结束,按Continue后机器会重启,之后可以用刚才创建的用户密码登陆系统

3-39


分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:7942463
帖子:1588486
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP