home über marty Sonstiges Linux OpenBSD CDVerwaltung Greetz wieso marty44?? Links

Update von OpenBSD 2.8 auf 2.9

Am 1. Juni 2001 kam die Version 2.9 von OpenBSD raus. Diese soll angeblich jetzt den PCMCIA-Controller meines ThinkPad's richtig unterstützen. Grund genug also, einen Update-Bericht zu schreiben ;)
das Cover der offiziellen CDdiese Aufkleber bekommt man mit der CD Als erstes erzeugt man also eine Bootdiskette. Am einfachsten geht dieses mit dem Programm "rawrite" in der DOS/Windows-Welt oder dd unter *ix/BSD. Als Floppy-Image habe ich floppyc2.fs aus dem Verzeichnis 2.9/i386/ von der OpenBSD-CD verwendet. Nach dem Booten von der Diskette, wählt man Update aus (die Daten natürlich an die eignen Gegebenheiten anpassen!):

(I)nstall, (U)pgrade or(S)hell? u
diverse Warnungen - Daten vorher sichern!
Proceed with upgrade? [n] y
Cool! Let's get to it...
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 prgram (especially on a PC with multiple disk controllers).
Available disks are:

wd0

Which disk is the root disk? [wd0] Enter
Root filesystem? [wd0a] Enter
Checking root filesystem...

The upgrade program would now like to enable the network.  It will use the
configuration already stored on the root filesystem.  This is required
if you wish to use the network installation capabilities of this program.

Enable network? [y] n
ich weis ja noch nicht, ob meine Netzwerkkarte läuft oder nicht, außerdem hab ich die CD's und brauche deshalb erstmal nichts aus der Netz zu ziehen ;)
The fstab is configured as follows:

/dev/wd0a / ffs rw 1 1
/dev/wd0d /tmp ffs rw 1 2
/dev/wd0e /var ffs rw 1 2
/dev/wd0g /usr ffs rw 1 2
/dev/wd0h /home ffs rw 1 2

You may wish to edit the fstab.  For example, you may need to resolve
dependencies in the order which filesystems are mounted.

NOTE: 1) this fstab is ised only during the upgrade. It will not be
         copied into the root filesystem.

      2) all non-ffs filesystems, and filesystems with the 'noauto'
         option, will be ignored during the upgrade.

Edit the fstab with ed? [n] Enter
diverse Filesystem-Checks...
Are the upgrade sets on one of your normally mounted (local) filesystems? [y] n
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
serveral 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 the installation sets:

cd0

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

Enter the directory relative to the mount point that
contains the file. [/2.9/i386] Enter
Text und Paketauswahl-Informationen
File name? [] all
File name? [] done

Ready to extract selected file sets? [y] Enter
entpacken der Pakete...
Extract more sets? [n] Enter
Auswahl der Zeitzone, ich will mitteleuropäische ;)
What timezone you are in? ['?' for list] [CET] MET
You have selected timezone "MET".
Copying fstab...done.
Installing timezone link.
Making devices...done.
Installing boot block...
boot: /mnt/boot
proto: /usr/mdec/biosboot
device: /dev/wd0c
/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 64 heads.
 0: 39 @(1 57 25) (7647-7685)
 1: 57 @(1 50 1) (7686-7742)
 2: 15 @(0 9 49) (615-629)
 3:  1 @(0 10 1) (630-630)
/mnt/boot: 4 entries total
using MBR partition 3: type 166 (0xa6) offset 63 (0x3f)
Unmounting filesystems... /mnt/home /mnt/usr/mnt/var /mnt/tmp /mnt ... Done.

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

# halt
Warten bis das System unten ist, alle Disketten und CD-ROM's raus und neu starten. Wenn alles klappt, sollte OpenBSD 2.9 booten :)


zurück zur OpenBSD-Übersicht
Letzte Aktualisierung dieser Seite: 15. Juni 2001