{"id":3428,"date":"2026-06-16T14:24:33","date_gmt":"2026-06-16T18:24:33","guid":{"rendered":"https:\/\/blog.lufamily.ca\/kang\/?p=3428"},"modified":"2026-06-16T14:24:35","modified_gmt":"2026-06-16T18:24:35","slug":"journey-to-ubuntu-24-04-lts-ended-in-another-rescue","status":"publish","type":"post","link":"https:\/\/blog.lufamily.ca\/kang\/2026\/06\/16\/journey-to-ubuntu-24-04-lts-ended-in-another-rescue\/","title":{"rendered":"Journey to Ubuntu 24.04 LTS Ended in Another Rescue"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">My NAS is currently running Ubuntu 22.04.5 LTS. I have tried <a href=\"https:\/\/blog.lufamily.ca\/kang\/2026\/01\/13\/ubuntu-22-04-lts-to-24-04-lts-upgrade-fail\/\" data-type=\"post\" data-id=\"3327\">in the past<\/a> to perform a <code>do-release-upgrade<\/code>, and ended up with a system that will not boot.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Since then, I have moved many services away from the NAS. I thought I should give it one more try, and I did just that yesterday. Unfortunately the result ended up the same, resulting another rescue.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I thought I should document the rescue process here again.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# Wipe the root fs\nmkfs.ext4 \/dev\/nvme1n1p2\n\n# Restore from backup\nmount \/dev\/nvme1n1p2 \/mnt\nmount \/dev\/backup_partition \/mntb\nrsync -aAXv \/mntb\/ \/mnt\/\n\n# Ensure the root file system new UUID is the same in \/etc\/fstab\nvi \/mnt\/etc\/fstab\n\n# chroot to install the boot partition\nmount \/dev\/nvme1n1p1 \/mnt\/boot\/efi\nfor i in \/dev \/dev\/pts \/proc \/sys \/run; do mount -B $i \/mnt$i; done\nmount -t efivarfs efivarfs \/mnt\/sys\/firmware\/efi\/efivars \nchroot \/mnt\n\n# Identify your EFI partition again just in case (e.g., \/boot\/efi)\nsudo grub-install\n\n# Below is more forceful but mostly optional and unnecessary\n# grub-install --target=x86_64-efi --efi-directory=\/boot\/efi --bootloader-id=GRUB --removable --recheck\n\nsudo update-grub\nexit\n\n# Exit and reboot\numount -l \/mnt\nreboot\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">By now I have become an expert in rescuing failed upgrades with Ubuntu.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I have upgraded my TUF GAMING B550-PLUS motherboard to version 3636. This is a recently released BIOS from ASUS in January of 2026. My previous version of the BIOS was from 2024.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I will give myself another breather, say about a week, before attempting to try again.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My NAS is currently running Ubuntu 22.04.5 LTS. I have tried in the past to perform a do-release-upgrade, and ended up with a system that will not boot. Since then, I have moved many services away from the NAS. I thought I should give it one more try, and I did just that yesterday. Unfortunately &hellip; <a href=\"https:\/\/blog.lufamily.ca\/kang\/2026\/06\/16\/journey-to-ubuntu-24-04-lts-ended-in-another-rescue\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Journey to Ubuntu 24.04 LTS Ended in Another Rescue&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[111],"tags":[97,5,28,6],"class_list":["post-3428","post","type-post","status-publish","format-standard","hentry","category-tech","tag-linux","tag-nas","tag-technology","tag-ubuntu"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7V6i8-Ti","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts\/3428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/comments?post=3428"}],"version-history":[{"count":5,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts\/3428\/revisions"}],"predecessor-version":[{"id":3433,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts\/3428\/revisions\/3433"}],"wp:attachment":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/media?parent=3428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/categories?post=3428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/tags?post=3428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}