Walnutz

Walnutz

Install OpenBSD dan Router di PC

November11

Ada beberapa cara boot dalam proses installation kernel ini:
- Floppy disk: Image floppy disk bisa digunakan untuk membuat disk installation pada system Unix-like, atau system DOS/Windows, file tersebut ada floppy35.fs
- CD-ROM: Pada beberapa platform CD-ROM image (cd35.iso) di dalamnya sudah terdapat bootable, dalam hal ini hanya berisi kernel instalasi saja, dan untuk files instalasi masih harus di ambil melalui FTP atau tempat lain.
- bsd.rd: RAM disk kernel,yg bertujuan untuk malakukan proses booting dari system OpenBSD yg sudah ada ataupun melalui network.
- Network: Untuk beberapa platform sudah mendukung untuk booting melalui network.
- Menaruhkan file image system ke disk: file system image bisa di masukan ke patisi yg ada dan untuk selanjutnya melakukan proses booting.
- Bootable Tape: Untuk beberapa platform sudah mendukung untuk proses booting melalui tape.Tidak semua platform mendukung semua proses booting diatas:
- alpha: Floppy, CD-ROM, Menaruhkan file image system ke disk
- amd64: Floppy, CD-ROM, network.
- cats: CD-ROM.
- hp300: CD-ROM, network.
- hppa: Network.
- i386: Floppy, CD, network.
- mac68k: Installed (and booted) using utilities running on Mac OS. See INSTALL.mac68k for details.
- macppc: CD-ROM, network.
- mvme68k: Network, bootable tape.
- mvme88k: Network, bootable tape.
- sparc: Floppy, CD-ROM, network, writing image to existing swap partition, bootable tape.
- sparc64: Floppy (U1/U2 only), CD-ROM, network, Menaruhkan file image system ke disk.
- vax: Floppy, network.
Dan seluruh platform kecuali mac68k bisa juga menggunakan bsd.rd untuk melakukan proses install atau upgrade.*Install OpenBSD*
1. Boot from CD
2. Installation process
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? iWelcome to the OpenBSD/i386 3.5 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] Enter
Do you wish to select a keyboard encoding table? [no] EnterIS 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] yCool! 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] EnterDo you want to use *all* of wd0 for OpenBSD? [no] yes
sampai di sini ikuti petunjuk yang ada di dalam proses instalasinya. (mudah kan ^_^)Selanjutnya adalah melakukan compile system dengan kernel yg baru
*Build New Kernel*
3. ambil src file dari ftp.openbsd.org/pub/OpenBSD/3.5/
3. copykan file src.tar.gz ke directory /usr and sys.tar.gz ke directory /usr/src
#cp src.tar.gz /usr
#cp sys.tar.gz/usr/src
4. lakukan untar ;
#tar -zxvf /usr/src.tar.gz
#tar -zxvf /usr/src/sys.tar.gz
5. cd /usr/src; make obj && make depend && make && make install
6. cd ../sys/i386/conf
7. copy dan backup files GENERIC ke file lain;
#cp GENERIC SomeFile
8. lakukan prosess config , kemudian compile ;
#config SomeFile
#cd ../compile/SomeFile
#make clean && make depend && make
9. copy dan backup file bsd yang lama dengan file bsd yang baru
#cp /bsd /bsd.old
#cp bsd /bsd
#reboot
10.rebuild kembali system binaries
#cd /usr/src
#rm -r /usr/obj/*
#make obj && make build
11.uname -a
OpenBSD setan.fbsd-tech.net 3.5 SETAN#0 i386

sumber: http://www.openbsd.org/faq/faq4.html#Overview

posted under Networking

Email will not be published

Website example

Your Comment: