<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Modernised use of freebsd-update for minor and major upgrades to FreeBSD]]></title><description><![CDATA[<h2>A major upgrade example: 14.4-RELEASE to 15.1-RELEASE</h2>
<p dir="auto">All commands should be run as root.</p>
<ol>
<li><code>pkg update</code></li>
<li><code>pkg upgrade -Uy -r FreeBSD pkg</code></li>
<li><code>freebsd-update fetch</code></li>
<li><code>freebsd-update install</code></li>
<li><code>freebsd-update upgrade -r 15.1-RELEASE</code></li>
<li><code>freebsd-version -kru ; uname -mvKU</code></li>
<li><code>freebsd-update install</code></li>
<li><strong>do not</strong> reboot the operating system – ignore the on-screen advice from freebsd-update</li>
<li><code>freebsd-version -kru ; uname -KU</code></li>
<li><code>/bin/sh</code></li>
<li><code>export abi=FreeBSD:15:$(uname -p)</code></li>
<li><code>export osversion=1501000</code></li>
<li><code>pkg-static -o ABI=$abi -o OSVERSION=$osversion -o IGNORE_OSVERSION=yes update</code></li>
<li><code>pkg-static -o ABI=$abi -o OSVERSION=$osversion -o IGNORE_OSVERSION=yes upgrade -Fqy</code></li>
<li><strong>ignore</strong> all on-screen recommendations to force a bootstrap of pkg</li>
<li><code>pkg-static -o ABI=$abi -o OSVERSION=$osversion -o IGNORE_OSVERSION=yes upgrade -Fqy</code></li>
<li><code>pkg-static -o ABI=$abi -o OSVERSION=$osversion -o IGNORE_OSVERSION=yes upgrade -U -r FreeBSD-kmods</code></li>
<li><code>pkg-static -o ABI=$abi -o OSVERSION=$osversion -o IGNORE_OSVERSION=yes upgrade -U -g 'virtualbox-ose-additions*'</code></li>
<li><code>exit</code></li>
<li>upgrade the boot loader</li>
<li><code>shutdown -r +10min "restarting with the upgraded kernel and boot loader"</code></li>
<li>after this restart, if software such as Discover invites you to upgrade software, <strong>ignore</strong> the invitation</li>
<li><code>freebsd-version -kru</code></li>
<li><code>freebsd-update install</code></li>
<li>be patient</li>
<li><code>freebsd-version -kru</code></li>
<li><code>pkg bootstrap -fy</code></li>
<li><code>pkg upgrade -fFqy -r FreeBSD-ports -r FreeBSD-ports-kmods</code></li>
<li><code>pkg upgrade -fFqy -r FreeBSD-ports -r FreeBSD-ports-kmods</code></li>
<li><code>pkg upgrade -fU -r FreeBSD-ports -r FreeBSD-ports-kmods</code></li>
<li>if the previous run of <code>freebsd-update install</code> asked you to rerun the command, do so</li>
<li><code>shutdown -r +10min "restarting with the upgraded userland"</code></li>
</ol>
]]></description><link>https://billboard.bsd.cafe/topic/262/modernised-use-of-freebsd-update-for-minor-and-major-upgrades-to-freebsd</link><generator>RSS for Node</generator><lastBuildDate>Sat, 20 Jun 2026 12:52:02 GMT</lastBuildDate><atom:link href="https://billboard.bsd.cafe/topic/262.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 20 Jun 2026 08:57:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Modernised use of freebsd-update for minor and major upgrades to FreeBSD on Sat, 20 Jun 2026 12:25:19 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">upgrade the boot loader</p>
</blockquote>
<p dir="auto"><a href="https://www.freshports.org/sysutils/loaders-update/" rel="nofollow ugc">sysutils/loaders-update</a></p>
<blockquote>
<p dir="auto"><strong>Update bootcodes and loaders</strong></p>
<p dir="auto">This utility is a tool designed to keep the FreeBSD bootcodes and loaders up-to-date. It's useful because the FreeBSD upgrade process doesn't update them. It verifies if they are up to date and updates them if desired.</p>
</blockquote>
]]></description><link>https://billboard.bsd.cafe/post/731</link><guid isPermaLink="true">https://billboard.bsd.cafe/post/731</guid><dc:creator><![CDATA[grahamperrin]]></dc:creator><pubDate>Sat, 20 Jun 2026 12:25:19 GMT</pubDate></item><item><title><![CDATA[Reply to Modernised use of freebsd-update for minor and major upgrades to FreeBSD on Sat, 20 Jun 2026 11:15:44 GMT]]></title><description><![CDATA[<p dir="auto">The guide above should help to avoid kernel panics and other issues with kernel modules.</p>
<p dir="auto">Relevant documentation includes:</p>
<ul>
<li><a href="https://man.freebsd.org/cgi/man.cgi?query=freebsd-update&amp;sektion=8&amp;manpath=freebsd-release" rel="nofollow ugc">freebsd-update(8)</a></li>
<li><a href="https://www.freebsd.org/releases/15.1R/upgrading/" rel="nofollow ugc">FreeBSD 15.1-RELEASE Upgrading Instructions | The FreeBSD Project</a> (2026-06-15) – bugged.</li>
</ul>
<p dir="auto"><a href="https://mastodon.bsd.cafe/@TomAoki/116782117071564394" rel="nofollow ugc">TomAoki notes</a> the importance of upgrading the boot loader <em>before</em> – not after – the first boot of 15.1-RELEASE.</p>
<p dir="auto">Thanks to <a href="https://forums.freebsd.org//posts/762515" rel="nofollow ugc">Emrion in The FreeBSD Forums</a> for inspiring the <a href="https://man.freebsd.org/cgi/man.cgi?query=sh&amp;sektion=1&amp;manpath=freebsd-release" rel="nofollow ugc">sh(1)</a>-specific <code>export</code> lines.</p>
<hr />
<p dir="auto">Cross-post: <a href="https://www.reddit.com/r/freebsd/comments/1uas3mb/modernised_use_of_freebsdupdate/" rel="nofollow ugc">Modernised use of freebsd-update … : r/freebsd</a></p>
]]></description><link>https://billboard.bsd.cafe/post/728</link><guid isPermaLink="true">https://billboard.bsd.cafe/post/728</guid><dc:creator><![CDATA[grahamperrin]]></dc:creator><pubDate>Sat, 20 Jun 2026 11:15:44 GMT</pubDate></item></channel></rss>