Ç÷ÎÇÇ ÇÑ ÀåÀ¸·Î OpenBSD ¼³Ä¡Çϱâ
ÀÌ ¹®¼´Â http://www.openbsd.org/faqÀÇ ¼³Ä¡ºÎºÐ ¹®¼¸¦ ÀϺÎ
¼öÁ¤ÇÑ °ÍÀÌ´Ù.
¸ÕÀú ftp.openbsd.org/pub/OpenBSD/3.0/i386¿¡¼ floppy30.fs¸¦ ¹Þ¾Æ¿Â´Ù.
ÀÌ»ó¾ø´Â Ç÷ÎÇÇ µð½ºÄÏÀ» ÇÑ Àå ÁغñÇÑ´Ù. Ȥ½Ã Àǽɽº·´´Ù¸é Ç÷ÎÇÇ¿¡ ÀÌ»óÀÌ ¾ø´ÂÁö´Â Æ÷¸ËÀ» Çغ»´Ù.
# fdformat /dev/fd0a |
À¯´Ð½º°è¿ÀÇ OS¸¦ »ç¿ëÇÏ°í ÀÖ´Ù¸é ´ÙÀ½ÀÇ ¸í·ÉÀ¸·Î À̹ÌÁö¸¦ Ç÷ÎÇÇ¿¡ º¹»ç ÇÒ ¼ö ÀÖ´Ù.
# dd if=floppy30.fs of=/dev/rfd0c bs=126b |
¸¸¾àÀ» À§Çؼ À̹ÌÁö°¡ Á¦µ¥·Î º¹»çµÇ¾ú´ÂÁö È®ÀÎÇØ º¸´Â °Íµµ ÁÁÀ» °ÍÀÌ´Ù.
# cmp /dev/rfd0c floppy30.fs |
ÀÚ½ÅÀÇ ½Ã½ºÅÛÀÌ Windows 9x °è¿ÀÌ¸é ¾Æ·¡ÀÇ ¹æ¹ýÀ¸·Î Çϵµ·Ï ÇÑ´Ù. (¾Æ·¡ÀÇ À¯Æ¿¸®Æ¼µéÀº ftp.openbsd.org/pub/OpenBSD/3.0/tools¿¡¼ ¹Þ¾Æ¿À¸é µÈ´Ù.)
C:\> rawrite |
Windows NT°è¿¿¡¼´Â rawrite¸¦ »ç¿ëÇÒ ¼ö ¾ø´Ù. fdimage À̳ª ntrw¸¦ »ç¿ëÇϵµ·Ï ÇÑ´Ù.
C:\> fdimage -q floppy30.fs a: |
ȤÀº
C:\> ntrw floppy30.fs a: |
ÀÌÁ¦ Áغñ°¡ ´Ù µÇ¾úÀ¸¸é ÀÌÁ¦ Ç÷ÎÇÇ µð½ºÅ©¸¦ ³Ö°í ºÎÆÃÀ» Çϵµ·Ï ÇÑ´Ù.
¼³Ä¡¸¦ Çϱâ À§Çؼ i¸¦ ¼±ÅÃÇÏ°í Å͹̳ΠŸÀÔÀ» ¼±ÅÃÇϵµ·Ï ÇÑ´Ù.
rootdev=0x1100
rrootdev=0x2f00 rawdev=0x2f02 |
OpenBSD¸¦ ¼³Ä¡ÇÒ Çϵåµð½ºÅ©¸¦ ¼±ÅÃÇÑ´Ù. Çϵåµð½ºÅ©´Â ¼ø¼´ë·Î
wd0, wd1, wd2.. ¼ø¼·Î µÇ¾îÀÖ´Ù. fdisk·Î ÆÄƼ¼ÇÀ» ¼³Á¤ ÇÒ °ÍÀÎÁö ¹°¾îº»´Ù.
Ãʺ¸ÀÚµéÀº ´Ù¸¥ ÆÄƼ¼Ç µµ±¸¸¦ »ç¿ëÇÒ °ÍÀ» ±ÇÇÑ´Ù.(°³ÀÎÀûÀ¸·Î´Â FreeBSD¿¡¼ ³ª´©±æ
±ÇÇÑ´Ù. ±ò²ûÇÑ ºÎÆ®¸Þ´ÏÀú±îÁö ÀÚµ¿À¸·Î ¼³Ä¡µÈ´Ù. ÆÄƼ¼Ç ¹øÈ£´Â FreeBSD´Â 165¹øÀ»
»ç¿ëÇÏ°í OpenBSD´Â 166¹øÀÌ´Ù.)
ÀÌ¹Ì ÆÄƼ¼ÇÀ» ³ª´³´Ù¸é no¸¦ ¼±ÅÃÇÏ°í disklabelÀ» ÆíÁýÇϵµ·Ï ÇÏÀÚ.
The installation
program needs to know which disk to consider the root disk. |
disklabelÀ» ÆíÁý ÇÑ´Ù. ?¸¦ Ä¡¸é µµ¿ò¸»À» º¼ ¼ö ÀÖ´Ù.
¶óº§Áß¿¡ c´Â Àüü¸¦ ³ªÅ¸³½´Ù, °Çµå¸®Áö ¾Ê´Â´Ù.(°Çµå¸± ¼öµµ ¾ø´Ù.)
Âü°í : º»ÀÎ °°Àº °æ¿ì FAT32 ÆÄƼ¼ÇÀÌ i·Î ³ªÅ¸³µ´Ù. À©µµ¿ì¸¦ ³¯¸®°í ½ÍÁö ¾Ê´Ù¸é
À̰͵µ °Çµå¸®Áö ¸»µµ·ÏÇÑ´Ù.
¶óº§Àº 6°³ ±îÁö ¸¸µé ¼ö ÀÖ´Ù. b´Â µðÆúÆ®·Î swap ÀÌ´Ù.
Âü°í·Î OpenBSD¸¦ ¼³Ä¡ ÇßÀ» ¶§ÀÇ ÃÖ¼Ò¿ë·®Àº ´ÙÀ½°ú °°´Ù.
/ = 35M, /usr = 229M, /var = 24M, /usr/X11 = 72M
°¢ »ç¿ëÀÚÀÇ ÇÊ¿ä¿¡ µû¶ó /usr¿Í /varÀº °¢ÀÚÀÇ ÇÊ¿ä¿¡ µû¶ó ¿ë·®À» ¼³Á¤Çϵµ·Ï ÇÑ´Ù.
(OpenBSD´Â À¥ µð·ÏÅ丮¿Í À͸í ftp°¡ /var ÇÏ¿¡ À§Ä¡ÇÑ´Ù.)
Áß¿äÇÑ ¸í·ÉÀº ´ÙÀ½°ú °°´Ù.
p : ÇöÀçÀÇ ¼³Á¤À» º¸¿©ÁØ´Ù.
a : µð½ºÅ© ¶óº§À» Ãß°¡ÇÑ´Ù.
d : µð½ºÅ© ¶óº§À» »èÁ¦ÇÑ´Ù.
Inside the BIOS
'A6' ('OpenBSD') partition you just created, there resides an Available commands: p [unit] - print label. M - show entire OpenBSD man page for disklabel. e - edit drive parameters. a [part] - add new partition. b - set OpenBSD disk boundaries. c [part] - change partition size. d [part] - delete partition. g [d|b] - Use [d]isk or [b]ios geometry. m [part] - modify existing partition. n [part] - set the mount point for a partition. r - recalculate free space. u - undo last change. s [path] - save label to file. w - write label to disk. q - quit and save changes. x - exit without saving changes. X - toggle expert mode. ? [cmnd] - this message or command specific help. Numeric parameters may use suffixes to indicate units: 'b' for bytes, 'c' for cylinders, 'k' for kilobytes, 'm' for megabytes, 'g' for gigabytes or no suffix for sectors (usually 512 bytes). Non-sector units will be rounded to the nearest cylinder. Entering '?' at most prompts will give you
(simple) context sensitive help. 16 partitions: # size offset fstype [fsize bsize cpg] a: 164241 63 4.2BSD 1024 8192 16 # / b: 614880 164304 swap c: 80041248 0 unused 0 0 d: 164304 779184 4.2BSD 1024 8192 16 # /tmp e: 164304 943488 4.2BSD 1024 8192 16 # /var g: 716688 1107792 4.2BSD 1024 8192 16 # /usr h: 78216768 1824480 4.2BSD 1024 8192 16 # /home > w |
°¢ ¶óº§ÀÇ ¸¶¿îÆ® Æ÷ÀÎÆ®¸¦ È®ÀÎÇÏ°í µð½ºÅ©¸¦ Æ÷¸ËÇϵµ·Ï ÇÑ´Ù.
You will now have the opportunity to enter filesystem 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=82152k) [/tmp, RET, none, or done]? <Enter> Mount point for wd0e (size=82152k) [/var, RET, none, or done]? <Enter> Mount point for wd0g (size=358344k) [/usr, RET, none, or done]? <Enter> Mount point for wd0h (size=39108384k) [/home, RET, none, or done]? <Enter> Mount point for wd0d (size=82002k) [/tmp, RET, none, or done]? done <Enter> Now you can select another disk to initialize. (Do not re-select a disk you have already entered information for). Available disks are: wd0 Which one? [done] <Enter> You have configured the following devices and mount points: wd0a / wd0d /tmp wd0e /var wd0g /usr wd0h /home ============================================================ The next step will overwrite any existing data on: wd0a wd0d wd0e wd0g wd0h Are you really sure that you're ready to proceed? [n] y Creating filesystems... Warning: 64 sector(s) in last cylinder unallocated /dev/rwd0a: 164240 sectors in 163 cylinders of 16 tracks, 63 sectors 80.2MB in 11 cyl groups (16 c/g, 7.88MB/g, 1920 i/g) /dev/rwd0d: 164304 sectors in 163 cylinders of 16 tracks, 63 sectors 80.2MB in 11 cyl groups (16 c/g, 7.88MB/g, 1920 i/g) /dev/rwd0e: 164304 sectors in 163 cylinders of 16 tracks, 63 sectors 80.2MB in 11 cyl groups (16 c/g, 7.88MB/g, 1920 i/g) /dev/rwd0g: 716688 sectors in 711 cylinders of 16 tracks, 63 sectors 349.9MB in 45 cyl groups (16 c/g, 7.88MB/g, 1920 i/g) /dev/rwd0h: 78216768 sectors in 77596 cylinders of 16 tracks, 63 sectors 38191.8MB in 4850 cyl groups (16 c/g, 7.88MB/g, 1920 i/g) |
³×Æ®¿öÅ©¸¦ ¼³Á¤Çϵµ·Ï ÇÑ´Ù. ¸ÕÀú È£½ºÆ®ÀÇ À̸§°ú µµ¸ÞÀÎ À̸§À»
ÀÔ·ÂÇÑ´Ù.
´ÙÀ½ ·£Ä«µå¸¦ ¼±ÅÃÇÏ°í ¾ÆÀÌÇǸ¦ ¼³Á¤Çϵµ·Ï ÇÑ´Ù. dhcp ¶ó¸é ¾ÆÀÌÇÇ ÀԷºκп¡
±×³É ¿£Å͸¦ Ä¡°Å³ª dhcp¸¦ ÀÔ·ÂÇÑ´Ù.
You will now be given the opportunity to configure the network. This will be useful if you need to transfer the installation sets via FTP, 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. Configure the network [y] <Enter> Enter system hostname (short form): [] vaio Enter DNS domain name: [] zedi.net 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 servers. You may configure the following network interfaces (the interfaces marked with [X] have been successfully configured): [ ] fxp0 Configure which interface? (or, enter 'done') [fxp0] <Enter> IP address (or 'dhcp') ? [] 192.168.1.2 Symbolic (host) name? [test2] <Enter> Netmask ? [255.255.255.0] <Enter> Your use of the network interface may require non-default media directives. The default media is: media: Ethernet autoselect (100baseTX full-duplex) This is a list of supported media: media autoselect media 100baseTX mediaopt full-duplex media 100baseTX media 10baseT mediaopt full-duplex media 10baseT If the default is not satisfactory, and you wish to use another media, copy that line from above (e.g. "media 100baseTX") Media directives? [] <Enter> You may configure the following network interfaces (the interfaces marked with [X] have been successfully configured): [X] fxp0 Configure which interface? (or, enter 'done') [done] <Enter> |
¶ó¿ìÅÍ¿Í ³×ÀÓ¼¹ö¸¦ ¼±ÅÃÇÑ´Ù.
Enter IP address of default route: [none] 192.168.1.1 Enter IP address of primary nameserver: [none] 218.146.244.47 Would you like to use the nameserver now? [y] <Enter> |
À̶§±îÁöÀÇ ¼³Á¤À» Ãë¼ÒÇÏ°í ´Ù½Ã ÇÏ°í½Í´Ù¸é ½©·Î ³ª°£´ÙÀ½ installÀ»
ÀÔ·ÂÇÏ¸é µÈ´Ù.
´Ù¸§ root Æнº¿öµå¸¦ ÀÔ·ÂÇÏ°í, X-Window¸¦ ¼³Ä¡ ÇÒ °ÍÀÎÁö ¼±ÅÃÇÑ´Ù.
´ç¿¬È÷ ftp·Î ¼³Ä¡ÇÑ´Ù.
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] <Enter> /dev/wd0a on /mnt type ffs (rw, asynchronous, local) /dev/wd0d on /mnt/tmp type ffs (rw, asynchronous, local) /dev/wd0e on /mnt/var type ffs (rw, asynchronous, local) /dev/wd0g on /mnt/usr type ffs (rw, asynchronous, local) /dev/wd0h on /mnt/home type ffs (rw, asynchronous, local) Please enter the initial password that the root account will have. Password (will not echo): <Your Password Here!> Password (again): <Your Password Here!> Do you expect to run the X Window System? [y] <Enter> 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. Install from (f)tp, (h)ttp, (t)ape, (C)D-ROM, (N)FS or local (d)isk? f |
OpenBSD¸¦ ¹Þ¾Æ¿Ã ftp ¼¹ö¸¦ ¼³Á¤ÇÑ´Ù. È£½ºÆ®À̸§, ¾ÆÀÌÇÇ, ¸®½ºÆ®ÀÇ ¹øÈ£ Áß Çϳª¸¦ ÀÔ·ÂÇÏ¸é µÈ´Ù. ¿©±â¼´Â °³ÀÎÀûÀ¸·Î Áñ°Ü»ç¿ëÇÏ´Â ÀϺ»À» ¼±ÅÃÇß´Ù.
This is an automated ftp-based installation process. You will be asked questions and then the files will be retrieved iteratively via ftp. HTTP/FTP proxy URL? (e.g. 'http://proxy:8080', or "none') [none] <Enter> By default, ftp will attempt a passive connection and fall back to normal (active) connection if that does not work. However, there are some very old ftp servers that claim to support passive mode, but really do not. In this case, you should to explicitly request an active session. Do you want to use active ftp? [n] <Enter> Do you want a list of potential ftp servers? [y] <Enter> 1 ftp://ftp.openbsd.org/pub/OpenBSD Alberta, Canada 2 ftp://..................................................... 3 ftp://..................................................... .............................................................. : <Space bar> .............................................................. .............................................................. .............................................................. Server IP address, hostname, or list#?[]34 Using ftp://ftp.jp.openbsd.org/pub/OpenBSD Tokyo, Japan Server IP address, hostname, or list#?[ftp.jp.openbsd.org] <Enter> Server directory? [pub/OpenBSD/3.0/i386] <Enter> Login? [anonymous] <Enter> |
¼³Ä¡ÇÒ ÆÐÅ°Áö¸¦ ¼±ÅÃÇÑ´Ù. ¾ÕºÎºÐ¿¡ +, -¸¦ ºÙ¿©¼ ¼³Ä¡ÇÒ ÆÐÅ°Áö¸¦
¼±ÅÃÇÑ´Ù.(¿¹ : +comp30.tgz)
¸ðµÎ ¼±ÅÃÇÑ´Ù¸é all, ȤÀº *À» ÀÔ·ÂÇÏ¸é µÈ´Ù. ¼±ÅÃÀÌ ³¡³µÀ¸¸é doneÀ» ÀÔ·ÂÇϵµ·Ï
ÇÑ´Ù.
ÆÐÅ°ÁöµéÀÇ ³»¿ëÀº ´ÙÀ½°ú °°´Ù.
base30.tgz - ±âº» ½Ã½ºÅÛ
etc30.tgz - ½Ã½ºÅÛ ¼³Á¤µé
comp30.tz - ÄÄÆÄÀÏ·¯¿Í Åø µî
man30.tgz - ¸Þ´º¾ó ÆäÀÌÁö
misc30.tgz - ±âŸ
game30.tgz - °ÔÀÓ
xbase30.tgz - X ±âº» ½Ã½ºÅÛ
xfont30.tgz - X ÆùÆ®¼¹ö ¹× ÆùÆ®
xserv30.tgz - X ¼¹ö.
xshare30.tgz - X ¹®¼, X ¼³Á¤µî
bsd - OpenBSD Ä¿³Î
The following sets are available for extraction. Enter filename, `list', `all', or `done'. You may de-select a set by prepending a '-' to its name. [X] base30.tgz [X] etc30.tgz [ ] misc30.tgz [ ] comp30.tgz [X] man30.tgz [ ] game30.tgz [ ] xbase30.tgz [ ] xshare30.tgz [ ] xfont30.tgz [ ] xserv30.tgz [X] bsd File name? [] * The following sets are available for extraction. Enter filename, `list', `all', or `done'. You may de-select a set by prepending a '-' to its name. [X] base30.tgz [X] etc30.tgz [X] misc30.tgz [X] comp30.tgz [X] man30.tgz [X] game30.tgz [X] xbase30.tgz [X] xshare30.tgz [X] xfont30.tgz [X] xserv30.tgz [X] bsd File name? [] -game* The following sets are available for extraction. Enter filename, `list', `all', or `done'. You may de-select a set by prepending a '-' to its name. [X] base30.tgz [X] etc30.tgz [X] misc30.tgz [X] comp30.tgz [X] man30.tgz [ ] game30.tgz [X] xbase30.tgz [X] xshare30.tgz [X] xfont30.tgz [X] xserv30.tgz [X] bsd File name? [] done |
ÆÐÅ°Áö ¼±ÅÃÀÌ ³¡³ª¸é ¼³Ä¡¸¦ ½ÃÀÛÇÑ´Ù.
Fetching files via ftp may take a long time, especially over a slow network connection. Ready to install sets? [y] <Enter> Getting base30.tgz: 100% |**************************************************| 21192 KB 02:27 ETA Getting etc30.tgz: 100% |**************************************************| 987 KB 00:38 ETA Getting man30.tgz: 100% |**************************************************| 4957 KB 01:14 ETA Getting bsd: 100% |**************************************************| 3053 KB 00:42 ETA ............................................................................... ............................................................................... ............................................................................... Extract more sets? [n] <Enter> |
½Ã°£´ë¸¦ ¼³Á¤ÇÏ°í ÀåÄ¡ÆÄÀÏÀ» »ý¼ºÇÑ´Ù. ´Üµ¶¸Ó½ÅÀÌ ¾Æ´Ñ À©µµ¿ì ¸Ó½Å°ú °°ÀÌ ¾²´Â ½Ã½ºÅÛÀ̶ó¸é ½Ã°£´ë¸¦ [GMT]·Î Çϵµ·Ï ÇÑ´Ù. OpenBSD Àü¿ë ½Ã½ºÅÛÀ̶ó¸é ½Ã°£´ë¸¦ Asia/Seoul·Î ¼³Á¤ÇÑ´Ù. ÀåÄ¡ÆÄÀÏÀ» ¸¸µå´Â °ÍÀ¸·Î ¼³Ä¡´Â ³¡ÀÌ´Ù. ÀçºÎÆà Çϵµ·Ï ÇÏÀÚ..
Copying fstab, hostname.fxp0, hosts, myname, mygate, resolv.conf, ...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 grouped by continent or country, 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] Asia/Seoul You have selected timezone "Asia/Seoul". Installing timezone link. Making all device nodes (by running /dev/MAKEDEV all) ...... done. Installing boot block... 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 7 blocks of size 8192 each. Using disk geometry of 63 sectors and 255 heads. 0: 20 @(0 108 44) (6847-6866) 1: 63 @(0 109 1) (6867-6929) 2: 13 @(0 110 1) (6930-6942) 3: 5 @(0 9 59) (625-629) 4: 11 @(0 10 1) (630-640) /mnt/boot: 5 entries total using MBR partition 3: type 166 (0xa6) offset 63 (0x3f) Enabling machdep.allowaperture. Read xf86(4) for more information. Unmounting filesystems... /mnt/home /mnt/usr /mnt/var /mnt/tmp /mnt ... Done. Done. 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 |
¸¶Ä¡¸ç:
ÇöÀç ftp·Î ¼³Ä¡°¡ °¡´ÉÇÑ °æ¿ì´Â °íÁ¤¾ÆÀÌÇÇ ¾Æ´Ï¸é dhcp·Î ÀÎÅͳݿ¡ ¿¬°áµÈ °æ¿ì¸¸ °¡´ÉÇÏ´Ù. µû¶ó¼ ¼³Ä¡¿¡ Á¦¾àÀÌ ÀÖ´Â°Ç »ç½ÇÀ̳ª ¸¸¾à µÎ ´ëÀÇ ÄÄÇ»Å͸¦ °¡Áö°í ÀÖ´Ù¸é ½±°Ô ¼³Ä¡°¡ °¡´ÉÇÒ °ÍÀÌ´Ù. ¼³Ä¡¸¸ µÇ¸é Çѱ¹Åë½ÅÀÇ PPPoEµµ ½±°Ô »ç¿ëÀÌ °¡´ÉÇÏ´Ù. ´Ù¸¥°Ç »ç¿ëÀ» ¾ÈÇغÁ¼ ¸ð¸£°Ú´Ù.