{"id":1688,"date":"2025-02-14T20:05:25","date_gmt":"2025-02-14T18:05:25","guid":{"rendered":"https:\/\/cln.io\/blog\/?p=1688"},"modified":"2025-02-14T20:06:42","modified_gmt":"2025-02-14T18:06:42","slug":"migrating-home-assistant-from-a-raspberry-pi4-to-an-pi5","status":"publish","type":"post","link":"https:\/\/cln.io\/blog\/migrating-home-assistant-from-a-raspberry-pi4-to-an-pi5\/","title":{"rendered":"Migrating Home Assistant from a Raspberry pi 4 to an RPI5 (optional: with a PoE injector)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">NOTE: No LLMs were used to write this blog post<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Basically the same procedure as <a href=\"https:\/\/cln.io\/blog\/migrating-home-assistant-from-sd-card-to-ssd\/\" data-type=\"post\" data-id=\"550\" target=\"_blank\" rel=\"noreferrer noopener\">migrating-home-assistant-from-sd-card-to-ssd<\/a><br>follow every step.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Make a backup of RPI4 <\/li>\n\n\n\n<li>Download the backup<\/li>\n\n\n\n<li>Flash the new OS onto the SSD<\/li>\n\n\n\n<li>Let it set up<\/li>\n\n\n\n<li>Restore the backup on the rasperry pi 5<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">I ran into an issue as I&#8217;m using a PoE injector, and the Pi 5 complains about not enough power (even tho it can do 5V 5A)  <a href=\"https:\/\/cln.io\/blog\/homelab-setup\/\" data-type=\"post\" data-id=\"1728\">more details on my homelab post<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It doesn&#8217;t boot until you edit the config.txt to have  <code>usb_max_current_enable<\/code>  enabled<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"ini\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">[all]\nusb_max_current_enable=1<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Is its a fresh restore of the backup, I lost access to the host system over SSH port 22222 <a href=\"https:\/\/cln.io\/blog\/ssh-access-to-the-home-assistant-host\/\" data-type=\"post\" data-id=\"605\" target=\"_blank\" rel=\"noreferrer noopener\">so following this guide<\/a> I can SSH into the host system from the terminal<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once you followed the above guide, head over to the terminal<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"546\" height=\"444\" src=\"https:\/\/cln.io\/blog\/wp-content\/uploads\/2025\/02\/image-46.png\" alt=\"\" class=\"wp-image-1805\" style=\"width:361px;height:auto\" srcset=\"https:\/\/cln.io\/blog\/wp-content\/uploads\/2025\/02\/image-46.png 546w, https:\/\/cln.io\/blog\/wp-content\/uploads\/2025\/02\/image-46-300x244.png 300w\" sizes=\"auto, (max-width: 546px) 100vw, 546px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">SSH into the root system and edit the config.txt which is located under \/mnt\/boot<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"834\" height=\"220\" src=\"https:\/\/cln.io\/blog\/wp-content\/uploads\/2025\/02\/SCR-20250214-qkwg.png\" alt=\"\" class=\"wp-image-1806\" srcset=\"https:\/\/cln.io\/blog\/wp-content\/uploads\/2025\/02\/SCR-20250214-qkwg.png 834w, https:\/\/cln.io\/blog\/wp-content\/uploads\/2025\/02\/SCR-20250214-qkwg-300x79.png 300w, https:\/\/cln.io\/blog\/wp-content\/uploads\/2025\/02\/SCR-20250214-qkwg-768x203.png 768w\" sizes=\"auto, (max-width: 834px) 100vw, 834px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">then add the line, and reboot the system<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"487\" src=\"https:\/\/cln.io\/blog\/wp-content\/uploads\/2025\/02\/image-47-1024x487.png\" alt=\"\" class=\"wp-image-1807\" srcset=\"https:\/\/cln.io\/blog\/wp-content\/uploads\/2025\/02\/image-47-1024x487.png 1024w, https:\/\/cln.io\/blog\/wp-content\/uploads\/2025\/02\/image-47-300x143.png 300w, https:\/\/cln.io\/blog\/wp-content\/uploads\/2025\/02\/image-47-768x365.png 768w, https:\/\/cln.io\/blog\/wp-content\/uploads\/2025\/02\/image-47.png 1198w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/cln.io\/blog\/wp-content\/uploads\/2022\/09\/jainath-ponnala-9wWX_jwDHeM-unsplash-1024x683.jpg\" alt=\"\" class=\"wp-image-755\" srcset=\"https:\/\/cln.io\/blog\/wp-content\/uploads\/2022\/09\/jainath-ponnala-9wWX_jwDHeM-unsplash-1024x683.jpg 1024w, https:\/\/cln.io\/blog\/wp-content\/uploads\/2022\/09\/jainath-ponnala-9wWX_jwDHeM-unsplash-300x200.jpg 300w, https:\/\/cln.io\/blog\/wp-content\/uploads\/2022\/09\/jainath-ponnala-9wWX_jwDHeM-unsplash-768x512.jpg 768w, https:\/\/cln.io\/blog\/wp-content\/uploads\/2022\/09\/jainath-ponnala-9wWX_jwDHeM-unsplash-1536x1024.jpg 1536w, https:\/\/cln.io\/blog\/wp-content\/uploads\/2022\/09\/jainath-ponnala-9wWX_jwDHeM-unsplash-2048x1365.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Photo by&nbsp;<a href=\"https:\/\/unsplash.com\/@jainath?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText\" target=\"_blank\" rel=\"noreferrer noopener\">Jainath Ponnala<\/a>&nbsp;on&nbsp;<a href=\"https:\/\/unsplash.com\/s\/photos\/raspberry-pi?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText\" target=\"_blank\" rel=\"noreferrer noopener\">Unsplash<\/a><\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>NOTE: No LLMs were used to write this blog post Basically the same procedure as migrating-home-assistant-from-sd-card-to-ssdfollow every step. I ran into an issue as I&#8217;m using a PoE injector, and the Pi 5 complains about [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1807,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,4,26,36],"tags":[],"class_list":["post-1688","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-automation","category-homeassistant","category-it","category-raspberry"],"_links":{"self":[{"href":"https:\/\/cln.io\/blog\/wp-json\/wp\/v2\/posts\/1688","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cln.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cln.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cln.io\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cln.io\/blog\/wp-json\/wp\/v2\/comments?post=1688"}],"version-history":[{"count":2,"href":"https:\/\/cln.io\/blog\/wp-json\/wp\/v2\/posts\/1688\/revisions"}],"predecessor-version":[{"id":1809,"href":"https:\/\/cln.io\/blog\/wp-json\/wp\/v2\/posts\/1688\/revisions\/1809"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cln.io\/blog\/wp-json\/wp\/v2\/media\/1807"}],"wp:attachment":[{"href":"https:\/\/cln.io\/blog\/wp-json\/wp\/v2\/media?parent=1688"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cln.io\/blog\/wp-json\/wp\/v2\/categories?post=1688"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cln.io\/blog\/wp-json\/wp\/v2\/tags?post=1688"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}