中国青基会
RSS
热门关键字:  None  linux+moodle安装  mac  rhel5  199
当前位置 : Nixsky>BSD>OpenBSD>列表

光盘安装OpenBSD3.6

来源: 作者: 时间:2007-04-22 点击:

1.1.系统从光盘启动,自检过程 - 略...
1.2.选择安装类型
|erase ^?, werase ^W, kill ^U, intr ^C, status ^T
|(I)nstall, (U)pgrade or (S)hell? i <then RETURN>;
#####################################################
其中(I)代表安装一个全新的系统,(U)代表升级原有的OpenBSD旧版本的系统,(S)代表退出并进入命令行状态。
我们要安装一个全新的OpenBSD系统,所以我们在这里输入I,并回车。(当然你也可以按下Ctrl+C退回到命令行状态,再次输入install回到安装程序,如果在安装程序时误操作,可以使用这种方法进入命令行状态然后再重新回到安装程序开始安装。)
#####################################################
1.3.选择终端类型
|Welcome to the OpenBSD/i386 3.6 install program.
|
|This program will help you install OpenBSD in a simple and rational way. At
|any prompt except password prompts you can run a shell command by typing
|'!foo',or escape to a shell by typing '!'. Default answers are shown in []'s
|and are selected by pressing RETURN. At any time you can exit this program by
|pressing Control-C and then RETURN, but quitting during an install can leave
|your system in an inconsistent state.
|
|Terminal Type? [vt220] <RETURN>;
1.4.选择键盘类型
|Do you wish to select a keyboard encoding table? [no] yes <then RETURN>;
|Select your keyboard type: (P)C-AT/XT, (U)SB, or 'done' [P] <RETURN>;
|The available keyboard encoding tables are:
|
| be br de dk es fr it jp lt no pt ru sf sg sv ua uk us
|
|Table name? (or 'done') [us] <RETURN>;
|keyboard mapping set to us
##########################################
对于我们大部分的中国用户而言,我们使用的都是标准的美式键盘,这也是OpenBSD默认的键盘布局,所以我们直接按回车继续。
###############################################
1.5.磁盘划分
|IS YOUR DATA BACKED UP? As with anything that modifies disk contents,this
|program can cause SIGNIFICANT data loss.
|
|It is often helpful to have the installation notes handy. For complex disk
|configurations, relevant disk hardware manuals and a calculator are useful.
|
|Proceed with install? [no] yes <then RETURN>;
###########################
安装程序提示是否开始安装,我们直接输入y,并回车
#######################################
|Cool! Let's get to it...
|
|You will now initialize the disk(s) that OpenBSD will use. To enable all
|available securty features you should configure the disk(s) to allow the
|creation of separate filesystems for /, /tmp, /var, /usr, and /home.
|
|Available disks are: wd0.
|Which one is the root disk? (or 'done') [wd0] <RETURN>;
################################
在OpenBSD系统中对于IDE接口的硬盘的命名方式是wd0,wd1,wd2……依次类推,而SCSI接口的硬盘则是sd0,sd1,sd2……依次类推。
#############################################
|Do you want to use *all* of wd0 for OpenBSD? [no] yes <then RETURN>;
#####################################
系统询问是否将检测到的整个硬盘都给OpenBSD使用,默认是no,但是我们在这里是要将OpenBSD作为服务器来用,所以我们在这里输入yes,并回车。
########################################
|Putting all of wd0 into an active OpenBSD MBR partition (type 'A6') ...
|wd0: no disk label
|done.
|
|You will now create an OpenBSD disklabel inside the OpenBSD MBR
|partition. The disklabel defines how OpenBSD splits up the MBR partition
|into OpenBSD partitions in which filesystems and swap space are created.
|
|The offsets used in the disklabel are ABSOLUTE, i.e. relative to the
|start of the disk, NOT the start of the OpenBSd MBR partition.
|
|# using MBR partition 3: type A6 off 63 (0x3f) size 8385687 (0x7ff54b)
|
|Treating sectors 63-8385930 as the OpenBSD portion of the disk.
|You can use the 'b' command to change this.
|Initial label editor (enter '?' for help at any prompt)
###################################
在>;提示符下输入?将显示帮助,命令p用来显示显示当前硬盘分区的划分情况,命令d用来删除现有的分区(注意:c分区被OpenBSD系统保留使用,不能被删除或者被变更),命令z用来清空OpenBSD的分区表,命令a用来创建新的OpenBSD分区。
在OpenBSD系统中,xx0a一定是"/"文件系统,xx0b一定是swap文件系统,xx0c一定表示整个硬盘,在这三个文件系统的基础上,你可以进行xx0d、xx0e...等文件系统的划分。
命令“d x”表示删除文件系统,其中,xx0c一定不可以被删除,即便你执行“d c”,也不会成功;
命令“a x”表示增加文件系统,其中,xx0c一定不可以被覆盖,即便你执行“a c”,也不会成功;
partition是分区编号,从a分区开始,c分区跳过。
offset是指每一个分区的偏移地址。
size是分区大小。可以直接输入分区的偏移地址也可以直接输入m为单位的数值,比如我们在size项输入200m,系统回应说这个值近似于的偏移地址为409185。
FS type是文件系统类型。
mount point是挂载点。
最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册