{"id":1086,"date":"2021-05-13T10:08:14","date_gmt":"2021-05-13T08:08:14","guid":{"rendered":"https:\/\/sven-seeberg.de\/wp\/?p=1086"},"modified":"2022-11-01T18:03:44","modified_gmt":"2022-11-01T16:03:44","slug":"unattended-openbsd-sysupgrade-with-encrypted-raid1","status":"publish","type":"post","link":"https:\/\/sven-seeberg.de\/wp\/?p=1086","title":{"rendered":"Unattended OpenBSD sysupgrade with encrypted RAID1"},"content":{"rendered":"<p><strong>Update 2022-10-22<\/strong>: As of the 7.2 release, OpenBSD supports booting from an encrypted RAID 1. The procedure below therefore becomes obsolete.<\/p>\n<p>If you have an OpenBSD running on (mostly) encrypted RAID1 partitions like I described in <a href=\"https:\/\/sven-seeberg.de\/wp\/?p=1018\">https:\/\/sven-seeberg.de\/wp\/?p=1018<\/a>, the unattended system upgrade triggered by\u00a0<code>sysupgrade<\/code> will fail after rebooting into install mode. Without interaction, the system is stuck in a reboot loop. To continue with the upgrade process, follow these instructions:<\/p>\n<ol>\n<li>When the error message appears that the system cannot continue, hit Control + C to prevent the system from rebooting. You should now have a shell.<\/li>\n<li>Create the sd3 device: <code>cd \/dev; sh MAKEDEV sd3<\/code><\/li>\n<li>Decrypt the softraid: <code>bioctl -c C -l \/dev\/sd3a softraid0<\/code><\/li>\n<li>Hit Control + D or type <code>exit<\/code><\/li>\n<\/ol>\n<p>The unattended upgrade should continue normally without any further interaction.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Update 2022-10-22: As of the 7.2 release, OpenBSD supports booting from an encrypted RAID 1. The procedure below therefore becomes obsolete. If you have an OpenBSD running on (mostly) encrypted RAID1 partitions like I described in https:\/\/sven-seeberg.de\/wp\/?p=1018, the unattended system &hellip; <a href=\"https:\/\/sven-seeberg.de\/wp\/?p=1086\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1086","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/sven-seeberg.de\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1086","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sven-seeberg.de\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sven-seeberg.de\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sven-seeberg.de\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sven-seeberg.de\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1086"}],"version-history":[{"count":3,"href":"https:\/\/sven-seeberg.de\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1086\/revisions"}],"predecessor-version":[{"id":1141,"href":"https:\/\/sven-seeberg.de\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1086\/revisions\/1141"}],"wp:attachment":[{"href":"https:\/\/sven-seeberg.de\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1086"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sven-seeberg.de\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1086"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sven-seeberg.de\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1086"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}