home Sonstiges Linux OpenBSD Links

Installation von OpenBSD 2.9 auf einen IBM ThinkPad 600

Nachdem ich mir einen neuen gebrauchten Thinkpad zugelegt habe, scheint der CardBus-Support endlich zu funktionieren. Diese Seite ist praktisch nur ein Auszug aus der Installation. Wer genauere Informationen benötigt, sollte auf dieser Seite nachschauen.

genaue Bezeichnung:IBM Thinkpad 600 2645-310
Prozessor:Intel Pentium 233 Mhz mit MMX und 512KB L2 Cache
RAM:32 MB (aufgerüstet auf 128MB)
Festplatte:3.2 GB IDE
Display:12.1" TFT SVGA maximale Auflösung: 800x600
Grafikchipsatz:Neomagic Magicgraph NM2160 (2MB VRAM)
Diskettelaufwerk:extern 1.44 MB 3.5"
CD-ROM:24X intern
Audio:Soundblaster kompatibel
Maus:Trackpoint
PCMCIA:2 Slot, CARDBus tauglich
Sonstiges:1 Serial, 1 Parallel, 1 Infarot, 1 USB


Booten mit floppyc2.fs...
Kernelnachrichten...
erase ^?, werase ^W, kill ^U, intr ^C, status ^T
(I)nstall, (U)pgrade or (S)hell? i
==================================================
Welcome to the OpenBSD/i386 2.9 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
SIGNIFICANT data loss, and you are advised to make sure your data is backed
up before beginning the installation process.

Default answers are displayed in brackets after the questions.  You can hit
Control-C 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-C and restart the
install, the install program will remember many of your old answers.

You can run a shell command at any prompt via '!foo'
or escape to a shell by simply typing '!'.

Specify terminal type [vt220]: Enter

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:

wd0

Which disk is the root disk? [wd0] Enter

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

Updating MBR based on BIOS geometry.
Only LBA values are valid in ending cylinder for partition #3.
Enter 'help' for information
fdisk: 1> Only LBA values are valid in ending cylinders for partition #3.
In memory copy is initialized to:
Offset: 0       Signatures: 0xAA55,0x0
         Starting        Ending
 #: id  cyl  hd sec -   cyl  hd sec [     start -       size]
--------------------------------------------------------------------------
 0: 00    0   0   1 -     0   0   0 [         0 -          0] unused
 1: 00    0   0   1 -     0   0   0 [         0 -          0] unused
 2: 00    0   0   1 -     0   0   0 [         0 -          0] unused
*3: A6    0   1   1 -   786 127  63 [        63 -    6346305] OpenBSD


Use 'write' to update disk.
fdisk:*1> Machine code updated.
fdisk:*1> Writing MBR at offset 0.
wd0: no disk label
fdisk: 1> Here is the partition information you chose:

Disk: wd0       geometry: 787/128/63 [6346368 sectors]
Offset: 0       Signatures: 0xAA55,0x0
         Starting        Ending
 #: id  cyl  hd sec -   cyl  hd sec [     start -      size]
--------------------------------------------------------------------------
 0: 00    0   0   1 -     0   0   0 [         0 -         0] unused
 1: 00    0   0   1 -     0   0   0 [         0 -         0] unused
 2: 00    0   0   1 -     0   0   0 [         0 -         0] unused
*3: A6    0   1   1 -   786 127  63 [        63 -   6346305] OpenBSD


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
up. This table declares the offsets and sizes of your / partition, your swap
space, and any other partitions you might create.  (NOTE: The OpenBSD disk
label offsets are absolute, ie. relative to the start of the disk... NOT
relative to the start of the BIOS 'A6' partition).

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

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.

# using MBR partition 3: type A6 off 63 (0x3f) size 6346305 (0x60d641)

Treating sectors 63-6354432 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)
> a a offset: [63] Enter
size: [6354369] 200m
Rounding to nearest cylinder: 409185
FS type: [4.2BSD] Enter
mount point: [none] /
> a b
offset: [409248] Enter
size: [5945184] 250m
Rounding to nearest cylinder: 512064 FS type: [swap] Enter
> a d
offset: [921312] Enter
size: [5433120] 150m
Rounding to nearest cylinder: 307440
FS type: [4.2BSD] Enter
mount point: [none] /tmp
> a e
offset: [1228752] Enter
size: [5125680] 300m
Rounding to nearest cylinder: 614880
FS type: [4.2BSD] Enter
mount point: [none] /var
> a g
offset: [18436432] Enter
size: [4510800] 600m
Rounding to nearest cylinder: 122872
FS type: [4.2BSD] Enter
mount point: [none] /home
> a h
offset: [3072384] Enter
size: [3282048] Enter
FS type: [4.2BSD] Enter
mount point: [none] /usr
> p
device: /dev/rwd0c
type: ESDI
disk: ESDI/IDE disk
label: IBM-DBCA-203240
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 6304
total sectors: 6354432
free sectors: 0
rpm: 3600

16 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:   409185       63    4.2BSD     1024  8192    16  # /
  b:   512064   409248      swap
  c:  6354432        0    unused        0     0
  d:   307440   921312    4.2BSD     1024  8192    16  # /tmp
  e:   614880  1228752    4.2BSD     1024  8192    16  # /var
  g:  1228752  1843632    4.2BSD     1024  8192    16  # /home
  h:  3282048  3072384    4.2BSD     1024  8192    16  # /usr
> w
> q
No label changes.

You will now habe the opportunity to enter filsystem information for wd0.
You will be prompted for the mount point (full path, including the prepending
'/' character) for each BSD partiton 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=153720k) [/tmp, RET, none, or done]? Enter
Mount point for wd0e (size=307440k) [/var, RET, none, or done]? Enter
Mount point for wd0g (size=614376k) [/home, RET, none, or done]? Enter
Mount point for wd0h (size=1641024k) [/usr, RET, none, or done]? done

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

wd0

Which one? [done] Enter

You have configured the following devices and mount points:

wd0a /
wd0d /tmp
wd0e /var
wd0g /home
wd0h /usr

============================================================
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:     409184 sectors in 406 cylinders of 16 tracks, 63 sectors
        199.8MB in 26 cyl groups (16 c/g, 7.88MB/g, 1920 i/g)
/dev/rwd0d:     307440 sectors in 305 cylinders of 16 tracks, 63 sectors
        150.1MB in 20 cyl groups (16 c/g, 7.88MB/g, 1920 i/g)
/dev/rwd0e:     614880 sectors in 610 cylinders of 16 tracks, 63 sectors
        300.2MB in 39 cyl groups (16 c/g, 7.88MB/g, 1920 i/g)
/dev/rwd0g:     1228752 sectors in 1219 cylinders of 16 tracks, 63 sectors
        600.0MB in 77 cyl groups (16 c/g, 7.88MB/g, 1920 i/g)
/dev/rwd0h:     3282048 sectors in 3256 cylinders of 16 tracks, 63 sectors
        1602.6MB in 204 cyl groups (16 c/g, 7.88MB/g, 1920 i/g)

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 an copied into the new root filesystem.

Configure the network? [y] Enter
Enter system hostname (short form, e.g. "foo"): [] tp600
Enter DNS domain name (e.g. "bar.com"): [] marty44.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 inferfaces
marked with [X] habe been succesfully configured):

        [ ] xl0

Configure which interface? (or, enter 'done') [xl0] Enter
IP address (or 'dhcp') ? [] 192.168.44.51
Symbolic (host) name? [tp600] Enter
Netmask ? [255.255.255.0] Enter
Your use if the network interface may require non-default
media directives.  The default media is:
        media: Ethernet autoselect (100baseTX full-duplex)
This is a list f supported media:
        media none
        media 10baseT
        media 10baseT mediaopt full-duplex
        media 100baseTX
        media 100baseTX mediaopt full-duplex
        media autoselect
If the default is not satisfactory, and you wish to use another
media, copy that line from above (e.g. "media 100baseTX")
Media directives? [] media autoselect

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

        [X] xl0

Configure which interface? (or, enter 'done') [done] Enter
Enter IP address of default route: [none] 192.168.44.1
Enter IP address of primary nameserver: [none] 195.168.44.1
Would yo 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] 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/home type ffs (rw, asynchronous, local)
/dev/wd0h on /mnt/usr type ffs (rw, asynchronous, local)

Please enter the initial password that the root account will have.
Password (will not echo): also mein Passwort schreib ich hier jetzt nicht öffentlich ;)
Password (again): siehe eine Zeile weiter oben ;)

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 or local (d)isk? C

The following CD-ROM devices are installed on your system.
Please make sure the CD is in the CD-ROM drive and select
the device containing the CD with installation sets:

cd0 Which CD-ROM contains the installation media? [cd0] Enter

Enter the directory realtive to the mount point that
conatains the file. [2.9/i386] Enter

You will now be asked for files to extract.  In addition to the
files listed in the selector you may enter any file located in
/mnt//2.9/i386.  You can also enter 'all' to install all the standard
sets, or 'list' to list the files avilable in /mnt2//2.9/i386.
When you are done selecting files, enter 'done'.
Some of these sets are required for your install and some are optional --
You will want at least the base and bsd sets.
Consult the installation notes if you are not sure which sets are required!

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] base29.tgz
        [X] etc29.tgz
        [ ] misc29.tgz
        [ ] comp29.tgz
        [X] man29.tgz
        [ ] game29.tgz
        [ ] xbase29.tgz
        [ ] xshare29.tgz
        [ ] xfont29.tgz
        [ ] xserv29.tgz
        [X] bsd
File name? [] *

The following sets are available for extraction.
Enter Filenmae, 'list', 'all' or 'done'.
You may de-select a set by prepending a '-' to its name.

        [X] base28.tgz
        [X] etc28.tgz
        [X] misc28.tgz
        [X] comp28.tgz
        [X] man28.tgz
        [X] game28.tgz
        [X] xbase28.tgz
        [X] xshare28.tgz
        [X] xfont28.tgz
        [X] xserv28.tgz
        [X] bsd
File name? [] done

Ready to extract selected file sets? [y] Enter

Nun werden die Dateien entpackt... das kann ein Weilchen dauern...

Extract more sets? [n] Enter

Copying fstab hostname.xl0 host 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] MET
You have selected timezone "MET".
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 filsystem blocks at 0x16f
Will load geometry of 63 sectors and 128 heads.
 0: 58 @(1 6 6) (8447-8504)
 1: 38 @(1 7 1) (8505-8542)
 2: 16 @(0 9 47) (613-628)
/mnt/boot: 3 entries total
using MBR partition 3: type 166 (0xa6) offset 63 (0x3f)

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

Unmounting filesystems... /mnt/usr /mnt/home /mnt/var /mnt/tmp /mnt ... Done.

CONGRATULATIONS!  You have succesfully 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.

#
Und nun viel Spaß mit OpenBSD :)


zurück zur OpenBSD-Übersicht
Letzte Aktualisierung dieser Seite: 25. Oktober 2001