{"id":133214,"date":"2023-04-19T08:00:00","date_gmt":"2023-04-19T08:00:00","guid":{"rendered":"https:\/\/fedoramagazine.org\/?p=38204"},"modified":"2023-04-19T08:00:00","modified_gmt":"2023-04-19T08:00:00","slug":"how-to-rebase-to-fedora-linux-38-on-silverblue","status":"publish","type":"post","link":"https:\/\/sickgaming.net\/blog\/2023\/04\/19\/how-to-rebase-to-fedora-linux-38-on-silverblue\/","title":{"rendered":"How to rebase to Fedora Linux 38 on Silverblue"},"content":{"rendered":"<p>Fedora Silverblue is&nbsp;<a href=\"https:\/\/docs.fedoraproject.org\/en-US\/fedora-silverblue\/\" target=\"_blank\" rel=\"noreferrer noopener\">an operating system for your desktop built&nbsp;on Fedora Linux<\/a>. It\u2019s excellent for daily use, development, and container-based workflows. It offers&nbsp;<a href=\"https:\/\/fedoramagazine.org\/give-fedora-silverblue-a-test-drive\/\" target=\"_blank\" rel=\"noreferrer noopener\">numerous advantages<\/a>&nbsp;such as being able to roll back in case of any problems. If you want to update or rebase to Fedora Linux 38 on your Fedora Silverblue system (these instructions are similar for Fedora Kinoite), this article tells you how. It not only shows you what to do, but also how to revert things if something unforeseen happens.<\/p>\n<p> <span id=\"more-38204\"><\/span> <\/p>\n<h2>Update your existing system<\/h2>\n<p>Prior to actually doing the rebase to Fedora Linux 38, you should apply any pending updates. Enter the following in the terminal:<\/p>\n<pre class=\"wp-block-preformatted\">$ rpm-ostree update<\/pre>\n<p>or install updates through GNOME Software and reboot.<\/p>\n<h2>Rebasing using GNOME Software<\/h2>\n<p>GNOME Software shows you that there is new version of Fedora Linux available on the Updates screen.<\/p>\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"680\" src=\"https:\/\/www.sickgaming.net\/blog\/wp-content\/uploads\/2023\/04\/how-to-rebase-to-fedora-linux-38-on-silverblue.png\" alt=\"\" class=\"wp-image-38205\" \/><figcaption>Fedora 38 update available<\/figcaption><\/figure>\n<p>First thing you need to do is download the new image, so click on the&nbsp;<em>Download<\/em>&nbsp;button. This will take some time. When it\u2019s done you will see that the update is ready to install.<\/p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"680\" src=\"https:\/\/www.sickgaming.net\/blog\/wp-content\/uploads\/2023\/04\/how-to-rebase-to-fedora-linux-38-on-silverblue-1.png\" alt=\"\" class=\"wp-image-38206\" \/><figcaption>Fedora 38 update ready to install<\/figcaption><\/figure>\n<p>Click on the&nbsp;<em>Restart &amp; Upgrade<\/em>&nbsp;button. This step will take only a few moments and the computer will be restarted when the update is completed. After the restart you will end up in new and shiny release of Fedora Linux 38. Easy, isn\u2019t it?<\/p>\n<h2>Rebasing using terminal<\/h2>\n<p>If you prefer to do everything in a terminal, then this part of the guide is for you.<\/p>\n<p>Rebasing to Fedora Linux 38 using the terminal is easy. First, check if the 38 branch is available:<\/p>\n<pre class=\"wp-block-preformatted\">$ ostree remote refs fedora<\/pre>\n<p>You should see the following in the output:<\/p>\n<pre class=\"wp-block-preformatted\">fedora:fedora\/38\/x86_64\/silverblue<\/pre>\n<p>If you want to pin the current deployment (meaning that this deployment will stay as an option in GRUB until you remove it), you can do it by running:<\/p>\n<pre class=\"wp-block-preformatted\"># 0 is entry position in rpm-ostree status\n$ sudo ostree admin pin 0<\/pre>\n<p>To remove the pinned deployment use the following command:<\/p>\n<pre class=\"wp-block-preformatted\"># 2 is entry position in rpm-ostree status\n$ sudo ostree admin pin --unpin 2<\/pre>\n<p>Next, rebase your system to the Fedora Linux 38 branch.<\/p>\n<pre class=\"wp-block-preformatted\">$ rpm-ostree rebase fedora:fedora\/38\/x86_64\/silverblue<\/pre>\n<p>Finally, the last thing to do is restart your computer and boot to Fedora Linux 38.<\/p>\n<h2>How to roll back<\/h2>\n<p>If anything bad happens\u2014for instance, if you can\u2019t boot to Fedora Linux 38 at all\u2014it\u2019s easy to go back. At boot time, pick the entry in the GRUB menu for the version prior to Fedora Linux 38 and your system will start in that previous version rather than Fedora Linux 38. If you don\u2019t see the GRUB menu, try to press ESC during boot. To make the change to the previous version permanent, use the following command:<\/p>\n<pre class=\"wp-block-preformatted\">$ rpm-ostree rollback<\/pre>\n<p>That\u2019s it. Now you know how to rebase Fedora Silverblue to Fedora Linux 38 and roll back. So why not do it today?<\/p>\n<h2>FAQ<\/h2>\n<p>Because there are similar questions in comments for each article about rebasing to newer version of Silverblue I will try to answer them in this section.<\/p>\n<p><strong>Question: Can I skip versions during rebase of Fedora? For example from Fedora 36 Silverblue to Fedora 38 Silverblue?<\/strong><\/p>\n<p>Answer: Although it could be sometimes possible to skip versions during rebase, it is not recommended. You should always update to one version above (37-&gt;38 for example) to avoid unnecessary errors.<\/p>\n<p><strong>Question: I have&nbsp;<a href=\"https:\/\/rpmfusion.org\/\">rpm-fusion<\/a>&nbsp;layered and I got errors during rebase. How should I do the rebase?<\/strong><\/p>\n<p>Answer: If you have&nbsp;<a href=\"https:\/\/rpmfusion.org\/\">rpm-fusion<\/a>&nbsp;layered on your Silverblue installation, you should do the following before rebase:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;border:1px solid #9F9F9F;width:435px\">\n<div class=\"text codecolorer\" style=\"padding:5px;font:normal 12px\/1.4em Monaco, Lucida Console, monospace\">rpm-ostree update &#8211;uninstall rpmfusion-free-release &#8211;uninstall rpmfusion-nonfree-release &#8211;install rpmfusion-free-release &#8211;install rpmfusion-nonfree-release<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Fedora Silverblue is&nbsp;an operating system for your desktop built&nbsp;on Fedora Linux. It\u2019s excellent for daily use, development, and container-based workflows. It offers&nbsp;numerous advantages&nbsp;such as being able to roll back in case of any problems. If you want to update or rebase to Fedora Linux 38 on your Fedora Silverblue system (these instructions are similar for [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":133215,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48],"tags":[45,1468,46,75,47,1347,269,44],"class_list":["post-133214","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-fedora-os","tag-fedora","tag-fedora-38","tag-magazine","tag-new-in-fedora","tag-news","tag-rebase","tag-silverblue","tag-using-software"],"_links":{"self":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/133214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/comments?post=133214"}],"version-history":[{"count":0,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/posts\/133214\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/media\/133215"}],"wp:attachment":[{"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/media?parent=133214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/categories?post=133214"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sickgaming.net\/blog\/wp-json\/wp\/v2\/tags?post=133214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}