commit 32b244e9580c8a342f0a90ad59aa12ac9e6c62e3 from: jrmu date: Fri Nov 17 05:00:29 2023 UTC Daily backup commit - f8ad10ebbfa80e77d1987a03094f2322a85ae832 commit + 32b244e9580c8a342f0a90ad59aa12ac9e6c62e3 blob - /dev/null blob + ca47082ed9d2ff29f3a54e616ab00bd935cfd494 (mode 644) --- /dev/null +++ wiki.d/Openbsd.Sysupgrade74 @@ -0,0 +1,34 @@ +version=pmwiki-2.3.20 ordered=1 urlencoded=1 +agent=w3m/0.5.3+git20230121 +author=jrmu +charset=UTF-8 +csum= +ctime=1700090298 +host=38.87.162.8 +name=Openbsd.Sysupgrade74 +rev=7 +targets=Openbsd.Dump,Openbsd.Restore,Openrsync.Usage,Openbsd.Cu,Vmctl.Usage,Openbsd.Buyvm,Openbsd.Top,Openbsd.Syspatch +text=(:title OpenBSD 7.4 Sysupgrade Guide:)%0a%0aThis is a quick upgrade guide for [[https://openbsd.org/74.html|OpenBSD 7.4]] using [[https://man.openbsd.org/sysupgrade|sysupgrade]].%0a%0a'''NOTE''': This guide is '''no''' substitute for reading the [[https://www.openbsd.org/faq/|OpenBSD FAQ]]. In particular, you should read the [[https://www.openbsd.org/faq/upgrade74.html|Upgrade Guide]].%0a%0aFirst, check to see if you need to upgrade your OS. To find our your operating system version, type: @@uname -r@@. If it says @@7.3@@ or earlier, you need to upgrade. If it says @@7.4@@, or @@7.4-beta@@ you are on the most recent OS version.%0a%0aBefore you begin, make sure to back up any files. Use [[Openbsd/dump|dump]] and [[Openbsd/restore|restore]] or [[openrsync/usage|rsync]].%0a%0a!! Performing the Upgrade%0a%0a[@%0a$ doas sysupgrade%0a@]%0a%0aRunning sysupgrade above will automatically download the base sets and reboot the system for installation. The upgrade will begin automatically. You can view it in the [[Openbsd/cu|serial console]] for [[Vmctl/Usage|VMM]] or in VNC for [[Openbsd/buyvm|BuyVM]].%0a%0a[@%0a$ doas sysupgrade%0aFetching from https://ftp.usa.openbsd.org/pub/OpenBSD/7.4/amd64/%0aSHA256.sig 100%25 |***********************************| 2144 00:00 %0aSignature Verified%0aINSTALL.amd64 100%25 |**********************************| 43495 00:00 %0abase74.tgz 100%25 |***********************************| 330 MB 02:18 %0a@]%0a%0aOnce installation begins, you will need serial console access to view%0aprogress. If you're on OpenBSD's VMM, login to the host and use%0a@@vmctl console@@:%0a%0a[@%0ahost$ vmctl console username%0asyncing disks... done%0avmmci0: powerdown%0arebooting...%0a%0aUsing drive 0, partition 3.%0aLoading......%0aprobing: pc0 com0 mem[638K 3070M a20=on]%0adisk: hd0+ hd1+%0a>> OpenBSD/amd64 BOOT 3.53%0aupgrade detected: switching to /bsd.upgrade%0a@]%0a%0aOnce complete, it will automatically reboot:%0a%0a[@%0aInstalling xserv74.tgz 100%25 |**************************| 20117 KB 00:07 %0aLocation of sets? (cd0 disk http nfs or 'done') [done] done%0aMaking all device nodes... done.%0afw_update: firmware.openbsd.org: no address associated with name%0a add none; update none%0aCannot fetch http://firmware.openbsd.org/firmware/7.4/SHA256.sig%0aRelinking to create unique kernel... done.%0a%0aCONGRATULATIONS! Your OpenBSD upgrade has been successfully completed!%0a%0asyncing disks... done%0avmmci0: powerdown%0arebooting...%0a@]%0a%0aAfter installation completes, you should be able to login using ssh:%0a%0a[@%0aLast login: Wed Nov 15 18:33:08 2023%0aOpenBSD 7.4 (GENERIC) #1336: Tue Oct 10 08:52:22 MDT 2023%0a%0aWelcome to OpenBSD: The proactively secure Unix-like operating system.%0a%0aPlease use the sendbug(1) utility to report bugs in the system.%0aBefore reporting a bug, please try to reproduce it with the latest%0aversion of the code. With bug reports, please try to ensure that%0aenough information to reproduce the problem is enclosed, and if a%0aknown fix for it exists, include that as well.%0a%0a$ %0a@]%0a%0aTo check if installation succeeded:%0a%0a[@%0a$ uname -a%0aOpenBSD username.host.example.com 7.4 GENERIC#1336 amd64%0a@]%0a%0aTo check if you have the proper amount of RAM and number of cores, run [[openbsd/top|top]].%0a%0a[@%0aload averages: 0.61, 0.48, 0.41 01:49:33%0a217 processes: 216 idle, 1 on processorup 137 days, 3:21%0aCPU0: 6.4%25 user, 0.0%25 nice, 19.5%25 sys, 6.9%25 spin, 1.0%25 intr, 66.3%25 idle%0aCPU1: 6.5%25 user, 0.0%25 nice, 18.9%25 sys, 7.1%25 spin, 0.0%25 intr, 67.5%25 idle%0aMemory: Real: 1023M/1775M act/tot Free: 189M Cache: 392M Swap: 993M/2288M%0a@]%0a%0aYou will want to [[Openbsd/syspatch|patch]] the system:%0a%0a[@%0a$ doas syspatch%0a@]%0a%0aThen, you'll want to run [[https://man.openbsd.org/sysmerge|sysmerge]] to merge any configuration files:%0a%0a[@%0a$ doas sysmerge%0a@]%0a%0aThen, make sure to upgrade your packages:%0a%0a[@%0a$ doas pkg_add -u%0a@]%0a%0aRead and fix any error messages that you may see.%0a%0aYou will want to reboot after some patches:%0a%0a[@%0a$ doas shutdown -r now%0a@]%0a +time=1700093728 +title=OpenBSD 7.4 Sysupgrade Guide +author:1700093728=jrmu +diff:1700093728:1700093507:=85c85%0a%3c OpenBSD username.host.example.com 7.4 GENERIC#1336 amd64%0a---%0a> OpenBSD username.host.example.com 7.1 GENERIC#443 amd64%0a91c91%0a%3c load averages: 0.61, 0.48, 0.41 01:49:33%0a---%0a> load averages: 0.61, 0.48, 0.41freeirc 01:49:33%0a +host:1700093728=38.87.162.8 +author:1700093507=jrmu +diff:1700093507:1700093280:=67,68c67,68%0a%3c Last login: Wed Nov 15 18:33:08 2023%0a%3c OpenBSD 7.4 (GENERIC) #1336: Tue Oct 10 08:52:22 MDT 2023%0a---%0a> Last login: Sun Jun 5 15:09:46 2022 from 172.56.16.57%0a> OpenBSD 7.1 (GENERIC) #443: Mon Apr 11 17:55:15 MDT 2022%0a +host:1700093507=38.87.162.8 +author:1700093280=jrmu +diff:1700093280:1700092030:=33a34,39%0a> Connected to /dev/ttyp9 (speed 115200)%0a> %0a> %0a> OpenBSD/amd64 (username.host.example.com) (tty00)%0a> %0a> login: stopping package daemons: dovecot php74_fpm tor.%0a49c55%0a%3c Installing xserv74.tgz 100%25 |**************************| 20117 KB 00:07 %0a---%0a> Installing xserv71.tgz 100%25 |**************************| 20117 KB 00:07 %0a53,54c59,60%0a%3c add none; update none%0a%3c Cannot fetch http://firmware.openbsd.org/firmware/7.4/SHA256.sig%0a---%0a> Cannot fetch http://firmware.openbsd.org/firmware/7.1/SHA256.sig%0a> fw_update: added none; updated none; kept none%0a +host:1700093280=38.87.162.8 +author:1700092030=jrmu +diff:1700092030:1700091463:=17,18c17,18%0a%3c Running sysupgrade above will automatically download the base sets and reboot the system for installation. The upgrade will begin automatically. You can view it in the [[Openbsd/cu|serial console]] for [[Vmctl/Usage|VMM]] or in VNC for [[Openbsd/buyvm|BuyVM]].%0a%3c %0a---%0a> Running sysupgrade above will automatically download the base sets and reboot the system for installation. The upgrade will begin automatically. You can view it in the [[Openbsd/cu|serial console]] for [[VPS/intro|VMM]] or in VNC for [[Openbsd/buyvm|BuyVM]].%0a> %0a21c21%0a%3c Fetching from https://ftp.usa.openbsd.org/pub/OpenBSD/7.4/amd64/%0a---%0a> Fetching from https://ftp.usa.openbsd.org/pub/OpenBSD/7.1/amd64/%0a25c25%0a%3c base74.tgz 100%25 |***********************************| 330 MB 02:18 %0a---%0a> base71.tgz 100%25 |***********************************| 330 MB 02:18 %0a +host:1700092030=38.87.162.8 +author:1700091463=jrmu +diff:1700091463:1700090704:= +host:1700091463=38.87.162.8 +author:1700090704=jrmu +diff:1700090704:1700090298:=3,7c3,7%0a%3c This is a quick upgrade guide for [[https://openbsd.org/74.html|OpenBSD 7.4]] using [[https://man.openbsd.org/sysupgrade|sysupgrade]].%0a%3c %0a%3c '''NOTE''': This guide is '''no''' substitute for reading the [[https://www.openbsd.org/faq/|OpenBSD FAQ]]. In particular, you should read the [[https://www.openbsd.org/faq/upgrade74.html|Upgrade Guide]].%0a%3c %0a%3c First, check to see if you need to upgrade your OS. To find our your operating system version, type: @@uname -r@@. If it says @@7.3@@ or earlier, you need to upgrade. If it says @@7.4@@, or @@7.4-beta@@ you are on the most recent OS version.%0a---%0a> This is a quick upgrade guide for [[https://openbsd.org/71.html|OpenBSD 7.1]] using [[https://man.openbsd.org/sysupgrade|sysupgrade]].%0a> %0a> '''NOTE''': This guide is '''no''' substitute for reading the [[https://www.openbsd.org/faq/|OpenBSD FAQ]]. In particular, you should read the [[https://www.openbsd.org/faq/upgrade71.html|Upgrade Guide]].%0a> %0a> First, check to see if you need to upgrade your OS. To find our your operating system version, type: @@uname -r@@. If it says @@7.0@@, you need to upgrade. If it says @@7.1@@, or @@7.1-beta@@ you are on the most recent OS version.%0a +host:1700090704=38.87.162.8 +author:1700090298=jrmu +diff:1700090298:1700090298:=1,128d0%0a%3c (:title OpenBSD 7.4 Sysupgrade Guide:)%0a%3c %0a%3c This is a quick upgrade guide for [[https://openbsd.org/71.html|OpenBSD 7.1]] using [[https://man.openbsd.org/sysupgrade|sysupgrade]].%0a%3c %0a%3c '''NOTE''': This guide is '''no''' substitute for reading the [[https://www.openbsd.org/faq/|OpenBSD FAQ]]. In particular, you should read the [[https://www.openbsd.org/faq/upgrade71.html|Upgrade Guide]].%0a%3c %0a%3c First, check to see if you need to upgrade your OS. To find our your operating system version, type: @@uname -r@@. If it says @@7.0@@, you need to upgrade. If it says @@7.1@@, or @@7.1-beta@@ you are on the most recent OS version.%0a%3c %0a%3c Before you begin, make sure to back up any files. Use [[Openbsd/dump|dump]] and [[Openbsd/restore|restore]] or [[openrsync/usage|rsync]].%0a%3c %0a%3c !! Performing the Upgrade%0a%3c %0a%3c [@%0a%3c $ doas sysupgrade%0a%3c @]%0a%3c %0a%3c Running sysupgrade above will automatically download the base sets and reboot the system for installation. The upgrade will begin automatically. You can view it in the [[Openbsd/cu|serial console]] for [[VPS/intro|VMM]] or in VNC for [[Openbsd/buyvm|BuyVM]].%0a%3c %0a%3c [@%0a%3c $ doas sysupgrade%0a%3c Fetching from https://ftp.usa.openbsd.org/pub/OpenBSD/7.1/amd64/%0a%3c SHA256.sig 100%25 |***********************************| 2144 00:00 %0a%3c Signature Verified%0a%3c INSTALL.amd64 100%25 |**********************************| 43495 00:00 %0a%3c base71.tgz 100%25 |***********************************| 330 MB 02:18 %0a%3c @]%0a%3c %0a%3c Once installation begins, you will need serial console access to view%0a%3c progress. If you're on OpenBSD's VMM, login to the host and use%0a%3c @@vmctl console@@:%0a%3c %0a%3c [@%0a%3c host$ vmctl console username%0a%3c Connected to /dev/ttyp9 (speed 115200)%0a%3c %0a%3c %0a%3c OpenBSD/amd64 (username.host.example.com) (tty00)%0a%3c %0a%3c login: stopping package daemons: dovecot php74_fpm tor.%0a%3c syncing disks... done%0a%3c vmmci0: powerdown%0a%3c rebooting...%0a%3c %0a%3c Using drive 0, partition 3.%0a%3c Loading......%0a%3c probing: pc0 com0 mem[638K 3070M a20=on]%0a%3c disk: hd0+ hd1+%0a%3c >> OpenBSD/amd64 BOOT 3.53%0a%3c upgrade detected: switching to /bsd.upgrade%0a%3c @]%0a%3c %0a%3c Once complete, it will automatically reboot:%0a%3c %0a%3c [@%0a%3c Installing xserv71.tgz 100%25 |**************************| 20117 KB 00:07 %0a%3c Location of sets? (cd0 disk http nfs or 'done') [done] done%0a%3c Making all device nodes... done.%0a%3c fw_update: firmware.openbsd.org: no address associated with name%0a%3c Cannot fetch http://firmware.openbsd.org/firmware/7.1/SHA256.sig%0a%3c fw_update: added none; updated none; kept none%0a%3c Relinking to create unique kernel... done.%0a%3c %0a%3c CONGRATULATIONS! Your OpenBSD upgrade has been successfully completed!%0a%3c %0a%3c syncing disks... done%0a%3c vmmci0: powerdown%0a%3c rebooting...%0a%3c @]%0a%3c %0a%3c After installation completes, you should be able to login using ssh:%0a%3c %0a%3c [@%0a%3c Last login: Sun Jun 5 15:09:46 2022 from 172.56.16.57%0a%3c OpenBSD 7.1 (GENERIC) #443: Mon Apr 11 17:55:15 MDT 2022%0a%3c %0a%3c Welcome to OpenBSD: The proactively secure Unix-like operating system.%0a%3c %0a%3c Please use the sendbug(1) utility to report bugs in the system.%0a%3c Before reporting a bug, please try to reproduce it with the latest%0a%3c version of the code. With bug reports, please try to ensure that%0a%3c enough information to reproduce the problem is enclosed, and if a%0a%3c known fix for it exists, include that as well.%0a%3c %0a%3c $ %0a%3c @]%0a%3c %0a%3c To check if installation succeeded:%0a%3c %0a%3c [@%0a%3c $ uname -a%0a%3c OpenBSD username.host.example.com 7.1 GENERIC#443 amd64%0a%3c @]%0a%3c %0a%3c To check if you have the proper amount of RAM and number of cores, run [[openbsd/top|top]].%0a%3c %0a%3c [@%0a%3c load averages: 0.61, 0.48, 0.41freeirc 01:49:33%0a%3c 217 processes: 216 idle, 1 on processorup 137 days, 3:21%0a%3c CPU0: 6.4%25 user, 0.0%25 nice, 19.5%25 sys, 6.9%25 spin, 1.0%25 intr, 66.3%25 idle%0a%3c CPU1: 6.5%25 user, 0.0%25 nice, 18.9%25 sys, 7.1%25 spin, 0.0%25 intr, 67.5%25 idle%0a%3c Memory: Real: 1023M/1775M act/tot Free: 189M Cache: 392M Swap: 993M/2288M%0a%3c @]%0a%3c %0a%3c You will want to [[Openbsd/syspatch|patch]] the system:%0a%3c %0a%3c [@%0a%3c $ doas syspatch%0a%3c @]%0a%3c %0a%3c Then, you'll want to run [[https://man.openbsd.org/sysmerge|sysmerge]] to merge any configuration files:%0a%3c %0a%3c [@%0a%3c $ doas sysmerge%0a%3c @]%0a%3c %0a%3c Then, make sure to upgrade your packages:%0a%3c %0a%3c [@%0a%3c $ doas pkg_add -u%0a%3c @]%0a%3c %0a%3c Read and fix any error messages that you may see.%0a%3c %0a%3c You will want to reboot after some patches:%0a%3c %0a%3c [@%0a%3c $ doas shutdown -r now%0a%3c @]%0a +host:1700090298=38.87.162.8 blob - /dev/null blob + eedc2dd4e005aedaddf7062badc8da2af94778cb (mode 644) --- /dev/null +++ wiki.d/Openbsd.Sysupgrade74-Draft,del-1700093728 @@ -0,0 +1,31 @@ +version=pmwiki-2.3.20 ordered=1 urlencoded=1 +agent=w3m/0.5.3+git20230121 +author=jrmu +charset=UTF-8 +csum= +ctime=1700090298 +host=38.87.162.8 +name=Openbsd.Sysupgrade74-Draft +rev=6 +targets=Openbsd.Dump,Openbsd.Restore,Openrsync.Usage,Openbsd.Cu,Vmctl.Usage,Openbsd.Buyvm,Openbsd.Top,Openbsd.Syspatch +text=(:title OpenBSD 7.4 Sysupgrade Guide:)%0a%0aThis is a quick upgrade guide for [[https://openbsd.org/74.html|OpenBSD 7.4]] using [[https://man.openbsd.org/sysupgrade|sysupgrade]].%0a%0a'''NOTE''': This guide is '''no''' substitute for reading the [[https://www.openbsd.org/faq/|OpenBSD FAQ]]. In particular, you should read the [[https://www.openbsd.org/faq/upgrade74.html|Upgrade Guide]].%0a%0aFirst, check to see if you need to upgrade your OS. To find our your operating system version, type: @@uname -r@@. If it says @@7.3@@ or earlier, you need to upgrade. If it says @@7.4@@, or @@7.4-beta@@ you are on the most recent OS version.%0a%0aBefore you begin, make sure to back up any files. Use [[Openbsd/dump|dump]] and [[Openbsd/restore|restore]] or [[openrsync/usage|rsync]].%0a%0a!! Performing the Upgrade%0a%0a[@%0a$ doas sysupgrade%0a@]%0a%0aRunning sysupgrade above will automatically download the base sets and reboot the system for installation. The upgrade will begin automatically. You can view it in the [[Openbsd/cu|serial console]] for [[Vmctl/Usage|VMM]] or in VNC for [[Openbsd/buyvm|BuyVM]].%0a%0a[@%0a$ doas sysupgrade%0aFetching from https://ftp.usa.openbsd.org/pub/OpenBSD/7.4/amd64/%0aSHA256.sig 100%25 |***********************************| 2144 00:00 %0aSignature Verified%0aINSTALL.amd64 100%25 |**********************************| 43495 00:00 %0abase74.tgz 100%25 |***********************************| 330 MB 02:18 %0a@]%0a%0aOnce installation begins, you will need serial console access to view%0aprogress. If you're on OpenBSD's VMM, login to the host and use%0a@@vmctl console@@:%0a%0a[@%0ahost$ vmctl console username%0asyncing disks... done%0avmmci0: powerdown%0arebooting...%0a%0aUsing drive 0, partition 3.%0aLoading......%0aprobing: pc0 com0 mem[638K 3070M a20=on]%0adisk: hd0+ hd1+%0a>> OpenBSD/amd64 BOOT 3.53%0aupgrade detected: switching to /bsd.upgrade%0a@]%0a%0aOnce complete, it will automatically reboot:%0a%0a[@%0aInstalling xserv74.tgz 100%25 |**************************| 20117 KB 00:07 %0aLocation of sets? (cd0 disk http nfs or 'done') [done] done%0aMaking all device nodes... done.%0afw_update: firmware.openbsd.org: no address associated with name%0a add none; update none%0aCannot fetch http://firmware.openbsd.org/firmware/7.4/SHA256.sig%0aRelinking to create unique kernel... done.%0a%0aCONGRATULATIONS! Your OpenBSD upgrade has been successfully completed!%0a%0asyncing disks... done%0avmmci0: powerdown%0arebooting...%0a@]%0a%0aAfter installation completes, you should be able to login using ssh:%0a%0a[@%0aLast login: Wed Nov 15 18:33:08 2023%0aOpenBSD 7.4 (GENERIC) #1336: Tue Oct 10 08:52:22 MDT 2023%0a%0aWelcome to OpenBSD: The proactively secure Unix-like operating system.%0a%0aPlease use the sendbug(1) utility to report bugs in the system.%0aBefore reporting a bug, please try to reproduce it with the latest%0aversion of the code. With bug reports, please try to ensure that%0aenough information to reproduce the problem is enclosed, and if a%0aknown fix for it exists, include that as well.%0a%0a$ %0a@]%0a%0aTo check if installation succeeded:%0a%0a[@%0a$ uname -a%0aOpenBSD username.host.example.com 7.1 GENERIC#443 amd64%0a@]%0a%0aTo check if you have the proper amount of RAM and number of cores, run [[openbsd/top|top]].%0a%0a[@%0aload averages: 0.61, 0.48, 0.41freeirc 01:49:33%0a217 processes: 216 idle, 1 on processorup 137 days, 3:21%0aCPU0: 6.4%25 user, 0.0%25 nice, 19.5%25 sys, 6.9%25 spin, 1.0%25 intr, 66.3%25 idle%0aCPU1: 6.5%25 user, 0.0%25 nice, 18.9%25 sys, 7.1%25 spin, 0.0%25 intr, 67.5%25 idle%0aMemory: Real: 1023M/1775M act/tot Free: 189M Cache: 392M Swap: 993M/2288M%0a@]%0a%0aYou will want to [[Openbsd/syspatch|patch]] the system:%0a%0a[@%0a$ doas syspatch%0a@]%0a%0aThen, you'll want to run [[https://man.openbsd.org/sysmerge|sysmerge]] to merge any configuration files:%0a%0a[@%0a$ doas sysmerge%0a@]%0a%0aThen, make sure to upgrade your packages:%0a%0a[@%0a$ doas pkg_add -u%0a@]%0a%0aRead and fix any error messages that you may see.%0a%0aYou will want to reboot after some patches:%0a%0a[@%0a$ doas shutdown -r now%0a@]%0a +time=1700093507 +title=OpenBSD 7.4 Sysupgrade Guide +author:1700093507=jrmu +diff:1700093507:1700093280:=67,68c67,68%0a%3c Last login: Wed Nov 15 18:33:08 2023%0a%3c OpenBSD 7.4 (GENERIC) #1336: Tue Oct 10 08:52:22 MDT 2023%0a---%0a> Last login: Sun Jun 5 15:09:46 2022 from 172.56.16.57%0a> OpenBSD 7.1 (GENERIC) #443: Mon Apr 11 17:55:15 MDT 2022%0a +host:1700093507=38.87.162.8 +author:1700093280=jrmu +diff:1700093280:1700092030:=33a34,39%0a> Connected to /dev/ttyp9 (speed 115200)%0a> %0a> %0a> OpenBSD/amd64 (username.host.example.com) (tty00)%0a> %0a> login: stopping package daemons: dovecot php74_fpm tor.%0a49c55%0a%3c Installing xserv74.tgz 100%25 |**************************| 20117 KB 00:07 %0a---%0a> Installing xserv71.tgz 100%25 |**************************| 20117 KB 00:07 %0a53,54c59,60%0a%3c add none; update none%0a%3c Cannot fetch http://firmware.openbsd.org/firmware/7.4/SHA256.sig%0a---%0a> Cannot fetch http://firmware.openbsd.org/firmware/7.1/SHA256.sig%0a> fw_update: added none; updated none; kept none%0a +host:1700093280=38.87.162.8 +author:1700092030=jrmu +diff:1700092030:1700091463:=17,18c17,18%0a%3c Running sysupgrade above will automatically download the base sets and reboot the system for installation. The upgrade will begin automatically. You can view it in the [[Openbsd/cu|serial console]] for [[Vmctl/Usage|VMM]] or in VNC for [[Openbsd/buyvm|BuyVM]].%0a%3c %0a---%0a> Running sysupgrade above will automatically download the base sets and reboot the system for installation. The upgrade will begin automatically. You can view it in the [[Openbsd/cu|serial console]] for [[VPS/intro|VMM]] or in VNC for [[Openbsd/buyvm|BuyVM]].%0a> %0a21c21%0a%3c Fetching from https://ftp.usa.openbsd.org/pub/OpenBSD/7.4/amd64/%0a---%0a> Fetching from https://ftp.usa.openbsd.org/pub/OpenBSD/7.1/amd64/%0a25c25%0a%3c base74.tgz 100%25 |***********************************| 330 MB 02:18 %0a---%0a> base71.tgz 100%25 |***********************************| 330 MB 02:18 %0a +host:1700092030=38.87.162.8 +author:1700091463=jrmu +diff:1700091463:1700090704:= +host:1700091463=38.87.162.8 +author:1700090704=jrmu +diff:1700090704:1700090298:=3,7c3,7%0a%3c This is a quick upgrade guide for [[https://openbsd.org/74.html|OpenBSD 7.4]] using [[https://man.openbsd.org/sysupgrade|sysupgrade]].%0a%3c %0a%3c '''NOTE''': This guide is '''no''' substitute for reading the [[https://www.openbsd.org/faq/|OpenBSD FAQ]]. In particular, you should read the [[https://www.openbsd.org/faq/upgrade74.html|Upgrade Guide]].%0a%3c %0a%3c First, check to see if you need to upgrade your OS. To find our your operating system version, type: @@uname -r@@. If it says @@7.3@@ or earlier, you need to upgrade. If it says @@7.4@@, or @@7.4-beta@@ you are on the most recent OS version.%0a---%0a> This is a quick upgrade guide for [[https://openbsd.org/71.html|OpenBSD 7.1]] using [[https://man.openbsd.org/sysupgrade|sysupgrade]].%0a> %0a> '''NOTE''': This guide is '''no''' substitute for reading the [[https://www.openbsd.org/faq/|OpenBSD FAQ]]. In particular, you should read the [[https://www.openbsd.org/faq/upgrade71.html|Upgrade Guide]].%0a> %0a> First, check to see if you need to upgrade your OS. To find our your operating system version, type: @@uname -r@@. If it says @@7.0@@, you need to upgrade. If it says @@7.1@@, or @@7.1-beta@@ you are on the most recent OS version.%0a +host:1700090704=38.87.162.8 +author:1700090298=jrmu +diff:1700090298:1700090298:=1,128d0%0a%3c (:title OpenBSD 7.4 Sysupgrade Guide:)%0a%3c %0a%3c This is a quick upgrade guide for [[https://openbsd.org/71.html|OpenBSD 7.1]] using [[https://man.openbsd.org/sysupgrade|sysupgrade]].%0a%3c %0a%3c '''NOTE''': This guide is '''no''' substitute for reading the [[https://www.openbsd.org/faq/|OpenBSD FAQ]]. In particular, you should read the [[https://www.openbsd.org/faq/upgrade71.html|Upgrade Guide]].%0a%3c %0a%3c First, check to see if you need to upgrade your OS. To find our your operating system version, type: @@uname -r@@. If it says @@7.0@@, you need to upgrade. If it says @@7.1@@, or @@7.1-beta@@ you are on the most recent OS version.%0a%3c %0a%3c Before you begin, make sure to back up any files. Use [[Openbsd/dump|dump]] and [[Openbsd/restore|restore]] or [[openrsync/usage|rsync]].%0a%3c %0a%3c !! Performing the Upgrade%0a%3c %0a%3c [@%0a%3c $ doas sysupgrade%0a%3c @]%0a%3c %0a%3c Running sysupgrade above will automatically download the base sets and reboot the system for installation. The upgrade will begin automatically. You can view it in the [[Openbsd/cu|serial console]] for [[VPS/intro|VMM]] or in VNC for [[Openbsd/buyvm|BuyVM]].%0a%3c %0a%3c [@%0a%3c $ doas sysupgrade%0a%3c Fetching from https://ftp.usa.openbsd.org/pub/OpenBSD/7.1/amd64/%0a%3c SHA256.sig 100%25 |***********************************| 2144 00:00 %0a%3c Signature Verified%0a%3c INSTALL.amd64 100%25 |**********************************| 43495 00:00 %0a%3c base71.tgz 100%25 |***********************************| 330 MB 02:18 %0a%3c @]%0a%3c %0a%3c Once installation begins, you will need serial console access to view%0a%3c progress. If you're on OpenBSD's VMM, login to the host and use%0a%3c @@vmctl console@@:%0a%3c %0a%3c [@%0a%3c host$ vmctl console username%0a%3c Connected to /dev/ttyp9 (speed 115200)%0a%3c %0a%3c %0a%3c OpenBSD/amd64 (username.host.example.com) (tty00)%0a%3c %0a%3c login: stopping package daemons: dovecot php74_fpm tor.%0a%3c syncing disks... done%0a%3c vmmci0: powerdown%0a%3c rebooting...%0a%3c %0a%3c Using drive 0, partition 3.%0a%3c Loading......%0a%3c probing: pc0 com0 mem[638K 3070M a20=on]%0a%3c disk: hd0+ hd1+%0a%3c >> OpenBSD/amd64 BOOT 3.53%0a%3c upgrade detected: switching to /bsd.upgrade%0a%3c @]%0a%3c %0a%3c Once complete, it will automatically reboot:%0a%3c %0a%3c [@%0a%3c Installing xserv71.tgz 100%25 |**************************| 20117 KB 00:07 %0a%3c Location of sets? (cd0 disk http nfs or 'done') [done] done%0a%3c Making all device nodes... done.%0a%3c fw_update: firmware.openbsd.org: no address associated with name%0a%3c Cannot fetch http://firmware.openbsd.org/firmware/7.1/SHA256.sig%0a%3c fw_update: added none; updated none; kept none%0a%3c Relinking to create unique kernel... done.%0a%3c %0a%3c CONGRATULATIONS! Your OpenBSD upgrade has been successfully completed!%0a%3c %0a%3c syncing disks... done%0a%3c vmmci0: powerdown%0a%3c rebooting...%0a%3c @]%0a%3c %0a%3c After installation completes, you should be able to login using ssh:%0a%3c %0a%3c [@%0a%3c Last login: Sun Jun 5 15:09:46 2022 from 172.56.16.57%0a%3c OpenBSD 7.1 (GENERIC) #443: Mon Apr 11 17:55:15 MDT 2022%0a%3c %0a%3c Welcome to OpenBSD: The proactively secure Unix-like operating system.%0a%3c %0a%3c Please use the sendbug(1) utility to report bugs in the system.%0a%3c Before reporting a bug, please try to reproduce it with the latest%0a%3c version of the code. With bug reports, please try to ensure that%0a%3c enough information to reproduce the problem is enclosed, and if a%0a%3c known fix for it exists, include that as well.%0a%3c %0a%3c $ %0a%3c @]%0a%3c %0a%3c To check if installation succeeded:%0a%3c %0a%3c [@%0a%3c $ uname -a%0a%3c OpenBSD username.host.example.com 7.1 GENERIC#443 amd64%0a%3c @]%0a%3c %0a%3c To check if you have the proper amount of RAM and number of cores, run [[openbsd/top|top]].%0a%3c %0a%3c [@%0a%3c load averages: 0.61, 0.48, 0.41freeirc 01:49:33%0a%3c 217 processes: 216 idle, 1 on processorup 137 days, 3:21%0a%3c CPU0: 6.4%25 user, 0.0%25 nice, 19.5%25 sys, 6.9%25 spin, 1.0%25 intr, 66.3%25 idle%0a%3c CPU1: 6.5%25 user, 0.0%25 nice, 18.9%25 sys, 7.1%25 spin, 0.0%25 intr, 67.5%25 idle%0a%3c Memory: Real: 1023M/1775M act/tot Free: 189M Cache: 392M Swap: 993M/2288M%0a%3c @]%0a%3c %0a%3c You will want to [[Openbsd/syspatch|patch]] the system:%0a%3c %0a%3c [@%0a%3c $ doas syspatch%0a%3c @]%0a%3c %0a%3c Then, you'll want to run [[https://man.openbsd.org/sysmerge|sysmerge]] to merge any configuration files:%0a%3c %0a%3c [@%0a%3c $ doas sysmerge%0a%3c @]%0a%3c %0a%3c Then, make sure to upgrade your packages:%0a%3c %0a%3c [@%0a%3c $ doas pkg_add -u%0a%3c @]%0a%3c %0a%3c Read and fix any error messages that you may see.%0a%3c %0a%3c You will want to reboot after some patches:%0a%3c %0a%3c [@%0a%3c $ doas shutdown -r now%0a%3c @]%0a +host:1700090298=38.87.162.8