当前位置: 移动技术网 > 科技>操作系统>Unix > 硬盘安装OpenBSD 3.6的方法

硬盘安装OpenBSD 3.6的方法

2018年03月16日  | 移动技术网科技  | 我要评论

硬件:40g硬盘,1g内存,usb外挂光驱.
系统:windows xp,10g fat32;freebsd,15g,其余均为自由空间.

安装步骤:

1.在c盘下建目录c:\openbsd3.6\i386,注意该目录的大小写,并从官方站点上把i386下的所有文件下载到c:\openbsd3.6\i386下.

2.重新启动计算机,进入grub for dos(如没有请先安装),按"c"进入grub命令模式.
 


grub>



3.输入下面命令,启动openbsd安装程序.
 


grub>map (hd0,0)/openbsd3.6/i386/cdrom36.fs (fd0)
grub>chainloader (hd0,0)/openbsd/i386/cdrom36.fs
grub>rootnoverify (fd0)
grub>boot 



4.到此已成功进入openbsd的安装界面.
 


erase ^?, werase ^w, kill ^u, intr ^c, status ^t
(i)nstall, (u)pgrade or (s)hell?



5.按"i"进行安装.

 


terminal type? [vt220] 回车

do you wish to select a keyboard encoding table? [no] 回车

proceed with install? [no] yes

which one is the root disk? (or 'done') [wd0] 回车

do you want to use *all* of wd0 for openbsd? [no] 回车



6.分区
 


disk wd0 geometry 4864/255/63 [78140160 sectors]
offset 0 signature 0xaa55
  starting     ending               lba info
 # id   c    h    s -     c    h    s  [ start  size ]
-----------------------------------------------------------------------------------
*0 0c    0    1    1 -  1304  254   63  [    63         20964762 ] win95 fat32
 1 a5 1305    0    1 -  3263  254   63  [            20964825        31471335 ] freebsd
 2 a6 3264    0    1 -  4862  254   63  [            52436160        25687935 ] openbsd
 3 00    0    0    0 -     0    0    0  [                   0               0 ] unused




 


16 partitions
#            size      offset       fstype       [fsize   bsize     cpg]
  a     21494576    52436160       4.2bsd         2048   16384      16   # /
  b      4209424    73930736         swap
  c     25688880    52436160       unused            0       0
  d     78140160           0       unused            0       0
  e     20964762          63        msdos  
  f     31471335    20964825      unknown


注意:e就是xp下的c盘,文件类型是msdos.

7.
 


the next step *destroys* all existing data on these partitions!
are you really sure that you're ready to proceed? [no] yes

system hostname? (short form, e.g. 'foo') # openbsd

configure the network? [yes] yes

dns domain name? (e.g. 'bar.com') [my.domain] com

dns nameserver? (ip address or 'none') [none] 202.96.128.68

use the nameserver now? [yes] 回车

edit hosts with ed? [no] 回车

do you want to do any manual network configuration? [no] 回车

password for root account? (will not echo) # 输入密码,两次
password for root account? (again)



8.当到选择安装介质时,选择'disk.'
 


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')  d



 


available disks are wd0.
which one contains the install sets? (or 'done') [wd0] 回车



9.partitions,选择'e'
 


the following partitions have been found on wd0
  a     21494576    52436160       4.2bsd         2048   16384     328 #  (cyl. 52020 - 73343*)
  b      4209424    73930736         swap                              #  (cyl. 73343*- 77519)
  c     25688880    52436160       unused            0       0         #  (cyl. 52020 - 77504)
  d     78140160           0       unused            0       0         #  (cyl.     0 - 77519)
  e     20964762          63        msdos                              #  (cyl.     0*- 20798*) 
  f     31471335    20964825      unknown                              #  (cyl. 20798*- 52019)

partition? [a] e



10.文件系统:msdos
 


the following filesystem types are supported
default          (deduced from the disklabel)
ffs
msdos
which filesystem type? [default]  msdos



11.路径(请注意大小写)
 


pathname to the sets? (or 'done')  openbsd3.6/i386



12.选择包,全部
 


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
      [x] bsd.mp
      [x] base36.tgz
      [x] etc36.tgz
      [x] misc36.tgz
      [x] comp36.tgz
      [x] man36.tgz
      [x] game36.tgz
      [x] xbase36.tgz
      [x] xetc36.tgz
      [x] xshare36.tgz
      [x] xfont36.tgz
      [x] xserv36.tgz

file name? (or 'done') [done]  回车
ready to install sets? [yes]  回车
where are the install sets? (or 'done') [done]  回车



13.包安装设置
 


start sshd(8) by default? [yes]  回车
do you expect to run the x window system? [yes]  no
what timezone are you in? ('?' for list) [canada/mountain]  asia/shanghai

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网