.Dd Created:2025-10-03|Updated:2025-11-10| .de ocsi \\$* , .. .de oxr .ocsi .Xr \\$* .. .de oit .It \\$* .. .de obdi .Bl -dash -compact .oit \\$* .. .de obdl .Bd -literal -compact \\$* .. .de onote .Bl -hang -compact .oit \\$* .El .. .de ocomm .Bl -diag -compact .oit \\$* .El .. .de opsy .Pp .Sy - \\$* .. .de obc .Bl -column \\$* .. .de obc2 .obc opt desc .. .de obc3 .obc option arguments description .. .Dt OPENBSD oh .Os OpenBSD 7.7| .Nm openbsd .Nd index and usage .Tg index .Bl -column -offset indent ".Sy Xr roff_supported oh " ".Sy 2025-12-12 " ".Sy roff_supported (oh) " .It Li Xr linux_to_openbsd oh Ta : Differences between linux and OpenBSD. .It Li Xr vm oh Ta : OpenBSD vmm - configuration and usage. .It Li Xr make oh Ta : OpenBSD make. .It Li Xr pf oh Ta : Configuration and usage. .It Li Xr web oh Ta : index and setup. .It - Li Xr httpd oh Ta : OpenBSD's httpd - setup. .It - Li Xr cgi oh Ta : Using CGI with httpd. .It - Li Xr ssl oh Ta : creating ssl certificate and httpd configuration. .It Li Xr documentation oh Ta : index and usage. .It - Li Xr mdoc oh Ta : OpenBSD mdoc format - usage and examples (WIP) .It -- Li Xr mdoc_list_examples oh Ta : OpenBSD mdoc examples - lists. .It - Li Xr mandoc oh Ta : mandoc usage. .It - Li Xr roff oh Ta : mdoc compatible roff macros. .El .Sh INSTALL .Ss network interfaces are named based on the drivers: iwn0 (wlan) , re0(eth), vlan0 .Ss disk partition As with network, disks are named based on the drivers: wdNP , sdNP. Eg.: wd0a (disk 0, partition letter a). .Pp Using an existing disk with allocated partitions .obdi h help .oit z to delete all partitions .oit A to autoallocate .oit p g to print the partitions showing size in GB .oit Autoallocation can leave unused space at the end of the disk which can be manually allocated. .Ss install_packages .Bl -enum -compact .oit using usb .oit select disk .oit sd1 should be selected, else set it .El .Sh ETC EXAMPLES Example files can be found at /etc/examples, they can be used for reference. .onote NOTE: Make sure only necessary lines are uncommented when copying to /etc. .Sh NOTEBOOK turning off suspend on lid close .obdi manually .Dl sysctl machdep.lidaction=0 .oit at startup .Dl cp /etc/examples/sysctl.conf /etc/ uncomment the line .Dl machdep.lidaction=0 .Sh TODO .obdi create a vm to follow current. .El .Sh UPGRADE .Bl -enum -compact .It .Dl sysupgrade .It Reboot (this is automatic) .It .Dl sysmerge .It .Dl pkg_add -u .It .Dl syspatch -l .It If patches need to be applied and have been verified. .Dl syspatch .El .Ss sysmerge Running .Li syspatch -b leaves files that differ available for later comparison at /tmp/sysmerge.xxxxxxx. .Ss vm When upgrading a vm, the vm may need to be started manually to complete the upgrade as it may be stopped instead of rebooted. .Sh SEE ALSO .oxr linux_to_openbsd oh .Xr user_management oh .opsy OpenBSD manpages: .oxr sysctl 8 .oxr bsd.re-config 5 .oxr sysupgrade 8 .oxr sysmerge 8 .oxr pkg_add 1 .Xr syspatch 8 .El .Ss links .obc2 .It - Lk https://www.openbsd.org/ OpenBSD .It - Lk https://www.openbsd.org/77.html OpenBSD 7.7 (Previous Release) .It - Lk https://www.openbsd.org/78.html OpenBSD 7.8 (Current Release - 2025-10-22) .It - Lk https://www.openbsd.org/faq/upgrade78.html Upgrade Guide: 7.7 to 7.8 .It - Lk https://www.openbsd.org/faq/index.html OpenBSD FAQ .It - Lk https://openports.pl/ openports.pl .It - Lk https://www.k58.uk/openbsd.html Running OpenBSD 7.8 is really hard (not) .El .Sh AUTHORS .An -nosplit .Xr ohazot oh | .Xr about oh | .Lk https://ohazot.com ohazot.com .Aq Mt admin@ohazot.com