[OpenBSD]

1.0 ¡V ¤¶²Ð OpenBSD



 

1.1 ¡V ¦ó¿× OpenBSD?

OpenBSD ­p¹º²£¥Í¤@­Ó¦Û¥Ñ¦³¥Î¦a¡B¸ó¥­¥x4.4BSDªº¥éUNIX¾Þ§@¨t²Î. §Ú­Ì©Ò­«µøªº¦a¤è¦b»´«K¥iÄâ±a©Ê°ª,¼Ð·Ç³W®æ¤Æ,¥¿½T©Ê¥H¤Î¥¦ªº¦w¥þ©Ê. OpenBSD ¤ä´©SVR4 (Solaris), FreeBSD, Linux, BSDI, SunOS, and HPUX ªº¤G¶i¦ìÀô¹Òªº­ì©l¨t²Î.

 

1.2 - OpenBSD¥i¥H¦b¤°»ò¨t²Î°õ¦æ?

OpenBSD 2.7 ¥i¥H¦b¥H¤U¥­¥x°õ¦æ:

pmax, powerpc ªº³¡¥÷¨Ã¥¼¥]§t¦b2.7ªº¥úºÐ¸Ì.¤£¹L¥¦­Ì¥i¥H±q¥ô¦óOpenBSD ftp ªººô¯¸¤¤¤UÀ¹.

bootable «üOpenBSD ¥i¥H±q¥úºÐ¤¤ª½±µ±Ò°Ê. ³o¨Ç±Ò°Ê¥úºÐ¥i¥H¼ÆºØµwÅ饭¥x¤W±Ò°Ê,(¸Ô¨£²Ä¤T¸`»¡©ú).

¥ý«eOpenBSDª©¥»¦P®É¥]§t¼ÆºØ¥­¥xªºª©¥»:

¸Ô¨£8.12»¡©ú¦h³B²z¾¹ªº¤ä´©.

1.3 - OpenBSD ¯uªº¬O§K¶Oªº¶Ü?

OpenBSD ¦X³¡³£¬O§K¶Oªº¡C OpenBSDªº©Ò¦³³¡¤À³£¦³¦X²zª©Åv´Á­­¤¹³\¨Ï¥ÎªÌ¦Û¥Ñ¤À°t¡C¦p¦¹¤@¨Ó¤£ºÞ¬O­Ó¤H©Î¬O°Ó·~¥Î³~¡A³£¥i¥H¦³®Ä¦a­«½Æ§Q¥Î¤j³¡¥÷OpenBSD­ì©l½X¡COpenBSD¥i¥H¥]§t°£¤F¥Ñ­ì©l¢Ð¢á¢Òª©¥»©Ò³\¥i½d³ò¤§¥~§ó¦hªº­­¨î¡C¦³ª©Åvªº³nÅé¨Ã¤£¯à¥]¬A¦b¥¿³Wµo¦æªºOpenBSDª©¥»¤¤¡C³o¬O¥´ºâ¥i¥H«O»ÙOpenBSD¥i¥H¦Û¥Ñ¦a¨Ï¥Î¡C¨Ò¦p¡AOpenBSD¥i¥H¦b¬F©²¾÷Ãö¡A«DÀç§Q¨Æ·~¾÷ºc¡A°Ó·~²Õ´¤¤¦Û¥Ñ¦aÅý­Ó¤H©Î¤j±M°|®Õ¾Ç¥Í©Î¦Ñ®v¨Ï¥Î¡C

±ýŪ¨ú§ó¦hªº¤½¶}³\¥iÃÒ¡A¥i¥H¨ì¥H¤Uºô¯¸¤¤¾\Ū¡G

http://www.openbsd.org/policy.html.

OpenBSDªººûÅ@ªÌ±q¥L­Ì¦Û¤v©Ò¾Ö¦³ªº¸ê·½¨Ó¤ä´©µo®i­pµe¨Ï¨ä­_§§¡C¨Ò¦pµ{¦¡³]­p©Òªáªº®É¶¡¡A¬[³]¦hºØ¥­¥x³]³Æ¡A§Q¥Îºô¸ô¸ê·½¨Óµo§GOpenBSD¡A¨Ï¥ÎªÌ¥i¥H¦Û¥Ñ¨É¥Î¡C¥L­Ì¨Ã¥Bªá®É¶¡¦^µª¨Ï¥ÎªÌ©Ò¹J¨£ªº°ÝÃD¨Ã¬ã¨s¸Ñ¨M¨Ï¥ÎªÌµo²{¿ù»~ªº³ø§i¡C

OpenBSD µo®iªÌ¨Ã¤£¬O¿W¤O§¹¦¨¡A¦Ó¬O¤j®a»E¶°¦Û¤v¤@ÂI¤p¤pªº°^Äm¡B®É¶¡¡B³]³Æ©M¸ê·½¨Ó¦X¤O§¹¦¨¡A¦]¦¹³y¦¨¦U­Óª©¥»¶¡¦³«Ü¤jªº®t²§¡C

 

1.4 -¬°¦ó­n¥Î¨ìOpenBSD?

·s¤â³Ì±`·Qª¾¹DOpenBSD ¦³¨S¦³¤ñ¨ä¥L§K¶OUNIX-like ¨t²Î¦n¥Î. ³o­Ó°ÝÃD¨Ã¨S¦³µª®×¡A¦Ó¥B¦³¼Æ¤£ºÉ(µL¥Î)ªº¥DÃD³Q¿E¯P¦a°Q½×µÛ¡C¤£ºÞ¦b¥ô¦ó±¡ªp¤§¤U¡A¤d¸U¤£­n¦bOpenBSD ªºmailing list¤¤°Ý¬ÛÃöªº°ÝÃD¡C

¥H¤U¦C¥X¤@¨Ç§Ú­Ì»{¬°OpenBSD¬O¤@­Ó¦³¥Îªº§@·~¨t²Îªº²z¥Ñ. OpenBSD ¨ì©³¦n¤£¦n¥u¦³§A¦Û¤v¥i¥H¦^µª¡C

 

1.5 -½Ö¦bºû«ù OpenBSDªºµo®i»P¹B§@?

OpenBSDªººûÅ@¨Ó¦Û¦U¦a¤£¦Pªº°ê®aªºµo®i¤p²Õ¡C³o­Ó­pµeªº¨ó½Õ¨Ó¦Û©ó¦ì©ó¥[®³¤jªºTheo de Raadt¡C

 



[OpenBSD]

¢±.¢¯- ºÏºÐ¦w¸Ë


¦p¦ó¦bOpenBSDªº¦w¸Ë·í¤¤³]©wºÏºÐ¼ÐÅÒ

OpenBSD¦w¸Ëªº¥D­n³¡¤À¤§¤@´N¬O«Ø¥ß§A³Ìªìªº¼ÐÅÒ¡C³o·|ª½±µªºµo¥Í¦b¡]¹ïi386ªº¨Ï¥ÎªÌ¡^®æ¦¡¤ÆµwºÐ¤§«á¡C¦b¦w¸Ë´Á¶¡§A¥ÎºÏºÐ¼ÐÅÒ¥h«Ø¥ß§t¦³¤£¦Pªº±¾¤JÂIªººÏºÐ¡C¦b¦w¸Ë´Á¶¡¡A§A¥i¥H±qºÏºÐ¼ÐÅÒ¤º³¡¥h³]©w§Aªº±¾¤JÂI¡A¦ý³o¤£¬O§¹¥þ¥²­nªº¦Ò¼{¡A¦]¬°¥H«á§A±N·|³Q´£¥Ü¥h½T»{§A©Ò°µªº¿ï¾Ü¡C¤£¹L¥¦·|¨Ï§Aªº¦w¸Ë¹Lµ{µy·L¶¶§Q¤@ÂI¡C

¬JµM¦b¦w¸Ë´Á¶¡¡A§A¤£¥Î¦³¥ô¦óªº¼ÐÅÒ¦s¦b¡A¦ý¬O¥¦­Ì±N¨ÓÁÙ¬O­n³Q³]©w¡C§A©Ò­n«Ø¥ßªº²Ä¤@­Ó¼ÐÅÒ³]©w¬°¡¦a¡¦¡C³o­Ó¼ÐÅÒ±N·|¬O§A­n¦w¸Ëªº¦a¤è¡]¡þ¡K¡^§A¥i¥H¬Ý¨£¹q¸£©Ò´£¥Xªº¤À³Î«Øij¥H¤Î¤j¤p¡C«Øij§A­n¦¨¬°¦øªA¾¹¥D¾÷¦Ü¤Ö­n³æ¿Wªº³]©w³o¨Ç¼ÐÅÒ¡C¦pªG§A¥u¬O­n·í¤@¯ëªº¹q¸£¨Ï¥ÎªÌ¥u­n«Ø¥ß¤@ªº®Ú¥Ø¿ý¡]¡þ¡^´N¥i¥H¤F¡C·í§A­n«Ø¥ß¤À³Î§A³Ìªìªºroot partition (`a` label )¡A°O¦í­n«O«ù¤@¨ÇªÅ¶¡µ¹§Aªºswap¼ÐÅÒ¡C²{¦b³o¨Ç°ò¦ªº»¡©ú¤w¸g¤¶²Ð§¹²¦¡A³o¸Ì¦³¤@­Ó¨Ò¤l¥h¥Ü½d¦p¦ó¦b¦w¸Ë¹Lµ{¤¤¨Ï¥Î¼ÐÅÒ¡C¦b³o²Ä¤@­Ó¨Ò¤l¤¤°²³] OpenBSD ±N¬O³o¥x¹q¸£¤W°ß¤@ªº§@·~¨t²Î¡A¥H¤Î±N°µ§¹¾ã¦w¸Ë¡C

If this disk is shared with other operating systems, those operating systems
should have a BIOS partition entry that spans the space they occupy completely.
For safety, also make sure all OpenBSD file systems are within the offset and
size specified in the 'A6' BIOS partition table.  (By default, the disklabel
editor will try to enforce this).  If you are unsure of how to use multiple
partitions properly (ie. seperating /,  /usr, /tmp, /var, /usr/local, and other
things) just split the space into a root and swap partition for now.
³o¸Ì¤¶²Ð¤F¤@°ï´N¬O­n§A¶}©l¤À³ÎºÏ°Ï
# using MBR partition 3: type A6 off 63 (0x3f) size 4991553 (0x4c2a41) 
 
Treating sectors 63-16386300 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)
> d a
> a a
offset: [63] <Enter>
size: [16386237] 64M
Rounding to nearest cylinder: 131040
FS type: [4.2BSD] <Enter>
mount point: [none] /
fragment size: [1024] <Enter>
block size: [8192] <Enter>
cpg: [16] <Enter>
> a b
offset: [131103] <Enter>
size: [16255197] 64M
Rounding to nearest cylinder: 131040
FS type: [swap] <Enter>

 

¦b³o­Ó±¾¤JÂI¡A§Ú­Ì³]©w¤F64Mªºroot partitionªÅ¶¡µ¹¡þ¡A¥H¤Î64Mªºswap partitionªÅ¶¡¡Cª`·N¡I¹q¸£¤º©wªºoffsetªì©l­È¬O63¡A³o´N¬O§A©Ò­nªº­È¡C·í¥¦³]©w¬°³o­Ó¤j¤p¤§«á¡AºÏºÐ¼ÐÅÒ·|±N§Aªº³]©wªº¤j¤pÅã¥Ü¦b³o­Ó°Ï¬q¡C¤£ºÞ¦p¦ó¡A§A¨Ã¤£»Ý­n¥h¿é¤J¤j¤p¦b¬Û¦Pªº¦a¤è¡C¦b³o­Ó¨Ò¤l¤¤§A¤]¥i¥Hª`·N¨ì¹q¸£·|¦Û°Ê±NswapªººÏºÐ¼ÐÅÒ³]©w¬°`b`¡C³o­Ó¥¿½Tªº°²©w´N¸ò¤@¯ë®Ö¤ßµ{¦¡·|¦b¼Ð¥Ü¬°`b`ªººÏºÐ¤W§ä¨ìswap¤@¼Ë¡A¦Ó¥B§A¤]«ê¦n¥i¥H¸òµÛ³o­Ó«ü¾É¤è°w¥h³]©w`b`·í§Aªºswap partition¡C

¦b¤U¤@ªº¨Ò¤l±N·|Åý§A²¤¹L­è­è¨º¨â­Ó³]©w¥h«Ø¥ß§ó¦h¼ÐÅÒ¡C³o¥NªíµÛ¥¦¨Ã¤£·|§¹¾ãªº¦w¸Ë¡A¹³³o¨Ç¤j¤p¨Ã¤£°÷¥h¦w¸ËOpenBSD¥þ³¡ªºªF¦è¡CÅã¥Ü«Ø¥ß©Ò¦³ªº¤À³Î°Ï¥u¬O·|¤£Â_ªº­«ÂЦӤw¡C

 

> a d
offset: [262143] <Enter>
size: [16124157] 64M
Rounding to nearest cylinder: 131040
FS type: [4.2BSD] <Enter>
mount point: [none] /tmp
fragment size: [1024] <Enter>
block size: [8192] <Enter>
cpg: [16] <Enter>
> a e
offset: [393183] <Enter>
size: [15993117] 64M
Rounding to nearest cylinder: 131040
FS type: [4.2BSD] <Enter>
mount point: [none] /var
fragment size: [1024] <Enter>
block size: [8192] <Enter>
cpg: [16] <Enter>

¦b¤W­±³o­Ó½m²ß¡A¦³¤G¥ó¨Æ±¡§A­nª`·N¨ì¡C²Ä¤@¥ó¡Aoffset·|¦Û°ÊÀ°§Aºâ¥X¤U¤@­Ó¾A·íªº¨BÆJ¡C·í°µ¨ì³oÃ䪺¦w¸Ë®É¡A§A®Ú¥»¤£»Ý­n¥h§ïÅÜ¥¦ªºoffset¡F¥t¥~´N¬O¼ÐÅÒ`c`¥²¶·­n¸õ¹L¡A¦]¬°¼ÐÅÒ`c`¬O¥NªíµÛ©Ò¦³ªººÏºÐªÅ¶¡¡C¦]¬°³o¼Ë¡A©Ò¥H§A¦b¥ô¦ó®É­Ô³£¤£¯à¥h³]©w¥¦¡C

¤@¥¹§Aªº¼ÐÅÒ¥þ³¡³]©w§¹¦¨¤§«á¡A­n±N©Ò¦³³]©wªº¼ÐÅÒ¼g¤JºÏºÐ¡A¦Ó¥BÂ÷¶}³o­Ó³]©wºÏºÐ¼ÐÅÒªºµ{¦¡¡C­n±N©Ò¦³ªºªF¦è¼g¤JºÏºÐ¨ÃÂ÷¶}¡]¦Ó¥BÄ~Äò¦w¸Ë¡^´N¿é¤J¤U­±ªº«ü¥O¡G

> w
> q
©Ò¦³¾Ö¦³«Ü¦hÅX°Êµ{¦¡ªº¤H½Ðª`·N¡I°²¦p§AªºBIOS¨S¦³¿ìªk¥h¤ä¼µ¤@­ÓÅX°Êµ{¦¡ªº¤j¤p¡AOpenBSD¤]¦P¼ËµLªk¥h¤ä´©BIOS¡C¤£¦PªºOpenBSD¤]³\¥i¥H¥h±±¨î§AªºÅX°Êµ{¦¡¡A¨Ï¥¦­è­è¦n¡C¦pªG§A¬O¦b¤@­ÓBIOS¨S¦³¤ä´©§AªºÅX°Êµ{¦¡ªºÀô¹Ò¤§¤U¡A§A¥i¥H¸ÕµÛ¥h¨Ï¥ÎMaxtor EZªºÅX°Êµ{¦¡©ÎªÌ¬O¨ä¥LÃþ¦üªº²£«~¡C

¤@¥¹§Aªº¨t²Î³Q¦w¸Ë¡A§A´N¤£»Ý­n¤Ó±`¥h¨Ï¥Î¨ìºÏºÐ¼ÐÅÒ¡C¦ý¦³®É­Ô§AÁÙ¬O¥²¶·­n¥h¨Ï¥Î¨ì¡A·í§A·Q­n¹ïºÏºÐ§@¼W¥[¡B²¾°£©ÎªÌ¬O­«·s½Õ¾ãªº®É­Ô¡C§A¥²¶·­n°µªº²Ä¤@¥ó¨Æ±¡´N¬O¥ý¬d¬Ý§AªººÏºÐ¼ÐÅÒªº±¡ªp¡C¥h°µ³o­Ó²³æªº¿é¤J¡G

# disklabel wd0 <----- ¤£ºÞ¥ô¦óªººÏºÐ§A³£¯à¥h¬d¬Ý
 
# using MBR partition 3: type A6 off 64 (0x40) size 16777152 (0xffffc0)
# /dev/rwd0c:
type: ESDI
disk:
label: TOSHIBA MK2720FC
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 2633
total sectors: 2654064
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 
 
16 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:  2071440    65583    4.2BSD     1024  8192    16   # (Cyl.   65*- 2120)
  b:    65520       63      swap                        # (Cyl.    0*- 65)
  c:  2654064        0    unused        0     0         # (Cyl.    0 - 2632)
  j:   512001  2137023    4.2BSD     1024  8192    16   # (Cyl. 2120*- 2627*)

¤W­±ªº³o¨Ç²³æªº©R¥O¥i¥HÅý§A¥h¬d¬Ý²{¦sªººÏºÐ¼ÐÅÒ¡A¦Ó¥B«OÃÒ§A¤£·|³Q¥ô¦ó¨Æ±¡§Ë¶Ã¡C¦ý¬O¦pªG­n¥h§ïÅܲ{¦sªº¼ÐÅÒ¡A§A¥²¶·¿é¤J¤U­±ªº©R¥O¡G

# disklabel -E wd0

¦pªG­n§â§A±a¨ì´£¥Ü, »P§A¦b OpenBSD ¦w¸Ë´Á¶¡¨Ï¥Îªº¨º­Ó¬Û¦Pªº¡C¦b³o­Ó´£¥Ü³Ì­«­nªº«ü¥O´N¬O`?`¡C³o·|µ¹§A¤@­Ó¥i¯àªº¥Ø¿ý¦³Ãö©óºÏºÐ¼ÐÅÒ¡C§A¬Æ¦Ü¥i¥H¥[¤W`M`ªº°Ñ¼Æ¥h¬d¬Ý©Ò¦bªº­¶½X¡C±q³o­Ó´£¥Ü¡A§A¥i¥H°µ©Ò¦³¬ÛÃö©ópartitionªº¼W¥[¡B§R°£ÁÙ¦³Åܧó¡C

 


[OpenBSD]

3.0 ¡V ¨ú±oOpenBSD


Table of Contents


 

3.1 ¡V ÁʶROpenBSD ¥úºÐ

ÁʶROpenBSD ¥úºÐ³q±`¤Jªù¬O³Ì¦nªº¤èªk¡C°Ñ³X­qÁʪººô­¶¨ÓÁʶR§Aªºª©Åv¡G http://www.openbsd.org/orders.html.

¥H¤U¦C¥X²³¦h¾Ö¦³OpenBSD¥úºÐªº¦n²z¥Ñ¡G

°²¦p§A¦w¸Ë¤Freleaseª©¥»ªºOpenBSD¡A§A¥²¶·¨Ï¥Î¥úºÐ¡CSnapshot releases ¥u¯à±qºô¸ô¤W¦w¸Ë¡C

3.1.1 - OpenBSD ¬O§_´£¨ÑISO image ¨Ñ¤H¤UÀ¹?

¨S¦³¡AOpenBSD CD-ROM ³Q¼Ð¥Ü¦¨¦³ª©Åvªº²£«~¡A¨Ã¤£¯à¦Û¥Ñ±qºô¸ô¤UÀ¹¡C¦ý OpenBSD ¥»¨­¬O§K¶O¡C¨S¦³±ø¤å¥i¥H­­¨î¨Ï¦ó¤H±NOpenBSD»s¦¨¦Û¤v¾A¥Îªº¥úºÐ¡C

3.2 ¡V ¥ÑFTP ©Î AFSªººÞ¹D¤UÀ¹

¦³«Ü¦hªº°ê»ÚÃè®gºô¯¸(mirror sites)´£¨Ñ¤FFTP¨Ó¤UÀ¹OpenBSD¡A¦P®É¤]´£¨ÑAFS ªA°È¡C§AÀ³¸Ó¨Ï¥ÎÂ÷§A³Ìªñªº¯¸¥x¨Ó°õ¦æ¤UÀ¹ªº¤u§@¡C¦b§A¶}©l¤UÀ¹¤§«e¡A§AÀ³¥ý°»´úÂ÷§A³Ìªñªº¯¸¥x¬O§_¹B§@¥¿±`¥HÀò±o³Ì¨Îªº¤UÀ¹®É®Ä¡C·íµM¡A­Y§A¨Ï¥Î§AªºOpenBSD ¥úºÐ¤ù¡A¨º¤ñ±q¥ô¦ó¯¸¥x¤UÀ¹¨Ó±o¦n¡C¥i¥H±q¥H¤Uºô§}±o¨ì³B²zªº¸ê°T¡G

http://www.openbsd.org/ftp.html

3.3 ¡V ¨ú±o¥Ø«eªºµ{¦¡­ì©l½X

OpenBSDªº­ì©l½X¬O§K¶O¦a¦Û¥Ñµo§G»P¨Ï¥Î¡C¤@¯ë¨Ó»¡¤Jªù³Ì¦nªº¨ú±o²{¦æª©¥»ªº¤èªk¨Ó¦Û³Ì·sªº¥úºÐ¤ù¡AµM«á¦A¸Ë¸mAnonCVS ¨Óª@¯Å¥¦¡C¦³ÃöAnonCVSªº¸ê°T¥i¥H¨ì¡G

http://www.openbsd.org/anoncvs.html.

©Î¬O¨ìThe OpenBSD FAQ ¥h¬d¸ß¡C

°²¦p§A¨S¦³¨¬°÷ªººô¸ôÀW¼e¨Ó¤ä´©AnonCVS¡A©ÎªÌ°²¦p§Aªººô»Úºô¸ô¸g¥ÑUUCP¡A§A¤´¥i¥H¨Ï¥ÎCTM¨Ó¨ú¥NAnonCVS¨Ó«O¯d§A²{¦³ªº­ì©lµ{¦¡¡C°²¦p³o¬O§A©Ò¹J¨ìªº±¡§Î¡A¨º»ò¨Ï¥Î³Ì·sµo¦æªº¥úºÐ¤ù¹ï§A¦Ó¨¥´N¯S§Oªº­«­n¡A¦³ÃöCTMªº¬ÛÃö¸ê®Æ¥i¥H¨ì¥H¤Uºô§}¬d¸ß¡G

http://www.openbsd.org/ctm.html.


[OpenBSD]

4.0 ¡V ¦w¸Ë«ü«n


Table of Contents


4.1 - OpenBSD ¦w¸Ëµ{§Ç·§Æ[

OpenBSD´£¨Ñ¤F§Q¥Î¤£¦Pªº¦w¸Ë¥­¥x¨Ó«Ø¥ß·s¨t²Îªº¤èªk¡C³o¼Ë¤l¥i¥H¨Ï¤j¦h¼Æªº¨Ï¥ÎªÌ¦b¦UºØÀô¹Ò¤¤¥i¥H¦w¸ËOpenBSD ¨t²Î¡C³oºØ¤ÀÂ÷¦¡¦w¸ËOpenBSD¨t²Îªº¤èªk¦p¤U¡G

³o¨Ç¦w¸Ëªº¤è¦¡³£¥i¥H¦b¤@±iºÏºÐ¤ù¤W°õ¦æ¡C¦Ó³o¨ÇºÏ¤ù¥i¥H±q¥ô¦óFTP¯¸¥x¤¤ª½±µ¤UÀ¹¨ú±o¡C¦UºØ¥­¥xªº¨t²Î¬[ºc³£¦U¦Û¾Ö¦³±MÄݪººÏ¤ù¥H½T©w¨Ï¥ÎªÌ©Ò¨ú±oªº¬O¥¿½Tªº¥­¥x¬[ºcºÏ¤ùª©¥»¡C¦UºØ¥­¥xªº¤ä´©½Ð°Ñ¾\²Ä¤@¸`¡C

³o¸Ì¦³¤@¨Çµ¹±ý¦w¸Ë¦bi386 »Psparc¾÷¾¹¥­¥x¤W¸Ô²Ó§¹¾ãªº¤â¥U¡C§O§Ñ¤F¥h¬d¾\INSTALL.i386 »P INSTALL.sparc ³o¨â¥÷¤å¥ó¡C

¨Ï¥ÎªÌ­Y¬O¨Ï¥Î¨ä¥L¬[ºc¨Ó¦w¸Ë¡A½Ð°Ñ¾\¦bµo¦æ¥úºÐ¤¤ªºINSTALL.arch ¤å¥ó¡C

Alpha¬[ºc¦w¸Ëª`·N¨Æ¶µ

­Y§A¨Ï¥Îalphaªº¬[ºc¦w¸Ë«h¥²¶·¨Ï¥ÎSRM¶´Åé¡A¥H¨¾¤îARC§@©Ç¡C§A¥²¶·§Q¥Î²Ä¤G¤ù¥úºÐ±Ò°Ê¨Ó¦w¸Ë§Aªºalpha¾÷¾¹¡C§Q¥Î¥H¤Uªº«ü¥O¨Ó°õ¦æ¡G

boot -fi 2.6/alpha/bsd.rd dkaX

¨Ï¥Îshow device «ü¥O¨Ó§ä¥X§Aªº¥úºÐ¾÷¥N¸¹¡C°²¨Ï§AµLªk±q¥úºÐ¾÷±Ò°Ê¡A§A¥i¥H§Q¥Î²Ä¤G¤ù±Ò°Ê¥úºÐªº2.6/alpha/floppy26.fs¨Ó°µ¡C¦Ó¥B¤]¥i¥H±N³o­Ó¤èªk¸Ô²Ó¼g¤U¨Ó¹B¥Î¦bi386 ªº¾÷¾¹¤W¡A¦A¨Ì´`¦w¸Ë¤â¥U¤Wªº«ü¥Ü¨Ó¶i¦æ¦w¸Ë¡C

4.2 - OpenBSD¦w¸Ë®É©Ò»Ý­nªºÀÉ®×

¦³«Ü¦hªº®M¥ó¥]§tµÛOpenBSD µ{¦¡½X¡A¦ý¬O§A¨ì©³»Ý­n¨º¨Ç©O¡H¥H¤U¬O¨CºØ®M¥óªºÂ²­z¡G

4.3 - OpenBSD¦w¸Ë®É©Ò»Ý­nªºªÅ¶¡

¥H¤U¦C¥X¦UÃþ®M¥ó¦w¸Ë®É©Ò»Ý­nºÏºÐªÅ¶¡¡A³o¥]§t¨¬°÷ªºÃB¥~ªÅ¶¡¨Ó¤¹³\§A°õ¦æ³sµ²¦Üinternetªº¨å«¬¥D­n¨t²Î¡C

Ū¨ì³o¸Ì¡A¤d¸U°O¦í /usr ©M /usr/X11R6 ³q±`¬O¨â­Ó¬Û¦PªºÀɮרt²Î¡A/usr¤À³Î¦¨¿W¥ßªºÀɮרt²Î¨Ã¨S¦³¦h¤jªº¥Î³B¡C

 

SYSTEM
/
/usr
/var
/usr/X11R6
alpha
56M
540M
27M
161M
amiga
45M
399M
24M
36M
hp300
31M
234M
24M
47M
i386
35M
229M
24M
72M
mac68k
29M
232M
24M
36M
mvme68k
29M
232M
24M
-  (no Xserver)
pmax
50M
355M
24M
60M
sparc
40M
259M
24M
49M

·í§A¨Ï¥ÎºÏºÐ¼ÐÅÒªº½s¿è¾¹®É¡A§A¥i¥H¿ï¾Ü±N§A¥þ³¡ªº¨t²Î©R¦W¦¨'a' (¥D­nÀɮרt²Î)»P'b' (¥æ´«¼È¦sºÏºÐ-swap)¡C·í§A¥Îdisklabel©R¦W'a' Àɮרt²Î®É¡A¥¦±NÅܦ¨§Aªº±Ò°Ê¤À³Î°Ï¡A¦Ó¥¦«h¥²¶·¥]§t¤T­Ó¥D­n³¡¥÷ (/, /usr, and /var)¡A¥t¥~¦A¼W¥[¤@¨ÇªÅ¶¡µ¹/tmp¡C¦Ó§A©Ò¤À³Îªº'b' Àɮרt²Î«h¦Û°ÊÅܦ¨§Aªº¨t²Î°µswapªº¤À³Î°Ï¡A§Ú­Ì«Øij¦Ü¤Ö­n¦³32MBªºªÅ¶¡¡A°²¨Ï±¡ªp¤¹³\ªº¸Ü¡A«Øij¤À³Î¦¨64MB¡C ¦pªG§A¦³§ó¤jªºªÅ¶¡¡A³Ì¦n¥i¥H¤À¦¨256MB¬Æ¦Ü512MB¡C

¦³¥|ÂI²z¥Ñ»¡©ú¬°¦ó­n¨Ï¥Î¤ÀÂ÷ªºÀɮרt²Î¨Ó¨ú¥N±N©Ò¦³ªF¦è³£¥á¦b¦P¤@­Ó©Î¨â­ÓÀɮרt²Î¸Ì¡G

4.4 - OpenBSD¦h­«±Ò°Ê(i386, alpha)

OpenBSD & NT

¹q¸£¥i¥H±Ò°ÊOpenBSD »PNT¡C§A¥i¥H¨Ï¥ÎNTªº±Ò°ÊºÞ²zµ{¦¡Ntloader¨Ó¨ÏNT¹B§@¡C¬°¨Ï¦P®É¥i¥H±Ò°ÊNT¡A§A¥²¶·¦A«þ¨©OpenBSDªºpbr¡C¦b°õ¦æ¦w¸Ë±Ò°Ê¤§«á¡A§A¦A¨Ì¥H¤U«ü¥O«þ¨©¤@¨ÇªF¦è¡G

   # dd if=/dev/rsd0c of=openbsd.pbr bs=512 count=1

²{¦b±Ò°ÊNT¨Ã±Nopenbsd.pbr©ñ¦bc:¼Ñ¤¤¡C¦A±N¥H¤U«ü¥O¥[¨ìc:\boot.ini³Ì«á¤@¦C¡G

   c:\openbsd.pbr="OpenBSD"

¦A­«·s±Ò°Ê¹q¸£¡A§AÀ³¸Ó·|µo²{¦bNT loader ªº±Ò°Ê¿ï³æ¤¤¥X²{¤FOpenBSD¡AµM«á´N¥i¥H¶}©l¨Ï¥ÎNT©ÎOpenBSD¤F¡C

OpenBSD & Windows or DOS (i386)

­n¨Ï¹q¸£¦P®É¥i¥H±Ò°ÊOpenBSD¡BWindows 3.1¡BWindows95©Î¬ODOS¡A§A¥²¶·§ä¤@­Ó¥i¥HºÞ²z³o¨Ç¨t²Î±Ò°Êªºµ{¦¡¡A¦posbs20b8.zip©ÎThe Ranish Partition Manager¡C³o¨âªÌ³£¾A¥Î©óOpenBSD¤À³Î°Ï¡C

OpenBSD & Linux (i386)

½Ð°Ñ·ÓINSTALL.linuxªº»¡©ú¡A¸ÌÀYÃö©óOpenBSD »PLinux¦P®É¤u§@¦³°µ§ó²`¤Jªº¤¶²Ð¡C

 

4.5 - OpenBSD¦w¸Ë§¹¦¨«áªº°Ê§@

¦b³o¸Ì´£¿ô¨Ï¥ÎªÌ¡AOpenBSDªºµo®iªÌ«D±`­«µø¨Ã¥B°l踪OpenBSDªº¨Ï¥Îª¬ªp¡A¥L­Ì­n§ä¥X¦b¦UºØ¾÷¾¹¥­¥x¤W¾A¥Î©Î¤£¾A¥Îªº­ì¦]¡A¥H¨D¦A§ï¶i¨t²ÎªºÃ­©w©Ê¡C

¦b¦¹¤Þ¥Î /usr/src/etc/root/root.mail ¤¤ªº敍­z¡G

If you wish to ensure that OpenBSD runs better on your machines, please do us
a favor (after you have your mail system setup!) and type
        dmesg | mail dmesg@openbsd.org
so that we can see what kinds of configurations people are running.  We will
use this information to improve device driver support in future releases.
(We would be much happier if this information was for the supplied GENERIC
kernel; not for a custom compiled kernel).  The device driver information
we get from this helps us fix existing drivers.

 

§Aµo¹q¤l¶l¥óµ¹µo®i¤p²Õ®É¡A½Ð½T©w§Aªº¦^«H¦a§}¬O¥i¥H½T¹ê¦¬¨ìªº¦ì§}¡A¦p¦¹¤@¨Ó¨t²Îªºµo®iªÌ¤~¥i¥H©M§A«O«ùÁpµ¸¡A­Y¥L­Ì»Ý­n§AÀ°¦£´ú¸Õ©Î§ó§ï¤@¨Ç¨t²Îªº³]©w¡A½T«O¨t²Î°õ¦æªº¥¿½T©Ê®É¡A¤~¤è«KÁpµ¸¡C¤£¹L­Y¬OOpenBSD¨t²Î¤Wµo°e´ú¸Õµ²ªG¦ÓµLªk¦¬¨ì¦^«H®É¡A¯à¤£¯à¦¬¨ì¦^«H´N¤£¬O¨º»ò­«­n¤F¡A¥i¥H§Q¥Î

 dmesg | mail your-account@yourmail.dom

µM«áÂà±H¨ì

 dmesg@openbsd.org

¥[¤W§A©T©w¨Ï¥Îªºemail±b¸¹¦p your-account@yourmail.dom ´N¥i¥H¤F¡C(©Î¬O§Q¥Î¶Ç°edmesg ¿é¥Xµ²ªG°e¨ìftp/scp/floppydisk/carrier-pigeon/)

µù ¡V ½Ð¶Ç°eGENERIC kernel dmesg'sªº¸ê®Æ´N¥i¥H¡ACustom kernels ¥]§t¸Ë¸mªºÁͰʵ{¦¡¹ïµo®i¤p²Õ¨Ã¨S¦³À°§U¡C



[OpenBSD]

5.0 ¡V ®Ö¤ßµ²ºcªº°t¸m


Table of Contents


 

5.1 ¡V ¬°¦ó­n«Ø¥ß¦Û­qªº®Ö¤ß(kernel)?

¾¨ºÞ¦Û­q®Ö¤ß¬O¥Ñ¹ï¨t²Î¦³³q½LÁA¸Ñªº¶i¶¥¨Ï¥ÎªÌ¦b¶i¦æ¡C¦ý¦³¤@¨Ç²z¥Ñ«o¥²¶·¥Ñ¤@¯ë¨Ï¥ÎªÌ¨Ó¶i¦æ¡G

¦b¤j³¡¥÷ªº±¡ªp¤U¡A§A¤£·|»Ý­n½s¿è¨t²Î®Ö¤ßµ²ºc¡C¤@¯ë©Êªº®Ö¤ßµ²ºc¤w¸g¥]§t§A©Ò»Ý­nªº¥þ³¡ªF¦è¤F¡C¨Æ¹ê¤W¡A¦³¤@¨Ç­ì¦]»¡©ú¤F¬°¦ó§A¤£»Ý­n«Ø¥ß¦Û¤vªº®Ö¤ßµ{¦¡¡A³Ì¥D­nªº­ì¦]¦b©ó®Ö¤ß³]©w«D±`®e©ö§ó°Ê¡A¬Ý°_¨Ó¦X¥GÅÞ¿è¦ý¬O«oµLªk§@·~¡A³o¬O¦MÀIª¬ªp¤§¤@¡C¦pªG¦³¤@¨ÇªF¦è¤£¯à°÷¾A·íªº¹B§@,´N½Ð§A¦b°e¥X¿ù»~³ø§i¤§«e¡A¥ý¸Õ¸Õ®Ö¤ßµ²ºcªº¹B§@¤è¦¡¬O§_¥¿±`¡C

 

5.2 -®Ö¤ßµ²ºcªº¿ï¶µ

®Ö¤ßµ²ºcªº¿ï¶µ¥u¬O¦b¥N´À¬Y¨Ç¦b®Ö¤ß¯S©wªº¥\¯à¡C³o¥i¥HÅý§A¦h¤F¤@¨Ç§A·Q­nªº¤ä´©¥\¯à¡A¦Ó¥B¤£·|¦³¤@¨Ç§A¤£·Q¥Î¨ìªº³]³Æ¡C¦³«Ü¦h¿ï¾Ü¥i¥H³]©w®Ö¤ß¥\¯à¡C§Ú­Ì±N·|¦b¤U­±´£¤Î³o¨Ç±`¥Îªº¥\¯à¡C¥h¬Ý¤@¤U²Ä¥|­Ó¿ï¶µªº¥D­¶¡A©ÎªÌ¥i¥H¬Ý¤@¤U¦b§A©Ò³]©w¦nªºµ²ºc¤¤ªº½d¨Òµ²ºcÀɮסC

¨Ã¤£¬O¥þ³¡ªº®Ö¤ß¿ï¶µ³£¤w¸g¦ñÀH¨ä¥L¿ï¶µ¸g¹L§¹¾ãªº´ú¸Õ¡C§O¥ô·N©ñ¸m¥ô¦ó¿ï¶µ¦b§Aªº®Ö¤ß¤¤°£«D§A½T¹ê«D°µ¤£¥iªº²z¥Ñ¡I¸g¹L¦h­«´ú¸Õªº®Ö¤ßµ²ºc¤~¯à¦¨¬°¤@¯ë©Êªº®Ö¤ß¡A³o³q±`¥Ñ/usr/src/sys/arch/<your arch>/conf/GENERIC »P /usr/src/sys/conf/GENERIC¨â­Ó¦a¤èªº¿ï¶µ¬Ûµ²¦X¡C

½Ðª`·N³o¨ÇÀɮפ¤ªºµ²ºc¡A­Y§Aµo²{¦³¦p¥H¤U³o¦Cªº敍­z¡G
include "../../../conf/GENERIC"
ªí¥Ü©|¥¼¥[¤J¨ä¥Lªº°t¸mÀɮסA¦Ó³oÀÉ®×Àx¦s¤F©|¥¼½T©wªº¿ï¶µ¡A¦]¦¹·í§A¦b«Ø¥ß§A¦Û¤vªº®Ö¤ß°t¸m®É¡A½Ð¥ý¬d¬Ý/sys/conf/GENERIC¤¤ªº°t¸m¤è¦¡¡A¨Ã¨M©w§A©Ò»Ý­nªº°t¸m¤è¦¡¡C

¦b®Ö¤ßªº°t¸mÀɮפ¤¡A©Ò¦³¦C¥Xªº¿ï¶µ¥²¶·¨Ì¤U¦Cªº¼Ð·Ç®æ¦¡©ñ¸m¡G
option OPTION

¨Ò¦p­n±Ndebug©ñ¦b®Ö¤ß¤¤¡A©Ò¼gªº«ü¥O¬°¡G
option DEBUG

OpenBSDªºOptions·|³QÂà´«¦¨½sĶ¾¹ªºOptions¡AµM¦Ó¦³¨Çoption¦pDEBUG«h»Ý­n­ì©l½sĶ¾¹DDEBUG¡A´N¦p¦P¦b®Ö¤ß¤¤°õ¦æ#define DEBUG¤@¯ë¡C

OpenBSD¦³«D±`¦h¬Û®eªºoptions¥i¥HÅý§A§Q¥Î¨ä¥L§@·~ªºµ{¦¡½X¡C¦ý¨Ã¤£¬O©Ò¦³ªºoptions³£¥i¥H¾A¥Î¦b¦UºØ¬[ºc¤W¡A¦]¦¹½ÐŪ¨ú¦U­Ó¥D­nªº»¡©ú¥H½T©w¬O§_§Aªº¥­¥x¦³µL¤ä´©¡C

 

 

 

[OpenBSD]

6.0 ¡V ¦w¸Ë¹Lµ{


OpenBSDªº¦w¸Ë¹Lµ{

±NopenbsdªºCD¤ù©ñ¤J¥úºÐ¾÷«á¡A·|¦Û¶i¤J«ö¸Ëµe­±¡C¦p¤U¡G

¦b³o¸Ì¥¦·|°Ý§A­n¿ï¾Ü¨Ï¥Î¦w¸Ë(install)¡B¤É¯Å(upgrade)¡BÁÙ¬Oshell ¼Ò¦¡¡H

¤@¯ë§Ú­Ì¿ï¾Ü¦w¸Ë¡]¢×¡^¡G

Enter pathname of shell or RETUN for sh:

Erase ^ ?,werase ^W, kill ^U, intr ^C

(I)nstall , (U)pgrade or (S)hell ?  I   ¶i¤JÅwªïµe­±

 

Welcome to the OpenBSD/i386 2.5 installation program

 

This program is designed to help you put OpenBSD on your disk in a simple and

Rational way.

 

As with anything which modifies your disk`s contents, this program can cause

SIGNIFCANT data loss, and you are advised to make sure your data is backed

Up before beginning to installation process.

 

Default answers are displayed in brackets after the questions. You can hit Control ¡VC at any time to quit, but if you do so at a prompt, you may have to hit return. Also, quitting in the middle of installation may leave your system in an inconsistent state. If you hit Control ¡VC and restart the install, the install program will remember many of your old answers.

 

¤W­±¥u¬Oopenbsdªº¤@¨ÇÁn©ú¡A¨Ã¥B§i¶D§A¦w¸Ë¤§«á·|¿ò¥¢§A­ì¥ýªº¸ê®Æ¡I©Ò¥H§A³Ì¦n±N­ì¥ý­«­nªº¸ê®Æ³Æ¥÷°_¨Ó¡CµM«á¦AÄ~Äò¤U¤@­Ó¨BÆJ¡G

 

Proceed with installation?[n]  y

³o¸Ì°Ý§A¬O§_­nÄ~Äò¦w¸Ë¡H

 

Cool! Let`s get to it ¡K.

Specify terminal type [pcvt25]:  [entet]

³o¸Ì¦b»¡©ú¦w¸ËÅã¥Ü¼Ò¦¡¡C

 

The installation program needs to know which disk to consider the root disk. Note the unit number may be different than the unit number you used in the boot program (especially on a PC with multiple disk controllers).

Available disks are:

¹q¸£·|¦Û°ÊÀ°§A°»´ú¨ì§AªºµwºÐ¡A¨Ã¥Bµ¹¥¦­Ì¤@­Ó²Å¸¹¡C

Wd0

Wd1

Sd0

Which disk is the root disk [wd0]?¡@¡eenter¡f

°Ý§A­n±Nroot disk¦w¸Ë¦b¨º¤@ÁûµwºÐ¡H¡]Wd0¬°¹q¸£ªº¤º©w­È¡^

Do you want to use the *entire* disk for OpenBSD? [no]¡@yes

°Ý§A­n¤£­n¨Ï¥Î¾ãÁûµwºÐ¦w¸Ë¡H

 

[¡K]

 

Inside the BIOS `A6` (`OpenBSD`) partition you just created, there resides an OpenBSD partition table which defines how this BIOS partition is to be split space, and any other partitions you might create.  (NOTE: The OpenBSD disk label offsets are absolute, ie. Relative to the start of the disk ¡K NOT relative to the start of the BIOS `A6` partition).

 

If this disk is shared with other operating systems, those operating systems should have a BIOS partition entry that spans the space they occupy completely.

For safety, also make sure all OpenBSD file systems are within the offset and size specified in the `A6` BIOS partition table.  (By default , the disklabel editor will try to enforce this ).  If you are unsure of how to use multiple partitions properly  (ie. Separating /,  /usr ,  /tmp  ,  /var  ,  /usr/local ,and other things ) just split the space into a root and swap partition for now.  ¥s§A¶}©l¤À³ÎµwºÐ

 

# using MBR partition 3: type A6 off 63 (0x3f) size 4991553 (0x4c2a41)

 

Treating sectors 63 ¡V 16386300 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)¡@¬d¬Ý«ü¥Oªº¥Îªk

> _d a¡@¡@§R°£¤À³Î°Ï¢Ï

> _a a¡@¡@«Ø¥ß¤À³Î°Ï¢Ï

offset: [63] _«öenter

size: [16386127] _64M

Rounding to nearest cylinder: 131040

FS type: [4.2BSD] _«öenter

Mount point: [none] _/

Fragment size: [1024] _«öenter

Block size: [8192] _«öenter

Cpg: [16] _«öenter

> _a b¡@¡@«Ø¥ß¤À³Î°ÏB

offset: [131103] _«öenter

size: [16255197] _64M

Rounding to nearest cylinder: 131040

FS type: [swap] _«öenter

> _a d¡@¡@«Ø¥ß¤À³Î°ÏD

offset: [262143] _«öenter

size: [16124157] _64M

Rounding to nearest cylinder: 131040

FS type: [4.2BSD] _«öenter

Mount point: [none] _/tmp

Fragment size: [1024] _«öenter

Block size: [8192] _«öenter

Cpg: [16] _«öenter

> _a e¡@¡@«Ø¥ß¤À³Î°ÏE

offset: [393183] _«öenter

size: [15993117] _64M

Rounding to nearest cylinder: 131040

FS type: [4.2BSD] _«öenter

Mount point: [none] _/var

Fragment size: [1024] _«öenter

Block size: [8192] _«öenter

Cpg: [16] _«öenter

> _a g¡@¡@«Ø¥ß¤À³Î°ÏG

offset: [524223] _«öenter

size: [15862077] _300M

Rounding to nearest cylinder: 614880

FS type: [4.2BSD] _«öenter

Mount point: [none] _/usr

Fragment size: [1024] _«öenter

Block size: [8192] _«öenter

Cpg: [16] _«öenter

> _a h¡@¡@«Ø¥ß¤À³Î°ÏH

offset: [1139103] _«öenter

size: [16386127] _*  ¥´¡¯¸¹ªº·N«ä¬O­n±N³Ñ¤UªºªÅ¶¡¥þ³¡¥Î±¼

FS type: [4.2BSD] _«öenter

Mount point: [none] _/home

Fragment size: [1024] _«öenter

Block size: [8192] _«öenter

Cpg: [16] _«öenter

> _w ¼g¤JµwºÐ

> _q ¡@Â÷¶}¤À³ÎµwºÐµ{¦¡

You will now have the opportunity to enter filesystem information information for wd0.

You will be prompted for the mount point (full path, including the prepending ¡¥/¡¦ character) for each BSD partition on wd0.  Enter ¡§none¡¨ to skip a partition or ¡§done¡¨ when you are finished.

 

The following partitions will be used for the root filesystem and swap:

        Wd0a      /

        Wd0b      swap

 

Mount point for wd0d (size=65520k) [/ tmp, RET, none, or done]? _ «öenter

Mount point for wd0e (size=65520k) [/ var, RET, none, or done]? _ «öenter

Mount point for wd0g (size=307440k) [/ usr, RET, none, or done]? _ «öenter

Mount point for wd0h (size=192656k) [/ home, RET, none, or done]? _ done

Åý§AÀˬd§Aªº±¾¤JÂI¬O§_¥¿½T¡A¨S¦³°ÝÃD«á¦A¥´¤Jdone´N¥i¥H¤F¡I

 

Nowq you can select another disk to initialize.  ( Do not re-select a disk you have already entered information for).  Available disks are:

Wd0

Wd1

 

Which one? [ done]

°Ý§A­n¤£­n¦A¿ï¾Ü¨ä¥¦µwºÐ°µ¤À³Î¡C

You have configured the following devices and mount points:

Wd0a /

Wdod / tmp

Wd0e / var

Wd0e / usr

Wd0h / home

 

Filesystems will now be created on these devices.

If you made any mistakes, you way edit this now.

Edit using ed? [n]_ °Ý§A­n¤£­n®Õ¥¿¡H¦pªG¨S¿ù´N«öenter²¤¹L

The next step will overwrite any existing data on :

¸ò§A»¡¦A¨Óªº¨BÆJ·|ª½±µ¼g¤J²{¦³ªº¸ê®Æ¤W¡C

                wd0a wd0d wd0e wd0g wd0h

Are you really sure that you¡¦re ready to proceed? [n] _y¡@°Ý§A­n¤£­nÄ~Äò

[¡K]

 

you will now be given the opportunity to configure the network. This will be useful if you need to transfer the installation sets via FYP, HTTP, or NFS. Even if you choose not to transfer installation sets that way, this information will be preserved and copied into the new root filesystem.

±µµÛ¶i¤Jºô¸ô³]©wªº³¡¤À

Configure the network [y]

Enter system hostname (short form): [ ] _cad5¡@¡@¡@³]©w°Ïºôªº¥D¾÷¦WºÙ

Enter DNS domain name: [ ] _ net47.ee.oit.edu.tw¡@³]©w¥»¨­ªº¥D¾÷¦WºÙ

 

If you have any devices being configured by a DHCP server

It is recommended that you do not enter a default route or any name server.

 

You may configure the following network interfaces (the interfaces marked with [X] have been successfully configured):

¹q¸£·|¦Û°ÊÀ°§A°»´ú¨ì§A©Ò¾Ö¦³ªººô¸ô¥d¡A§A¥u­n§@¿ï¾Ü´N¥i¥H¤F¡I

        [ ] es3

        [ ] fxp0

Configure which interface? (or, enter ¡¥done¡¦ ) [es3]

IP address (or ¡¥dhcp¡¦)? [ ] _192.192.73.67

Symbolic (host) name? [ cad5]

Netmask ? [255.255.255.0]

Your network interface might require non-default media directives. The default media is :

   Media: Ethernet 100baseTX half-duplex

This is a list of supported media:

        Media autoselect

Media 100baseTX mediaopt full-duplex

Media 100baseTX mediaopt half-duplex

Media 100baseTX

Media 100baseT mediaopt full-duplex

Media 100baseT

Media 100baseT mediaopt half-duplex

If the default is not satisfactory, and you wish to use another media, copy that line from above (ie. ¡§media 100baseTX¡¨)

Media directives? [ ] «öenter

 

You may configure the following network interfaces ( the interfaces marked with [X] have been successfully configured ) :

[X ] es3

[  ] fxp0

³]©wºô¸ôªº¢×¢Þ¦ì§}

Configure which interface? (or, enter `done` ) [done] _«öenter

Enter IP address of default route: [none] _192.192.73.1

Enter IP address of primary nameserver: [none] _192.192.73.2

Would you like to use the nameserver now? [y] _«öenter

 

You will now be given the opportunity to escape to the command shell to do any additional network configuration you may need.  This may include adding additional routes, if needed.  In addition, you might take this opportunity to redo the default route in the event that it failed above.

Escape to shell? [n] _

°Ý§A­n¤£­n¥h§ïÅܲ{¦³ªºshell ?

 

/dev/wd0a on /mnt type ffs ( local )

/dev/wd0d on /mnt/tmp type ffs ( local )

/dev/wd0e on /mnt/var type ffs ( local )

/dev/wd0g on /mnt/usr type ffs ( local )

/dev/wd0h on /mnt/home type ffs ( local )

 

Please enter the initial password that the root account will have.

Password ( will not echo ): _0710

Password ( again ): _0710

³]©w±K½X

 

It is now time to extract the installation sets onto the hard disk.  Make sure the sets are either on a local device ( i.e. tape ,CD-ROM ) or on a network server.  You will have the chance to repeat this step or to extract sets from several places, so you don`t have to try to load all the sets in one try and can recover from some errors.

¿ï¾Ü¦w¸Ë¸ô®|

Install from ( f )tp, ( h )ttp, ( t )ape, ( C )D-ROM, ( N )FS or local ( d )isk? _c

The following CD-ROM devices are installed on your system; please select the CD-ROM device containing the partition with the installation set:

acd0

cd0

Which is the CD-ROM with the installation media? [abort] acd0

¹q¸£·|¦Û°ÊÀ°§A°»´ú¨ì§AªºCD-ROM device¡C¿ï¾Ü§A­nªº¡I

Partition? [ C ] _¤º©w¬°¢ÑºÏºÐ

 

There are two CD-ROM filesystem types currently supported by this program:

 Cd9660        ISO-9660

 Ffs            Berkeley Fast Filesytem

 

Which filesystem type? [cd9660]

Enter the directory relative to the mount point that

Contains the file. [ /i386 ] _/i386¡@¡@¿é¤J¾×®×¸ô®|

 

You will now be asked for files to extract.  N addition to the files listed in the selector you may enter any file located in /i386.  you can also enter `all` to install all the standard sets, or `list` to list the files available in /i386.

When you are done selecting files, enter `done`.

Some of these sets are required for your install and some are optional ---

Consult the intallation notes if you are not sure which sets are required!

 

The following sets are available for extraction.

Enter filename, `list` , `all` , or `done`.

You nay de-select a set by prepending  a `_` to it`s name.

¿ï¾Ü§A­nªº®M¥ó

[ X ] base25.tar.gz

[ X ] etc25.tar.gz

[  ] misc25.tar.gz

[  ] comp25.tar.gz

[  ] man25.tar.gz

[  ] game25.tar.gz

[  ] xbase25.tar.gz

[  ] xshare5.tar.gz

[  ] xfont25.tar.gz

[  ] xserv25.tar.gz

[ X ] bsd

File name [ ]? _*¡@¿é¤J¡¯¸¹¥Nªí¥þ¿ï¡A·|¥X²{¥H¤Uªº¹º­±¡A§i¶D§A¤w¸g¥þ³¡¿ï¨ú¤F¡I

The following sets are available for extraction.

Enter filename, `list` , `all` , or `done`.

You nay de-select a set by prepending  a `_` to it`s name.

 

[ X ] base25.tar.gz

[ X ] etc25.tar.gz

[ X ] misc25.tar.gz

[ X ] comp25.tar.gz

[ X ] man25.tar.gz

[ X ] game25.tar.gz

[ X ] xbase25.tar.gz

[ X ] xshare5.tar.gz

[ X ] xfont25.tar.gz

[ X ] xserv25.tar.gz

[ X ] bsd

File name [ ]? _-game*¡@¥Nªí±N¤w¿ï¨úªº`game`¶µ¥Ø¥h°£¡I·|¦A¥X²{¤@¦¸§A©Ò­n«ö¸Ëªº®M¥ó¡C

The following sets are available for extraction.

Enter filename, `list` , `all` , or `done`.

You nay de-select a set by prepending  a `_` to it`s name.

 

[ X ] base25.tar.gz

[ X ] etc25.tar.gz

[ X ] misc25.tar.gz

[ X ] comp25.tar.gz

[ X ] man25.tar.gz

[  ] game25.tar.gz

[ X ] xbase25.tar.gz

[ X ] xshare5.tar.gz

[ X ] xfont25.tar.gz

[ X ] xserv25.tar.gz

[ X ] bsd

File name [ ]? _done¡@¦pªG¨S°ÝÃD´N¥´¤Jdone¡Aµ²§ô¿ï¨ú®M¥ó¡C

Ready to extract selected file sets? [y]  ·Ç³Æ¦n¶}©l«ö¸Ë­è­è©Ò¿ï¨úªº®M¥ó¡H

 

 

/i386/base25.tar.gz:

100%   |***************************************|  17774KB  00:00 E

TA

/i386/etc25.tar.gz:

100%   |***************************************|    161KB  00:00 E

TA

/i386/bsd:

100%   |***************************************|   2281KB  00:00 E

TA

/i386/misc25.tar.gz:

100%   |***************************************|   1637KB  00:00 E

TA

/i386/comp25.tar.gz:

100%   |***************************************|   11481KB  00:00 E

TA

/i386/man25.tar.gz:

100%   |***************************************|    3543KB  00:00 E

TA

/i386/xbase25.tar.gz:

100%   |***************************************|    5376KB  00:00 E

TA

/i386/xshare25.tar.gz:

100%   |***************************************|    1482KB  00:00 E

TA

/i386/xfont25.tar.gz:

100%   |***************************************|    6017KB  00:00 E

TA

/i386/xserv25.tar.gz:

100%   |***************************************|   15188KB  00:00 E

TA

 

Extract more sets? [ n ]  °Ý§A­n¤£­n¦A§@§ó¦hªº³]©w

Copying fstab ¡K done.

Copying hostname .x10¡Kdone

Copying hosts ¡K done.

Copying myname ¡K done.

Copying mygate ¡K done.

Copying resolv .conf ¡K done.

Select a time zone for your location.  Timezones are represented on the system by a directory structure rooted in ¡§/usr/share/timezone¡¨.  Most timezones can be selected by entering a token like ¡§MET¡¨ or ¡§GMT-6¡¨.  Other zones are grounped by continent.  With detailed zone information.

Separated by a slash (¡§ / ¡¨), e.g .  ¡§US/Pacific¡¨ or ¡§Canada/Mountain¡¨.

 

To get a listing of what`s available in /usr/share/zoneinfo, enter ¡§ ? ¡¨ at the prompts below.

 

What timezone are you in [ `?` for list ] [GMT]? _?  ¥´¡H¬d¬Ý¦³¨º¨Ç®É°Ï

Africa/     Chile/    GMT     Jamaica     Navajo      UCT

America/   Cuba     GMT+0   Japan       PRC        US/

Antarctica/   .          .          .           .          .

Arctic/       .         .          .           .          .

Asia/        .         .          .           .          .

  .          .         .          .           .          .

.          .         .          .           .          .

What timezone are you in [ `?` for list ] [GMT]? _Asai  ¿é¤J¨È¬w¡]Asai¡^

There are several timezones available with zone `Asai`

Select a sub-timezone [`?` for list]:_? ¥´¡H¬d¬Ý¦³¨º¨Ç¦a°Ï¥i¥Î

Atlantic        Eastern         Pacific

   .              .              .

   .              .              .

   .              .              .

Select a sub-timezone [`?` for list]:_Taipei    ¿é¤Jtaipei¡A¤§«á·|¶i¤J¤@³s¦êªº»¡©úµe­±

You have selected timezone ¡§Asai/Taipei¡¨ .

Installing timezone link¡Kdone

Installing boot block¡K

Boot:  /mnt/boot

Proto:  /usr/mdec/biosboot

Device: /dev/rwd0c

/usr/mdec/biosboot: entry point 0

proto bootblock size 512

room for 12 filesystem blocks at 0x16f

Will load 6 blocks of size 8192 each.

Using disk geometry of 63 sectors and 128 heads.

0: 19 @( 0  93  45 )  (5903-5921)

1: 63 @( 0  94  1 )  (5922-5984)

2: 14 @( 0  95  1 )  (5985-5998)

/mnt/boot:  3  entries total

using MBR partition 3:  type 166  (0xa6) offset 63 (0x3f)

 

Do you expect to run X window on this machine? [ y or n ] _y

°Ý§A­n¤£­n¦b³o¥x¾÷¾¹¤W°õ¦æ¢æ window¡H

Enabling machdep.allowaperture.  Read xf86(4) for more information.

 

Making all device nodes (by running /dev/MAKEDEV) ¡K¡Kdone

Unmounting filesystems¡K /mnt/usr /mnt/var /mnt/tmp /mnt ¡K Done

Done.

±µµÛ·|¶i¤J®¥³ß§A§¹¦¨¦w¸Ë¢ÝpenBSDªºµe­±¡C

CONGRATULATIONS!  You have successfully installed OpenBSD!  To boot the installed system, enter halt at the command prompt.  Once the system has halted, reset the machine and boot from the disk.

 

#_reboot¡@¡@°õ¦æ­«·s¶}¾÷

 

¤j¥\§i¦¨¡I¡I¡I