OpenBSD Index

1.1. Install OpenBSD notes

OpenBSD bsd.rd is ram file system meant for installation or recovery procedures;

        # mount -o loop /srv/qemu/iso/install68.iso /media/
        # cp /media/6.8/amd64/bsd.rd /boot
        

Reboot machine and press c on grub menu, and set partition root, kernel location and boot, example;

        grub> set root=(hd0,gpt3)
        grub> kopenbsd /bsd.rd
        grub> boot
        

Press enter and follow the instructions, OpenBSD installation is known to be one of the most easy of all operating systems. Read OpenBSD documentation.

Don't enable xenodm, enable after install and post install procedures.

Don't skip network configuration, it will need to fetch updates and synchronize clock.

Don't skip user creation, will be default administrator

When formatting the disk select auto and then resize of auto created partitions that shrink the last one (home). After install it will run syspatch and fw_update.

Post-Install

After install reboot, by default it will run syspatch and fw_updateo to check and install updates.

Install your favorite tools, example of a minimal setup;

        # pkg_add vim git lynx irssi
        # pkg_add xsel spectrwm
        

User created during install is part of wheel group by default, copy /etc/example/doas.conf to /etc/ to enable doas command;

        # cp /etc/examples/doas.conf /etc/
        

Copy skeleton files;

        # cp -r ~/doc/openbsd/conf/skel /etc/skel
        

Add regular user not part of wheel group

        # useradd -m user_name
        

X

        ~/.Xresources
        XTerm*faceName:DeJavuMono
        XTerm*faceSize:11
        XTerm*allowBoldFonts:false
        XTerm*scrollBar:false
        XTerm*loginShell:true
        XTerm*eightBitInput:false
        XTerm*internalBorder:2
        XTerm*foreground:white
        XTerm*background:black
        XTerm*color0:#2e3436
        XTerm*color8:#888A85
        XTerm*color1:#cc0000
        XTerm*color9:#ef2929
        XTerm*color2:#4e9a06
        XTerm*color10:#8ae234
        XTerm*color3:#edd400
        XTerm*color11:#fce94f
        XTerm*color4:#3465a4
        XTerm*color12:#729fcf
        XTerm*color5:#92659a
        XTerm*color13:#c19fbe
        XTerm*color6:#07c7ca
        XTerm*color14:#63e9e9
        XTerm*color7:#d3d7cf
        XTerm*color15:#eeeeee
        
        ~/.xsession
        export ENV=$HOME/.kshrc
        xrdb -merge "$HOME/.Xresources"
        spectrwm
        

Mouse tap

        libernaut# wsconsctl mouse.tp.tapping=1
        mouse.tp.tapping -> 1
        libernaut# cat /etc/wsconsctl.conf
        mouse.tp.tapping=1
        libernaut#
        
OpenBSD Index

This is part of the LeetIO System Documentation. Copyright (C) 2021 LeetIO Team. See the file Gnu Free Documentation License for copying conditions.