光盘安装OpenBSD3.6的方法

作者&投稿:于章 (若有异议请与网页底部的电邮联系)
~ 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是挂载点。
   注意:b分区默认是留给swap分区的,并且swap分区无需mount point。
   ##################################
   |; p then RETURN;
   |device: /dev/rwd0c
   |type: ESDI
   |disk: ESDI/IDE disk
   |label: VMware Virtual I
   |bytes/sector: 512
   |sectors/track: 63
   |tracks/cylinder: 16
   |sectors/cylinder: 1008
   |cylinders: 8332
   |total sectors: 8388608
   |free sectors: 8385867
   |rpm: 3600
   |
   |16 partitions:
   |# size offset fstype [fsize bsize cpg]
   | a: 8385867 63 unused 0 0
   | c: 8388608 0 unused 0 0
   |; d a then RETURN;
   |; a a then RETURN;
   |offset: [63] RETURN;
   |size: [8385867] 128M then RETURN;
   |Rounding to nearest cylinder: 262017
   |FS type: [4.2BSD] RETURN;
   |mount point: [none] / then RETURN;
   |; a b then RETURN;
   |offset: [262080] RETURN;
   |size: [8123850] 256M then RETURN;
   |Rounding to nearest cylinder: 524160
   |FS type: [swap] RETURN;
   |; a d then RETURN;
   |offset: [786240] RETURN;
   |size: [7599690] 128M then RETURN;
   |Rounding to nearest cylinder: 262080
   |FS type: [4.2BSD] RETURN;
   |mount point: [none] /tmp then RETURN;
   |; a e then RETURN;
   |offset: [1048320] RETURN;
   |size: [7337610] 512M then RETURN;
   |Rounding to nearest cylinder: 1048320
   |FS type: [4.2BSD] RETURN;
   |mount point: [none] /var then RETURN;
   |; a f then RETURN;
   |offset: [2096640] RETURN;
   |size: [6289290] 2048M then RETURN;
   |Rounding to nearest cylinder: 4194288
   |FS type: [4.2BSD] RETURN;
   |mount point: [none] /usr then RETURN;
   |; a g then RETURN;
   |offset: [6290928] RETURN;
   |size: [2095002] RETURN;
   |FS type: [4.2BSD] RETURN;
   |mount point: [none] /home then RETURN;
   |; p then RETURN;
   |device: /dev/rwd0c
   |type: ESDI
   |disk: ESDI/IDE disk
   |label: VMware Virtual I
   |bytes/sector: 512
   |sectors/track: 63
   |tracks/cylinder: 16
   |sectors/cylinder: 1008
   |cylinders: 8332
   |total sectors: 8388608
   |free sectors: 8385867
   |rpm: 3600
   |
   |16 partitions:
   |# size offset fstype [fsize bsize cpg]
   | a: 262017 63 4.2BSD 2048 16384 16 # /
   | b: 524160 262080 swap
   | c: 8388608 0 4.2BSD 0 0
   | d: 262080 786240 4.2BSD 2048 16384 16 # /tmp
   | e: 1048320 1048320 4.2BSD 2048 16384 16 # /var
   | f: 4194288 2096640 unused 2048 16384 16 # /usr
   | g: 2095002 6290928 4.2BSD 2048 16384 16 # /home
   |; w then RETURN;
   |; q then RETURN;
   |No label changes.
   |Mount point for wd0d (size=131040k); (or 'none' or 'done')[/tmp] RETURN;
   |Mount point for wd0e (size=524160k); (or 'none' or 'done') [/var] RETURN;
   |Mount point for wd0f (size=2097144k); (or 'none' or 'done') [/usr] RETURN;
   |Mount point for wd0g (size=1047501k); (or 'none' or 'done') [/home] RETURN;
   |Mount point for wd0d (size=131040k); (or 'none' or 'done') [/tmp] done then RETURN;
   |No more disks to initialize.
   |
   |OpenBSD filesystems:
   |wd0a /
   |wd0d /tmp
   |wd0e /var
   |wd0f /usr
   |wd0g /home
   |
   |The next step *DESTORYS* all existing data on these partitions!
   |Are you reallysure that you're ready to proceed? [no] yes then RETURN;
   | ...... 创建磁盘过程省略 ......
   1.6.网络配置
   |System hostname? (short form, e.g. 'foo') bsd010ids then RETURN;
   #######################
   配置主机名
   #######################
   |Configure the network? [yes] RETURN;
   |Available interfaces are: le1 le2
   |Which on do you wish to initialize? (or 'done') [le1] RETURN;
   |Symbolic (host) name for le1? [bsd010ids] RETURN;
   |IPv4 address for le1? (or 'none' or 'dhcp') 10.x.x.x then RETURN;
   |Netmask? [255.255.255.0] RETURN;
   |Available interfaces are: le2
   |Which on do you wish to initialize? (or 'done') [le2] RETURN;
   |Symbolic (host) name for le1? [bsd010ids] RETURN;
   |IPv4 address for le2? (or 'none' or 'dhcp') 192.168.1.1 then RETURN;
   |Netmask? [255.255.255.0] RETURN;
   |No more interfaces to initialize.
   |DNS domain name? (e.g. 'bar.com') [my.domain] mycom.com then RETURN;
   |DNS nameserver? (IP address or 'none') [none] 202.97.224.68 then RETURN;
   |Use the nameserver now? [yes] RETURN;
   |Default IPv4 route? (IPv4 address, 'dhcp' or 'none') 10.x.x.x then RETURN;
   |add net default: gateway 10.x.x.x
   |Edit hostswith ed? [no] RETURN;
   |Do you want to do any manual network configuration? [no] RETURN;
   1.7.设置root口令
|Password for root account? (will not echo) enter your password then RETURN;
   |Password for root account? (again) enter your password again then RETURN;
   1.8.选择需要安装的系统文件
   |You will now specify the locatiob and names of the install sets you wangt to
   |load. You will be able to repeat this step until all of your sets have been
   |successfully loaded. If you are not sure what sets to install, refer to the
   |installatio notes for details on the contents of each.
   |
   |Sets can be located on a (m)ounted filesystem; a (c)drom, (d)isk or (t)ape
   |device; or a (f)tp, (n)fs or (h)ttp server.
   |Where are the install sets? (or 'done') c then RETURN;
   |Available CD-ROMs are cd0.
   |Which one contains the install media? (or 'done') [cd0] RETURN;
   #####################################
   安装程序询问用哪种方式安装,我们输入c,从cdrom上安装,然后选择第一个cdrom设备cd0,回车继续。
   #######################################
   |
   |Pathname to the sets? (or 'done') [3.6/i386] RETURN;
   |
   |The following sets are available. Enter a filename, 'all' to select
   |all the sets, or 'done'. You may de-select a set by prepending a '-'
   |to its name.
   |
   | [X]bsd
   | [X]bsd.rd
   | [ ]bsd.mp
   | [X]base36.tgz
   | [X]etc36.tgz
   | [X]misc36.tgz
   | [X]comp36.tgz
   | [X]man36.tgz
   | [X]game36.tgz
   | [ ]xbase36.tgz
   | [ ]xetc36.tgz
   | [ ]xshare36.tgz
   | [ ]xfont36.tgz
   | [ ]xserv36.tgz
   |
   |File name? (or 'done') [bsd.mp] -game36.tgz then RETURN;
   |
   |The following sets are available. Enter a filename, 'all' to select
   |all the sets, or 'done'. You may de-select a set by prepending a '-'
   |to its name.
   |
   | [X]bsd
   | [X]bsd.rd
   | [ ]bsd.mp
   | [X]base36.tgz
   | [X]etc36.tgz
   | [X]misc36.tgz
   | [X]comp36.tgz
   | [X]man36.tgz
   | [ ]game36.tgz
   | [ ]xbase36.tgz
   | [ ]xetc36.tgz
   | [ ]xshare36.tgz
   | [ ]xfont36.tgz
   | [ ]xserv36.tgz
   |
   |File name? (or 'done') [bsd.mp] done then RETURN;
   |Ready to install sets? [yes] RETURN;
   | ...... 安装过程省略 ......
   |
   |Sets can be located on a (m)ounted filesystem; a (c)drom, (d)isk or (t)ape
   |device; or a (f)tp, (n)fs or (h)ttp server.
   |Where are the install sets? (or 'done') done then RETURN;
这里解释一下OpenBSD的系统包的安装情况:
   “x”开动的系统包,是X Window使用的基本包(我不用这东西,没装);
   其余的包,除“bsd.mp”、“game36.tgz”外,都是系统必须的包,要装;
   “bsd.mp”我不知道是什么,也没查,我感觉应该是SMP用的,缺省就没选,我也没装;
   “game36.tgz”,这个我肯定是不装。
   1.9.系统服务配置
   |Start sshd(8 ) by default? [yes] RETURN;
   |Do you expect to run the X Window System? [yes] no then RETURN;
   |Change the default console to com0? [no] RETURN;
   |Saving configuration files...done.
   |Generating initial host.random file...done.
   |What timezone are you in? ('?' for list) [Canada/Mountain] ? then RETURN;
   |Africa/ Chile/ GB-Eire Israel NZ-CHAT Turkey
   |America/ Cuba GMT Jamaica Navajo UCT
   |Antarctica/ EET GMT+0 Japan PRC US/
   |Arctic/ EST GMT-0 Kwajalein PST8PDT UTC
   |Asia/ EST5EDT GMT0 Libya Pacific/ Universal
   |Atlantic/ Egypt Greenwich MET Poland W-SU
   |Australia/ Eire HST MST Portugal WET
   |Brazil/ Etc/ Hongkong MST7MDT ROC Zulu
   |CET Europe/ Iceland Mexico/ ROK posix/
   |CST6CDT Factory Indian/ Mideast/ Singapore posixrules
   |Canada/ GB Iran NZ SystemV/ right/
   |What timezone are you in? ('?' for list) [Canada/Mountain] PRC then RETURN;
   ##################
   此处用UTC则和你的手表时间一致,因此建议使用UTC
   ##多谢bluebell指出错误,输入的时候没有注意,呵呵
   #########################
   |Setting local timezone to 'PRC'...done.
   |Making all device nodes...done.
   |Installing boot block...
   |boot: /mnt/boot
   |proto: /usr/mdec/biosboot
   |device: /dev/rwd0c
   |/usr/mdec/biosboot: entry point 0
   |proto bootblock size 512
   |/mnt/boot is 3 blocks x 16384 bytes
   |fs block shift 2; part offset 63; inode block 120, offset 8488
   |using MBR partition 3: type 166 (0xa6) offset 63 (0x3f)
   |done.
   |
   |CONGRATULATIONS! Your OpenBSD install has been successfully completed!
   |To boot the new system, enter halt at the command prompt. Once the
   |system has halted, reset the machine and boot from the disk.
   |# halt then RETURN;
   |syncing disks... done
   |
   |The operating system has halted.
   |Please press any key to reboot. RETURN;
   |
   |Rebooting...
   至此,系统安装部分完毕。


在linux里输入什么命令可以启动windows安装盘
我家是linux系统,我想按装一个windows系统,但是把windows安装盘放进光驱之后,我重启系统,但windows安装盘没有启动,试了好几次都不行,听别人说要输入命令,那命令是什么???... 我家是linux系统,我想按装一个windows系统,但是把windows安装盘放进光驱之后,我重启系统,但windows安装盘没有启动,试了好几次都不行,听...

如何安装linuxmint与windows双系统
2.2安装Linux 用LinuxMint启动盘启动电脑,点桌面的Install LinuxMint 选择安装分区时,把EXT3分区挂载为根分区,Swap分区为Swap Grub启动安装到EXT3分区 安装完毕后不要重启,打开一个非Windows分区,右键,Open In Terminal(在终端中打开),输入下列命令 sudo dd if=\/dev\/sda? of=Linux.bin bs=...

用NERO如何分盘刻录?
3.用记事本打开文件夹DISK2中的AUTORUN.INF,修改为 [autorun] OPEN=0,目的是防止DISK2自动运行 4.用两张D5的盘分别刻录文件夹DISK1,DISK2,卷标为DISK1,DISK2。对于windows Install类 在步骤1后用ORCA打开文件夹disk1中的*.msi(游戏的主安装程序),在左边一栏找到Media然后再右边一栏 把datax....

五营区15298754919: 我下载了个虚拟光驱,应该怎么安装ISO文件 -
政王艾朗: 一、将下载的ISO系统文件存放在D盘,从网上下载虚拟光驱文件存放在D盘. 简易虚拟光驱下载地址:二、双击文件夹,打开简易虚拟光驱窗口,双击“不刻盘安装方法”,再双击“简易虚拟光驱.EXE”,解压后进Virtual Drive Manager窗口...

五营区15298754919: 怎样用虚拟光驱安装系统 -
政王艾朗: 第一步: 打开运行“简易虚拟光驱.EXE”,出现界面后,把ISO文件用鼠标复、拖到该软件界面上,确定.这时打开“我的电脑”,您就会发现多了一个光盘驱动器了.虚拟光驱已经生效.第二步: 左健双击运行“寻找虚拟光驱上的gho文件...

五营区15298754919: 用XP盗版光盘装系统教程 -
政王艾朗: 要看你的光盘是GHOST的还是原版安装版的····把光盘放入光驱,重启时进入bios设置成光驱启动··GHOST的话一般都是直接选择第一个安装到C盘即可,原版安装版的在读取光驱时按F8进入安装界面,选择你安装的驱动器按提示操作即可··都是中文的很简单

五营区15298754919: 下载光盘版软件件怎么安装? -
政王艾朗: 你说的软件是不是.iso文件,可以用虚拟光驱加载这个文件进行安装.从网上下载个虚拟光驱软件即可.

五营区15298754919: 怎么安装光盘上的软件 -
政王艾朗: 打开资源管理器,点击光盘盘符,将所有文件夹以目录树的形式显示在窗口左侧,一个一个的文件夹打开,找后缀为.exe的可执行文件,双击,看是否能够直接进入程序.有些软件是复刻版的,就是,已经解压安装完以后的可执行程序,即已经setup过的软件.如果是这样可以把整个光盘的文件夹及文件复制到硬盘,想用的话直接点击可执行程序,即可,省去了setup的过程.

五营区15298754919: 海尔电脑开不了机了,怎么办? -
政王艾朗: 可能是系统引导出现了问题,可以尝试一下是否可以恢复系统. 如果系统备份没有破坏的话,可以开机时多按几次END或HOME键,选择恢复出厂设置试试. 如果系统备份已经被破坏了,只能重新安装系统了. 一、U盘(PE安装法): 1、网...

五营区15298754919: 谁会用光盘装系统 M我
政王艾朗: 重新安装系统.方法如下: 一、拷贝走你C盘所有有用的文件到其他盘中. 二、准备一张GHOST镜像光盘(如果没有,你可以上镜像网站,下载,刻录成光盘就行了). 三、电脑设置光盘启动,按DEL或者F11,不同的电脑进入BOIS不一样,只要能找到,First Boot Device,第一项设置成光盘(CDROM)就行了.(如图) 四、插入光盘重新启动. 五、光盘启动后,选择第二项,进入PE,格式化C盘.(如果系统是崩溃的,这时也可以拷贝文件了) 六、重新启动,选择第一项,把镜像文件复制到C盘(重新做系统) 七、安装完成后,再安装自己需要的软件.

五营区15298754919: 网上下载了一个XP系统,打开是.iso文件,应该怎样安装? -
政王艾朗: 三种方法,第一种用nero刻盘安装,就是光盘安装 第二种(没试过不知道是否可行),解压到非系统盘,运行setup 第三种移动硬盘安装,把解压出来的所有文件复制到移动硬盘的根目录上(在此之前干脆格掉移动硬盘以保证以后顺利)复制过去之后把该分区设置的属性设置为一个主分区、可活动分区.然后在cmd命令行下输入以下文字 X:\boot\bootsect /nt60 X:其中X就代表移动硬盘的盘符.输入之后显示成功就说明已经把移动硬盘设置为可引导的,重启进bios改为用移动硬盘引导启动,然后就和光盘一样了

五营区15298754919: 光盘映像文件怎么安装?光盘映像文件怎么打开 -
政王艾朗: 有两种安装方法1把光盘映像刻录成光盘安装.2在PE中用虚拟光驱安装. 希望对你有帮助...

五营区15298754919: 台式电脑如何用光盘重装系统 -
政王艾朗: 台式电脑用光盘重装系统,分WINDOWS XP 3原盘版,和GHOST版两种形式:它们的装法是不同的:(1)如果是原盘版安装方法如下:第一步,设置光启: 所谓光启,意思就是计算机在启动的时候首先读光驱,这样的话如果光驱中有具有光...

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 星空见康网