Hinweis: wd0 = ist die Festplatte, sd0 = der Installations-USB-STICK, sd1 = crypto softraid
1. Punkt: OpenBSD USB Stick booten
2. Punkt: Shell auswählen
3. Punkt: lokale Festplatte löschen
$ dd if=/dev/zero of=/dev/wd0c bs=20M & fdisk -i wd0 $
4. Punkt: Systempartitionen erstellen
$ disklabel -E wd0 $
Beispiel mit einer 160 GB HDD
$ > a partition: [a] offset: [64] size: [312581808] 300000000 FS type: [4.2BSD] RAID > a partition: [b] offset: [300000064] size: [12576641] FS type: [swap] > w > p > q $
5. Punkt: Crypto Bereich erstellen
$ bioctl -c C -l /dev/wd0a softraid0 $
$ New passphrase: Re-type passphrase: sd1 at scsibus1 targ 1 lun 0: <OPENBSD. SR CRYPTO,005> SCSI2 0/direct fixed sd1: 146484MB, 512 bytes/sector, 299999472 sectors softraid0: CRYPTO volume attached as sd1 $
6. Punkt: exit – jetzt kann normal das Setup fortgesetzt werden, sda1 wird dabei mit UFS Root Filesystem formatiert
7. Punkt: nach dem ersten Systembooten kann der SWAP Bereich von sd0b (Partition 2) zugewiesen werden, OpenBSD verschlüsselt schon seit Ewigkeiten (Since OpenBSD 3.8 ) sein swap
$ vi /etc/fstab /dev/sd0b none swap sw $
8. Punkt: externe Packages Quelle definieren + Gnome Installation
$ export PKG_PATH="http://artfiles.org/openbsd/5.4/packages/amd64" pkg_add gnome awesome $
9. Punkt: Python Pfade festlegen
$ ln -sf /usr/local/bin/python2.7 /usr/local/bin/python ln -sf /usr/local/bin/python2.7-2to3 /usr/local/bin/2to3 ln -sf /usr/local/bin/python2.7-config /usr/local/bin/python-config ln -sf /usr/local/bin/pydoc2.7 /usr/local/bin/pydoc $
10. Punkt: Firefox und Co. installieren
$ pkg_add gnome-extra gstreamer-plugins-ugly firefox firefox-i18n-de chromium thunderbird thunderbird-i18n-de enigmail gimp inkscape scribus audacity vlc $
11. Punkt: weitere Packages
$ pkg_add libreoffice libreoffice-i18n-de gajim pidgin mupen64plus snes9x zathura zsh $
12. Punkt: rc.conf.local anpassen
$ vi /etc/rc.conf.local $
$ multicast_host=YES pkg_scripts="${pkg_scripts} dbus_daemon avahi_daemon" $
13. Punkt: zsh (.zshrc) Beispielkonfig gibt es hier