Lingkage program

Installing OpenBSD

Posted on: December 2, 2006

The OpenBSD project produces a FREE, multi-platform 4.4BSD-based UNIX-like operating system. Our efforts emphasize portability, standardization, correctness, proactive security and integrated cryptography. OpenBSD supports binary emulation of most programs from SVR4 (Solaris), FreeBSD, Linux, BSD/OS, SunOS and HP-UX.
if you want to install here is the tutorial how to install OpenBSD

Starting the installation

erase ^?, werase ^W, kill ^U, intr ^C, status ^T
(I)nstall, (U)pgrade or (S)hell? i

Welcome to the OpenBSD/i386 3.9 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]
kbd(8) mapping? (‘?’ for list) [none]

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] y
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]
Do you want to use *all* of wd0 for OpenBSD? [no] y
Putting all of wd0 into an active OpenBSD MBR partion (type ‘A6’)…done.

You will now create an OpenBSD disklabel inside the OpenBSD MBR
partition. The disklabel defines how OpenBSD splits up the MBR partition
into OpenBSD partitions in which filesystems and swap space are created.

The offsets used in the disklabel are ABSOLUTE, i.e. relative to the
start of the disk, NOT the start of the OpenBSD MBR partition.

disklabel: no disk label
WARNING: Disk wd0 has no label. You will be creating a new one.

# using MBR partition 3: type A6 off 63 (0x3f) size 53464257 (0x32fccc1)

Treating sectors 65-53464320 as the OpenBSD portion of the disk.
You can use the ‘b’ command to change this.

Partitioning

Initial label editor (enter ‘?’ for help at any prompt)
> p m

device: /dev/rwd0c
type: ESDI
disk: ESDI/IDE disk
label: WDC WD273BA
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 53464320
free sectors: 0
rpm: 3600

16 partitions:# size offset fstype [fsize bsize cpg] a: 80.2M 0.0M 4.2BSD 2048 16384 162 b: 300.2M 80.2M swap c: 26105.6M 0.0M unused 0 0 d: 80.2M 380.5M 4.2BSD 2048 16384 164 e: 80.2M 460.7M 4.2BSD 2048 16384 164 g: 2048.0M 540.9M 4.2BSD 2048 16384 328 h: 23516.7M 2588.9M 4.2BSD 2048 16384 328> d a> d b> d d> d e> d g> d h> p mdevice: /dev/rwd0ctype: ESDIdisk: ESDI/IDE disklabel: WDC WD273BAbytes/sector: 512sectors/track: 63tracks/cylinder: 16sectors/cylinder: 1008cylinders: 16383total sectors: 53464320free sectors: 0rpm: 360016 partitions:# size offset fstype [fsize bsize cpg] c: 26105.6M 0.0M unused 0 0> a a
offset: [63]
size: [53464257] 640m
FS type: [4.2BSD]
mount point: [none] /
> a b
offset: [1310400]
size: [52153920] 300m
FS type: [swap]
> a d
offset: [1925280]
size: [51539040] 640m
FS type: [4.2BSD]
mount point: [none] /tmp
> a e
offset: [3235680]
size: [50228640] 640m
FS type: [4.2BSD]
mount point: [none] /var
> a g
offset: [4546080]
size: [48918240] 16g
FS type: [4.2BSD]
mount point: [none] /usr
> a h
offset: [38100384]
size: [15363936]
FS type: [4.2BSD]
mount point: [none] /home
> w
> q
No label changes.
Mount point for wd0d (size=320k)? (or none or done) [/tmp]
Mount point for wd0e (size=320k)? (or none or done) [/var]
Mount point for wd0g (size=16777018k)? (or none or done) [/usr]
Mount point for wd0h (size=9954000k)? (or none or done) [/home]
Mount point for wd0d (size=320k)? (or none or done) [/tmp] 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] y

/dev/rwd0a: 1310336 sectors in 1300 cylinders of 16 tracks, 63 sectors 639.8MB in 4 cyl groups (328 c/g, 161.44MB/g, 20608 i/g) /dev/rwd0d: 1310400 sectors in 1300 cylinders of 16 tracks, 63 sectors 639.8MB in 4 cyl groups (328 c/g, 161.44MB/g, 20608 i/g) /dev/rwd0e: 1310400 sectors in 1300 cylinders of 16 tracks, 63 sectors 639.8MB in 4 cyl groups (328 c/g, 161.44MB/g, 20608 i/g) /dev/rwd0g: 33554304 sectors in 33288 cylinders of 16 tracks, 63 sectors 16383.9MB in 102 cyl groups (328 c/g, 161.44MB/g, 20608 i/g) /dev/rwd0h: 15363936 sectors in 15242 cylinders of 16 tracks, 63 sectors 7501.9MB in 47 cyl groups (328 c/g, 161.44MB/g, 20608 i/g) /dev/wd0a on /mnt type ffs (rw, asynchronous, local, ctime=Sun Jan 10 21: 50:36 2005) /dev/wd0h on /mnt/home type ffs (rw, asynchronous, local, nodev, nosuid, ctime=Sun Jan 10 21:50:36 2005) /dev/wd0d on /mnt/tmp type ffs (rw, asynchronous, local, nodev, nosuid, ctime=Sun Jan 10 21:50:36 2005) /dev/wd0g on /mnt/usr type ffs (rw, asynchronous, local, nodev, ctime=Su n Oct 10 21:50:36 2005) /dev/wd0e on /mnt/var type ffs (rw, asynchronous, local, nodev, nosuid, ctime=Sun Jan 10 21:50:36 2005)Network Installation

System hostname (short form, e.g. ‘foo’): openbsd
Configure the network? [yes]
Available interfaces are: sis0.
Which one do you wish to initialize? (or ‘done’) [sis0]
Symbolic (host) name for sis0? [openbsd]
The media options for sis0 are currently
media: Ethernet autoselect (100baseTX full-duplex)
Do you want to change the media options? [no]
IP address for sis0? (or ‘none’ or ‘dhcp’) 192.168.1.7
Netmask? [255.255.255.0]
No more interfaces to initilaize.
DNS domain name? (e.g. ‘bar.com’) [my.domain] wbglinks
DNS nameserver? (IP address or ‘none’) [none]
Default IPv4 route? (IP address, ‘dhcp’ or ‘none’) 192.168.1.1
add net default: gateway 192.168.1.1
Edit hosts with ed? [no]
Do you want to do any manual network configuration? [no]
Password for root account? (will not echo) ILikeMonkeys
Password for root account? (again) ILikeMonkeys

You will now specify the location and names of the install sets you want to
load. You will be able to repeat this step until all of your sets have been
successfully loaded. If you are not sure what sets to install, refer to the
installation notes for details on the contents of each.

Sets can be located on a (m)ounted filesystem; a (c)drom, (d)isk or (t)ape
device; or a (f)tp, (n)fs or (h)ttp server.
Where are the install sets? f
HTTP/FTP proxy URL? (e.g. ‘http://proxy:8080’, or ‘none’) [none]
Display the list of known ftp servers? [yes] y

Server? (IP address, hostname, list# or ‘done’) [q] 61
Using ftp5.usa.openbsd.org/pub/OpenBSD Redwood City, CA, USA
Server? (IP address, hostname , list#, ‘done’ or ‘?’) [ftp5.usa.openbsd.org]
Does the server support passive mode ftp? [yes]
Server directory? [pub/OpenBSD/3.9/i386]
Login? [anonymous]

The following sets are available. Enter a filename, ‘all’ to selectall the sets, or ‘done’. You may de-select a set by prepending a ‘-‘to its name. [X] bsd [X] bsd.rd [ ] bsd.mp [X] base39.tgz [X] etc39.tgz [X] misc39.tgz [X] comp39.tgz [X] man39.tgz [X] game39.tgz [ ] xbase39.tgz [ ] xetc39.tgz [ ] xshare39.tgz [ ] xfont39.tgz [ ] xserv39.tgzFile Name? (or ‘done’) [bsd.mp] allThe following sets are available. Enter a filename, ‘all’ to selectall 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] base39.tgz [X] etc39.tgz [X] misc39.tgz [X] comp39.tgz [X] man39.tgz [X] game39.tgz [X] xbase39.tgz [X] xetc39.tgz [X] xshare39.tgz [X] xfont39.tgz [X] xserv39.tgzFile Name? (or ‘done’) Ready to install sets? [yes]
Getting bsd …100% ************************************************** 5157 KB 00:26 Getting bsd.rd …100% ************************************************** 4549 KB 00:25 Getting bsd.mp …100% ************************************************** 5202 KB 00:23 Getting base39.tgz …100% ************************************************** 35928 KB 02:39 Getting etc39.tgz …100% ************************************************** 1123 KB 00:08 Getting misc39.tgz …100% ************************************************** 2222 KB 00:14 Getting comp39.tgz …100% ************************************************** 20522 KB 01:36 Getting man39.tgz …100% ************************************************** 7234 KB 00:30 Getting game39.tgz …100% ************************************************** 2538 KB 00:12 Getting xbase39.tgz …100% ************************************************** 10225 KB 00:51 Getting xetc39.tgz …100% ************************************************** 93384 00:03 Getting xshare39.tgz …100% ************************************************** 1986 KB 00:10 Getting xfont39.tgz …100% ************************************************** 32438 KB 02:41 Getting xserv39.tgz …100% ************************************************** 18172 KB 01:26 Sets can be located on a (m)ounted filesystem; a (c)drom, (d)isk or (t)apedevice; or a (f)tp, (n)fs or (h)ttp server.Where are the install sets? (or ‘done’) [done]
Start sshd(8) by default? [yes]
Start ntpd(8) by default? [no]
Do you expect to run the X Window System? [yes]
Change the default console to com0? [no]
Saving configuration files……done.
Generating initial host.random file ……done.
What timezone are you in? (‘?’ for list) [Canada/Mountain] ? America/Los_Angeles
Setting local timezone to ‘America/Los_Angeles’ …done.
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 63; inode block 24, offset 1704
using MBR partition 3: type 166 (0xa6) offset 63 (0x3f)
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.
# halt
syncing disks… done

The operating system has halted.
Please press any key to reboot.

Posted by pufferpish at 10:29 PM 0 comments

Subscribe to: Posts (Atom)

3 Responses to "Installing OpenBSD"

very interesting, but I don’t agree with you
Idetrorce

Every manuscript needs to be given the same opportunity. ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


  • Order Xtrasize: Hi there, all is going well here and ofcourse every one is sharing facts, that's in fact fine, keep up writing.
  • chatroulette: I am curious to find out what blog system you're using? I'm experiencing some small security issues with my latest site and I would like to find s
  • 3:00 AM: Hello! Do you know if they make any plugins to protect against hackers? I'm kinda paranoid about losing everything I've worked hard on. Any suggest

Categories

%d bloggers like this: