当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > 硬盘安装OpenBSD 3.6的方法

Unix/Linux
如何在linux下面运行招商银行专业版
Windows和Linux系统共存 完美解决方案
Linux 和对称多处理应用程序介绍
Red Hat Linux 附加引导和内核引导选项
Linux 2.6.11内核文件IO系统调用详解
走向高手之路 Linux系统内核技术解读
菜鸟乐园 Linux系统内核代码特色一览
Linux内核和传统Unix内核的比较
内核中的物理内存分配函数kernel api
使用 Linux 系统调用的内核命令
详细解析 Linux内核的主要配置选项
内核操作 Linux2.6内核驱动移植参考
Linux内存中Swap和Buffer Cache机制
高手进阶 更换Fedora Core 6的内核
高手风范 Linux操作系统内核编码风格
Linux操作系统内核中工作队列的操作
揭开Linux系统内核调试器的神秘面纱
系统“大挪移” Linux服务器迁移大法
高手进阶 重新编译Linux操作系统的内核
Ubuntu系统关于驱动模块命令的一些使用

Unix/Linux 中的 硬盘安装OpenBSD 3.6的方法


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2010-01-15   浏览: 181 ::
收藏到网摘: n/a

硬件: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