openbsd
setting up new system
pre install
- softraid encryption with keydisk
- select
(S)hell
from install menucd /dev && sh MAKEDEV sd0 dd if=/dev/urandom of=/dev/rsd0c bs=1m fdisk -iy sd0 #mbr disklabel -E sd0 Label editor (enter '?' for help at any prompt) sd0> a a offset: [64] size: [976773104] * FS type: [4.2BSD] RAID sd0*> w sd0> q No label changes. sh MAKEDEV sd2 #keydisk fdisk -iy sd2 #mbr disklabel -E sd2 Label editor (enter '?' for help at any prompt) sd2> a a offset: [64] size: [7831488] 1024 FS type: [4.2BSD] RAID sd2*> w sd2> q No label changes. bioctl -c C -k sd2a -l sd0a softraid0 sh MAKEDEV sd3 #softraid dd if=/dev/zero of=/dev/rsd3c bs=1m count=1 exit
- continue with [installation][], selecting softraid disk (
sd3
) for install
post install
echo "permit nopass <username> > /etc/doas.conf
pkg_add -u
firewall
vi /etc/pf.conf
packages
-
pkg_info
show all packages installed bypkg_add
devices
- list attached devices
sysctl hw.diskcount sysctl hw.disknames
- read/write disklabels
disklabel <device>
- creating msdos partition
disklabel -E <disk> Label editor (enter '?' for help at any prompt) sd2> a b offset: [1088] size: [7830464] * FS type: [4.2BSD] msdos sd2*> w sd2> q No label changes. newfs_msdos /dev/rsd2b
misc
- hostname - /etc/myname