Buat yang pengen belajar OpenBSD gw selipin di bawah gimana caranya instalasi OPenBSD buat pertama kali….btw tutorianya gw ambil dari blognya om Tri, en dia juga yang ngajarin gw, tangkyu yee omm 🙂
setelah booting via cd maka akan tampil pertanyaan :
1 2 3 |
<strong> rootdev=0?1100 rrootdev=0?2f00 rawdev=0?2f02 erase ^?, werase ^W, kill ^U, intr ^C, status ^T (I)nstall, (U)pgrade or (S)hell? </strong><strong>i</strong> |
pilihan ?I? di gunakan untuk install openBSD ke system kemudian pilihan ?U? untuk Upgrade system nya tanpa merubah konfigurasi terdahulu, dan kemudian pilihan ?S? untuk masuk kedalam shell nya, biasanya di gunakan untuk maintenance dll.
Setelah itu akan tampil :
1 2 3 4 5 6 7 8 9 10 |
<strong> Welcome to the OpenBSD/i386 3.8 install program. This program will help you install OpenBSD in a simple and rational way. At any prompt except password prompts you can run a shell command by typing ?!foo?, or escape to a shell by typing ?!?. Default answers are shown in []?s and are selected by pressing RETURN. At any time you can exit this program by pressing Control-C and then RETURN, but quitting during an install can leave your system in an inconsistent state. Specify terminal type: [vt220] </strong><strong><em>Enter</em> kbd(8) mapping? (??? for list) [none] </strong><strong><em>Enter</em></strong> |
kita coba instal menggunakan standar instalasi untuk pilihan terminal dan keyboard mapping-nya jadi ya tinggal tekan enter aja.
1 2 3 4 5 6 7 |
<strong> IS YOUR DATA BACKED UP? As with anything that modifies disk contents, this program can cause SIGNIFICANT data loss. It is often helpful to have the installation notes handy. For complex disk configurations, relevant disk hardware manuals and a calculator are useful. Proceed with install? [no] </strong><strong>y</strong> |
karena kita sudah menyiapkan segalanya dan kondisi persiapan untuk instalasi sudah siap maka kita tinggal tekan ?y? untuk melanjutkan proses instalasi
1 2 3 4 5 6 7 8 |
<strong> Cool! Let?s get to it? You will now initialize the disk(s) that OpenBSD will use. To enable all available security features you should configure the disk(s) to allow the creation of separate filesystems for /, /tmp, /var, /usr, and /home. Available disks are: wd0. Which one is the root disk? (or done) [wd0] </strong><strong><em>Enter</em></strong> |
Kemudian kita masuk ke bagian tersulit dari proses instalasi ini, yaitu pembagian partisi harddrive yang akan kita gunakan. harddrive yang kebetulan di kenal adalah wd0 maka kita tinggal tekan enter untuk melanjutkan proses instalasi tersebut
1 |
<strong> Do you want to use *all* of wd0 for OpenBSD? [no] yes</strong> |
berhubung saya akan menggunakan semua partisi untuk di gunakan dengan system openBSD maka saya pilih ?yes? dalam pemilihan tersebut.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
<strong> > </strong><strong>p m device: /dev/rwd0c type: ESDI disk: ESDI/IDE disk label: ST320011A bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 16383 total sectors: 39102336 free sectors: 36030960 rpm: 3600 16 partitions: # size offset fstype [fsize bsize cpg] a: 17593.2M 1498.7M unused 0 0 c: 19092.9M 0.0M unused 0 0 i: 1498.7M 0.0M MSDOS > </strong><strong>d a > </strong><strong>a a offset: [3069360] </strong><strong><em>Enter</em> size: [36030960] </strong><strong>150m Rounding to nearest cylinder: 307440 FS type: [4.2BSD] </strong><strong><em>Enter</em> mount point: [none] </strong><strong>/ > </strong><strong>a b offset: [3376800] </strong><strong><em>Enter</em> size: [35723520] </strong><strong>300m Rounding to nearest cylinder: 614880 FS type: [swap] </strong><strong><em>Enter</em> > </strong><strong>a d offset: [3991680] </strong><strong><em>Enter</em> size: [35108640] </strong><strong>120m Rounding to nearest cylinder: 245952 FS type: [4.2BSD] </strong><strong><em>Enter</em> mount point: [none] </strong><strong>/tmp > </strong><strong>a e offset: [4237632] </strong><strong><em>Enter</em> size: [34862688] </strong><strong>80m Rounding to nearest cylinder: 164304 FS type: [4.2BSD] </strong><strong><em>Enter</em> mount point: [none] </strong><strong>/var > </strong><strong>a g offset: [4401936] </strong><strong><em>Enter</em> size: [34698384] </strong><strong>3g Rounding to nearest cylinder: 6291936 FS type: [4.2BSD] </strong><strong><em>Enter</em> mount point: [none] </strong><strong>/usr > </strong><strong>a h offset: [10693872] </strong><strong><em>Enter</em> size: [28406448] </strong><strong>4g Rounding to nearest cylinder: 8388576 FS type: [4.2BSD] </strong><strong><em>Enter</em> mount point: [none] </strong><strong>/home > </strong><strong>p m device: /dev/rwd0c type: ESDI disk: ESDI/IDE disk label: ST320011A bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 16383 total sectors: 39102336 free sectors: 22115520 rpm: 3600 16 partitions: # size offset fstype [fsize bsize cpg] a: 150.1M 1498.7M 4.2BSD 2048 16384 16 # / b: 300.2M 1648.8M swap c: 19092.9M 0.0M unused 0 0 d: 120.1M 1949.1M 4.2BSD 2048 16384 16 # /tmp e: 80.2M 2069.2M 4.2BSD 2048 16384 16 # /var g: 2048.0M 2149.4M 4.2BSD 2048 16384 16 # /usr h: 4096.0M 4197.4M 4.2BSD 2048 16384 16 # /home i: 1498.7M 0.0M MSDOS > </strong><strong>q Write new label?: [y] </strong><strong><em>Enter</em></strong> |
lanjut ke dalam penentuan partisi, yang saya pakai standar isntalasi sesuai dengan yang ada di site openBSD
1 |
<strong> Mount point for wd0d (size=122976k)? (or ?none? or ?done?) [/tmp] </strong><strong><em>Enter</em> </strong> |
1 |
<strong> Mount point for wd0e (size=82152k)? (or ?none? or ?done?) [/var] </strong><strong><em>Enter</em> </strong> |
1 |
<strong> Mount point for wd0g (size=3145968k)? (or ?none? or ?done?) [/usr] </strong><strong><em>Enter</em> </strong> |
1 |
<strong> Mount point for wd0h (size=4194288k)? (or ?none? or ?done?) [/home] </strong><strong><em>Enter</em> </strong> |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<strong> Mount point for wd0d (size=122976k)? (or ?none? or ?done?) [/tmp] </strong><strong>done No more disks to initialize. OpenBSD filesystems: wd0a / wd0d /tmp wd0e /var wd0g /usr wd0h /home The next step *DESTROYS* all existing data on these partitions! Are you really sure that you?re ready to proceed? [no] </strong><strong>y /dev/rwd0a: 307440 sectors in 305 cylinders of 16 tracks, 63 sectors </strong> |
1 2 |
<strong> 150.1MB in 1 cyl groups (306 c/g, 150.61MB/g, 19328 i/g) /dev/rwd0d: 245952 sectors in 244 cylinders of 16 tracks, 63 sectors </strong> |
1 2 |
<strong> 120.1MB in 1 cyl groups (244 c/g, 120.09MB/g, 15360 i/g) /dev/rwd0e: 164304 sectors in 163 cylinders of 16 tracks, 63 sectors </strong> |
1 2 |
<strong> 80.2MB in 1 cyl groups (164 c/g, 80.72MB/g, 10368 i/g) /dev/rwd0g: 6291936 sectors in 6242 cylinders of 16 tracks, 63 sectors </strong> |
1 2 |
<strong> 3072.2MB in 20 cyl groups (328 c/g, 161.44MB/g, 20608 i/g) /dev/rwd0h: 8388576 sectors in 8322 cylinders of 16 tracks, 63 sectors </strong> |
1 2 |
<strong> 4096.0MB in 26 cyl groups (328 c/g, 161.44MB/g, 20608 i/g) /dev/wd0a on /mnt type ffs (rw, asynchronous, local, ctime=Thu Oct 20 00:03:14 20</strong> |
1 2 |
<strong> 05) /dev/wd0h on /mnt/home type ffs (rw, asynchronous, local, nodev, nosuid, ctime=T</strong> |
1 2 |
<strong> hu Oct 20 00:03:14 2005) /dev/wd0d on /mnt/tmp type ffs (rw, asynchronous, local, nodev, nosuid, ctime=Th</strong> |
1 2 |
<strong> u Oct 20 00:03:15 2005) /dev/wd0g on /mnt/usr type ffs (rw, asynchronous, local, nodev, ctime=Thu Oct 20 </strong> |
1 2 |
<strong> 00:03:15 2005) /dev/wd0e on /mnt/var type ffs (rw, asynchronous, local, nodev, nosuid, ctime=Th</strong> |
1 |
<strong> u Oct 20 00:03:15 2005)</strong> |
dan lanjut ke proses format atau menentukan mount point yang akan di gunakan setelah pengalokasian partisi tersebut. Setelah proses tersebut selesai maka akan berlanjut ke penentuan hostname yang akan digunakan oleh komputer tersebut.
1 |
<strong> Enter system hostname (short form, e.g. ?foo?): idonBSD</strong> |
lalu berlanjut ke seting up network yang akan di gunakan, seperti tampilan di bawah ini :
1 |
<strong>Configure the network? [yes] <em>Enter</em> </strong> |
1 |
<strong> Available interfaces are: fxp0. </strong> |
1 |
<strong> Which one do you wish to initialize? (or ?done?) [fxp0] </strong><strong><em>Enter</em> </strong> |
1 |
<strong> Symbolic (host) name for fxp0? [idonBSD] </strong><strong><em>Enter</em> </strong> |
1 |
<strong> The default media for fxp0 is </strong> |
1 |
<strong> media: Ethernet autoselect (100baseTX full-duplex) </strong> |
1 |
<strong> Do you want to change the default media? [no] </strong><strong><em>Enter</em> </strong> |
1 |
<strong> IP address for fxp0? (or ?dhcp?) </strong><strong>192.168.0.251 </strong> |
1 |
<strong> Netmask? [255.255.255.0] </strong><strong><em>Enter</em> </strong> |
1 |
<strong> IPv6 address for fxp0? (or ?rtsol? or ?none?) [none] </strong> |
1 |
<strong> No more interfaces to initialize. </strong> |
1 |
<strong> DNS domain name? (e.g. ?bar.com?) [my.domain] </strong><strong>idonBSD.com </strong> |
1 |
<strong> DNS nameserver? (IP address or ?none?) [none] </strong><strong>202.134.0.155 </strong> |
1 |
<strong> Use the nameserver now? [yes] </strong><strong><em>Enter</em> </strong> |
1 |
<strong> Default route? (IP address, ?dhcp? or ?none?) </strong><strong>192.168.0.101 </strong> |
1 |
<strong> add net default: gateway 192.168.0.101 Edit hosts with ed? [no] </strong><strong><em>Enter</em> </strong> |
1 |
<strong> Do you want to do any manual network configuration? [no] </strong><strong><em>Enter</em></strong> |
dan berlanjut ke proses menge-set password root di komputer tersebut.
1 |
<strong>Password for root account? (will not echo) <em>pAssWOrd</em> </strong> |
1 |
<strong> Password for root account? (again) </strong><strong><em>pAssWOrd</em></strong> |
berlanjut ke pemilihan media instalasi, berhubung kita memiliki CD openBSD maka kita akan melanjutkan proses instalasi tersebut dengan pilihan media instalasinya adalah cdrom
1 2 |
<strong> Let?s install the sets! Location of sets? (cd disk ftp http or ?done?) [cd] </strong><strong><em>Enter</em> Available CD-ROMs are: cd0.</strong> |
1 2 |
<strong> Available CD-ROMs are: cd0. Which one contains the install media? (or ?done?) [cd0] </strong><strong><em>Enter</em> </strong> |
1 |
<strong> Pathname to the sets? (or ?done?) [3.8/i386] </strong><strong><em>Enter</em></strong> |
dan berlanjut ke pemilihan file-set yang akan di install kedalam system tersebut, di dalam proses ini saya akan install semua file-set yang tersedia.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
<strong> 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 [ ] bsd.mp [X] base38.tgz [X] etc38.tgz [X] misc38.tgz [X] comp38.tgz [X] man38.tgz [X] game38.tgz [ ] xbase38.tgz [ ] xetc38.tgz [ ] xshare38.tgz [ ] xfont38.tgz [ ] xserv38.tgz File Name? (or ?done?) [bsd.mp] </strong><strong>all 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] base38.tgz [X] etc38.tgz [X] misc38.tgz [X] comp38.tgz [X] man38.tgz [X] game38.tgz [X] xbase38.tgz [X] xetc38.tgz [X] xshare38.tgz [X] xfont38.tgz [X] xserv38.tgz</strong> |
dan setelah itu akan tampil proses instalasi seperti di bawah ini.
1 |
<strong> File Name? (or ?done?) [done] <em>Enter</em> </strong> |
1 |
<strong> Ready to install sets? [yes] </strong><strong><em>Enter</em> </strong> |
1 |
<strong> Getting bsd ? </strong> |
1 |
<strong> 100% |**************************************************| 5157 KB 00:08 </strong> |
1 |
<strong> Getting bsd.rd ? </strong> |
1 |
<strong> 100% |**************************************************| 4549 KB 00:02 </strong> |
1 |
<strong> Getting bsd.mp ? </strong> |
1 |
<strong> 100% |**************************************************| 5202 KB 00:03 </strong> |
1 |
<strong> Getting base38.tgz ? </strong> |
1 |
<strong> 100% |**************************************************| 35928 KB 00:25 </strong> |
1 |
<strong> Getting etc38.tgz ? </strong> |
1 |
<strong> 100% |**************************************************| 1123 KB 00:01 </strong> |
1 |
<strong> Getting misc38.tgz ? </strong> |
1 |
<strong> 100% |**************************************************| 2222 KB 00:01 </strong> |
1 |
<strong> Getting comp38.tgz ? </strong> |
1 |
<strong> 100% |**************************************************| 20522 KB 00:17 </strong> |
1 |
<strong> Getting man38.tgz ? </strong> |
1 |
<strong> 100% |**************************************************| 7234 KB 00:05 </strong> |
1 |
<strong> Getting game38.tgz ? </strong> |
1 |
<strong> 100% |**************************************************| 2538 KB 00:01 </strong> |
1 |
<strong> Getting xbase38.tgz ? </strong> |
1 |
<strong> 100% |**************************************************| 10225 KB 00:07 </strong> |
1 |
<strong> Getting xetc38.tgz ? </strong> |
1 |
<strong> 100% |**************************************************| 93384 00:00 </strong> |
1 |
<strong> Getting xshare38.tgz ? </strong> |
1 |
<strong> 100% |**************************************************| 1986 KB 00:02 </strong> |
1 |
<strong> Getting xfont38.tgz ? </strong> |
1 |
<strong> 100% |**************************************************| 32438 KB 00:23 </strong> |
1 |
<strong> Getting xserv38.tgz ? </strong> |
1 |
<strong> 100% |**************************************************| 18172 KB 00:14 </strong> |
1 |
<strong> Location of sets? (cd disk ftp http or ?done?) [done] </strong><strong><em>Enter</em></strong> |
kemudian lanjut ke proses finishing dari instalasi tersebut :
1 |
<strong> Start sshd(8) by default? [yes] </strong><strong>y</strong> |
1 |
<strong> Start ntpd(8) by default? [no] </strong><strong>y</strong> |
1 |
<strong> Do you expect to run the X Window System? [yes] </strong><strong>y</strong> |
1 |
<strong> Change the default console to com0? [no] </strong><strong><em>Enter</em></strong> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<strong> Saving configuration files??done. Generating initial host.random file ??done. What timezone are you in? (??? for list) [Canada/Mountain] </strong><strong>? Africa/ Chile/ GB-Eire Israel NZ-CHAT Turkey America/ Cuba GMT Jamaica Navajo UCT Antarctica/ EET GMT+0 Japan PRC US/ Arctic/ EST GMT-0 Kwajalein PST8PDT UTC Asia/ EST5EDT GMT0 Libya Pacific/ Universal Atlantic/ Egypt Greenwich MET Poland W-SU Australia/ Eire HST MST Portugal WET Brazil/ Etc/ Hongkong MST7MDT ROC Zulu CET Europe/ Iceland Mexico/ ROK posix/ CST6CDT Factory Indian/ Mideast/ Singapore posixrules Canada/ GB Iran NZ SystemV/ right/ What timezone are you in? (??? for list) [Canada/Mountain] </strong><strong>Asia/Jakarta </strong> |
1 |
<strong> Setting local timezone to ?Asia/Jakarta??done.</strong> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<strong> Making all device nodes?done. Installing boot block? boot: /mnt/boot proto: /usr/mdec/biosboot device: /dev/rwd0c /usr/mdec/biosboot: entry point 0 proto bootblock size 512 /mnt/boot is 3 blocks x 16384 bytes fs block shift 2; part offset 3069360; inode block 152, offset 4136 using MBR partition 1: type 166 (0xa6) offset 3069360 (0?2ed5b0) done. CONGRATULATIONS! Your OpenBSD install has been successfully completed! To boot the new system, enter halt at the command prompt. Once the system has halted, reset the machine and boot from the disk. # </strong><strong>halt syncing disks? done The operating system has halted. Please press any key to reboot. </strong> |
selesai sudah standar instalasi untuk openBSD.
taken from : tridianto.wordpress.com
Just landed on this place via Google research. I love it. This situation change my percept and I am getting the RSS feeds. Cheers.