免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
123下一页
最近访问板块 发新帖
查看: 11205 | 回复: 21
打印 上一主题 下一主题

[OpenBSD] 硬盘安装OpenBSD 3.6 [复制链接]

论坛徽章:
1
寅虎
日期:2013-09-29 23:15:15
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-10-01 16:10 |只看该作者 |倒序浏览
硬盘安装OpenBSD3.6
作者:congli
日期:2005.10.1

硬盘安装NetBSD:http://bbs.chinaunix.net/forum/viewtopic.php?t=607168

自从有了硬盘安装NetBSD2/3的经验后,安装OpenBSD可以讲是手到拿来.


硬件: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命令模式.

  1. grub>
复制代码


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

  1. grub>map (hd0,0)/OpenBSD3.6/i386/cdrom36.fs (fd0)
  2. grub>chainloader (hd0,0)/OpenBSD/i386/cdrom36.fs
  3. grub>rootnoverify (fd0)
  4. grub>boot
复制代码


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

  1. erase ^?, werase ^W, kill ^U, intr ^C, status ^T
  2. (I)nstall, (U)pgrade or (S)hell?
复制代码


5.按"i"进行安装.


  1. Terminal type? [vt220]        回车

  2. Do you wish to select a keyboard encoding table? [no]        回车

  3. Proceed with install? [no]        yes

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

  5. Do you want to use *all* of wd0 for OpenBSD? [no]        回车
复制代码


6.分区

  1. Disk wd0        geometry 4864/255/63 [78140160 Sectors]
  2. Offset 0        Signature 0xAA55
  3.           Starting            Ending                      LBA Info
  4. # id          C    H    S -     C    H    S  [                start                 size        ]
  5. -----------------------------------------------------------------------------------
  6. *0 0C    0    1    1 -  1304  254   63  [                   63                20964762 ] Win95 FAT32
  7. 1 A5 1305    0    1 -  3263  254   63  [            20964825        31471335 ] FreeBSD
  8. 2 A6 3264    0    1 -  4862  254   63  [            52436160        25687935 ] OpenBSD
  9. 3 00    0    0    0 -     0    0    0  [                   0               0 ] unused
复制代码



  1. 16 partitions
  2. #            size      offset       fstype       [fsize   bsize     cpg]
  3.   a     21494576    52436160       4.2BSD         2048   16384      16   # /
  4.   b      4209424    73930736         swap
  5.   c     25688880    52436160       unused            0       0
  6.   d     78140160           0       unused            0       0
  7.   e     20964762          63        MSDOS  
  8.   f     31471335    20964825      unknown
复制代码

注意:e就是XP下的C盘,文件类型是MSDOS.

7.

  1. The next step *DESTROYS* all existing data on these partitions!
  2. Are you really sure that you're ready to proceed? [no]        yes

  3. System hostname? (short form, e.g. 'foo') # OpenBSD

  4. Configure the network? [yes]        yes

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

  6. DNS nameserver? (IP address or 'none') [none] 202.96.128.68

  7. Use the nameserver now? [yes]        回车

  8. Edit hosts with ed? [no]        回车

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

  10. Password for root account? (will not echo)        # 输入密码,两次
  11. Password for root account? (again)
复制代码


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

  1. Sets can be located on a (m)ounted filesystem; a (c)drom, (d)isk or (t)ape device;
  2. or a (f)tp, (n)fs or (h)ttp server.
  3. Where are the install sets? (or 'done')         d
复制代码


  1. Available disks are wd0.
  2. Which one contains the install sets? (or 'done') [wd0]        回车
复制代码


9.Partitions,选择'e'

  1. The following partitions have been found on wd0
  2.   a     21494576    52436160       4.2BSD         2048   16384     328 #  (Cyl. 52020 - 73343*)
  3.   b      4209424    73930736         swap                              #  (Cyl. 73343*- 77519)               
  4.   c     25688880    52436160       unused            0       0         #  (Cyl. 52020 - 77504)
  5.   d     78140160           0       unused            0       0         #  (Cyl.     0 - 77519)
  6.   e     20964762          63        MSDOS                              #  (Cyl.     0*- 20798*)
  7.   f     31471335    20964825      unknown                              #  (Cyl. 20798*- 52019)

  8. Partition? [a]        e
复制代码


10.文件系统:msdos

  1. The following filesystem types are supported
  2. default          (deduced from the disklabel)
  3. ffs
  4. msdos
  5. Which filesystem type? [default]  msdos
复制代码


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

  1. Pathname to the sets? (or 'done')  OpenBSD3.6/i386
复制代码


12.选择包,全部

  1. The following sets are available. Enter a filename, 'all' to select
  2. all the sets, or 'done'. You may de-select a set by prepending a '-'
  3. to its name.

  4.       [X] bsd
  5.       [X] bsd.rd
  6.       [X] bsd.mp
  7.       [X] base36.tgz
  8.       [X] etc36.tgz
  9.       [X] misc36.tgz
  10.       [X] comp36.tgz
  11.       [X] man36.tgz
  12.       [X] game36.tgz
  13.       [X] xbase36.tgz
  14.       [X] xetc36.tgz
  15.       [X] xshare36.tgz
  16.       [X] xfont36.tgz
  17.       [X] xserv36.tgz

  18. File name? (or 'done') [done]         回车
  19. Ready to install sets? [yes]         回车
  20. Where are the install sets? (or 'done') [done]         回车
复制代码


13.包安装后设置

  1. Start sshd(8) by default? [yes]         回车
  2. Do you expect to run the X Window System? [yes]  no
  3. What timezone are you in? ('?' for list) [Canada/Mountain]  Asia/Shanghai
复制代码

[ 本帖最后由 congli 于 2006-6-9 12:53 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2005-10-01 17:01 |只看该作者

姊妹篇:硬盘安装OpenBSD 3.6

没看讷,先顶一下,好东西,毕竟那英文的软件很难离解,大 哥强人

论坛徽章:
0
3 [报告]
发表于 2005-10-01 17:01 |只看该作者

姊妹篇:硬盘安装OpenBSD 3.6

好法子,加入收藏备用。

论坛徽章:
0
4 [报告]
发表于 2005-10-01 19:59 |只看该作者

姊妹篇:硬盘安装OpenBSD 3.6

不错的说~ 收藏下~
希望楼主多写几篇OpenBSD的文章~

论坛徽章:
2
丑牛
日期:2013-09-29 09:47:222015七夕节徽章
日期:2015-08-21 11:06:17
5 [报告]
发表于 2005-10-07 17:07 |只看该作者

姊妹篇:硬盘安装OpenBSD 3.6

这么好的文章怎么没人推荐哪,我这几天不在,差点就错过了

论坛徽章:
0
6 [报告]
发表于 2005-10-11 17:26 |只看该作者

姊妹篇:硬盘安装OpenBSD 3.6

大法师可不可以留下一个联系方式啊?

论坛徽章:
0
7 [报告]
发表于 2005-10-11 17:29 |只看该作者

姊妹篇:硬盘安装OpenBSD 3.6

我是菜鸟
  大家教教我 unix啊!
呜,谁能留下个联系方式啊!我真的对unix特别感兴趣的!

论坛徽章:
1
寅虎
日期:2013-09-29 23:15:15
8 [报告]
发表于 2005-10-11 17:44 |只看该作者

姊妹篇:硬盘安装OpenBSD 3.6

那你就由0开始啦,看hankbook先。

论坛徽章:
0
9 [报告]
发表于 2005-11-02 08:13 |只看该作者
我觉得分区最难搞,到现在都心有余悸。

论坛徽章:
1
寅虎
日期:2013-09-29 23:15:15
10 [报告]
发表于 2005-11-02 08:18 |只看该作者
多安装几次就OK,开始时的确会这样.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP