OpenBSD 6.9

Full Disk Encryption Install auf sd0/wd0
Boot CD and start (S)hell

zeroing the first chunk of the entire scsi disc (optional)

dd if=/dev/zero of=/dev/rsd2c bs=1m count=1

sd/rsd: Its device files would be /dev/sd2a for the block device and /dev/rsd2a for the raw (character) device.
2: The devices are numbered by the order in which they are detected at boot time, starting at zero. Here: Disc number three.
c: The c partition is always the entire disk.

# if there is no sd0 (optional)
cd /dev && sh MAKEDEV sd0
fdisk -iy sd0
disklabel -E sd0
# add partition a
a a
# offset: [64] # size: [1234567890] # FS type: [4.2BSD] RAID
bioctl -c C -l /dev/sd0a softraid0

start (I)nstall

Which disk is the root disk? (‘?’ for detials) [sd0]
“?” should show you “sd?: SR CRYPTO”
e.g. “sd1”

install Packages
add to .profiles file:

export PKG_PATH=`uname -r`/packages/`uname -m`/
pkg_add nano rsync wget openvpn firefox unzip htop
# search Packages
pkg_info -Q sshfs
pkg_add sshfs-fuse
# update OpenBSD
pkg_add -Uu

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.