{"id":42930,"date":"2023-02-07T11:42:52","date_gmt":"2023-02-07T11:42:52","guid":{"rendered":"https:\/\/smlp.co.uk\/blog\/?page_id=42930"},"modified":"2023-02-07T11:42:52","modified_gmt":"2023-02-07T11:42:52","slug":"step-6-8","status":"publish","type":"page","link":"https:\/\/smlp.co.uk\/blog\/step-6-8\/","title":{"rendered":"Steps 6 &#8211; 8: How to Install Home Assistant Supervised on TrueNAS Scale with ConBee II or SONOFF passthrough."},"content":{"rendered":"\n<p class=\"has-text-align-right wp-block-paragraph\"><strong>Step 6: Boot into Debian via VM<\/strong><\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"has-small-font-size wp-block-paragraph\">There is a known issue with the Virtulisation BIOS booting into debain on a TrueNAS Scale.<\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">We are going to fix this but for now we need to boot into the Debian OS.<\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">You need to exit the shell and get into the BIOS.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"683\" height=\"467\" src=\"http:\/\/192.168.1.42\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-06-at-12.07.13.png\" alt=\"\" class=\"wp-image-42897\" srcset=\"https:\/\/smlp.co.uk\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-06-at-12.07.13.png 683w, https:\/\/smlp.co.uk\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-06-at-12.07.13-300x205.png 300w\" sizes=\"auto, (max-width: 683px) 100vw, 683px\" \/><\/figure>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">Manually select the correct boot file via the BIOS to start the OS.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"683\" height=\"467\" src=\"http:\/\/192.168.1.42\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-06-at-12.10.28.png\" alt=\"\" class=\"wp-image-42899\" srcset=\"https:\/\/smlp.co.uk\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-06-at-12.10.28.png 683w, https:\/\/smlp.co.uk\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-06-at-12.10.28-300x205.png 300w\" sizes=\"auto, (max-width: 683px) 100vw, 683px\" \/><\/figure>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">Once booted we need to install SUDO to help with future commands.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"has-small-font-size wp-block-paragraph\"><em>In the TrueNas Scale Virtulsaztion Dashboard arrow down on your new VM:<\/em><\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">Select &#8220;Display&#8221;.<\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">Once the Shell has opened type: exit<\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\"><em>Select: Boot Maintenance Manager<\/em><\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">Select: Boot from File<\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">Select the drive: No Volume Label<\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">Select: &lt;EFI&gt;<\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">Select: grubx64.efi<\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">The system will then boot. Log in with your username and password.<\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">Switch to Super User:<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>su -<\/code><\/pre>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">Install SUDO:<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>apt install sudo<\/code><\/pre>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\"><em>Add your user name as a sudo user (my user name is smlp you need to change this to your username:<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>\/sbin\/adduser smlp sudo<\/code><\/pre>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\"><em> <\/em><\/p>\n<\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"has-text-align-right wp-block-paragraph\"><strong>Step 7: SSH into the system<\/strong><\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"has-small-font-size wp-block-paragraph\">While you are still inside the VM&#8217;s terminal display get the IP address of your system.<\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">Next, open at terminal on your computer, terminal on Mac and command prompt on windows (CMD) and SSH into the server using your user name and password.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"has-small-font-size wp-block-paragraph\"><em>Still,<\/em> inside the VM Display terminal get your IP<em> address with the IP command:<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>ip a\n<\/code><\/pre>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\"><em>find your IP address from the displayed info. This would normally start with 192.168.1.xxx<\/em><\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">Open the Terminal app (MacOS) or Command Proft on Windows (CMD).<\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">Connect to your server with SSH.  <\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">Change your username and IP address to match your system. My example is<\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">Username: smlp<\/p>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">ip Address: 192.168.1.100<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>ssh smlp@192.168.1.100<\/code><\/pre>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">Enter your password and type &#8220;yes&#8221; to accept fingerprint.<\/p>\n<\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"has-text-align-right wp-block-paragraph\"><strong>Step 8: Fix the auto-boot issue<\/strong><\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"has-small-font-size wp-block-paragraph\">Next, we need to update the EFI boot file to the correct name, edit the network interface setting and install network manager.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"711\" src=\"http:\/\/192.168.1.42\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-06-at-13.07.18-1024x711.png\" alt=\"\" class=\"wp-image-42901\" srcset=\"https:\/\/smlp.co.uk\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-06-at-13.07.18-1024x711.png 1024w, https:\/\/smlp.co.uk\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-06-at-13.07.18-300x208.png 300w, https:\/\/smlp.co.uk\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-06-at-13.07.18-768x534.png 768w, https:\/\/smlp.co.uk\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-06-at-13.07.18.png 1035w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"711\" src=\"http:\/\/192.168.1.42\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-06-at-13.07.29-1024x711.png\" alt=\"\" class=\"wp-image-42902\" srcset=\"https:\/\/smlp.co.uk\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-06-at-13.07.29-1024x711.png 1024w, https:\/\/smlp.co.uk\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-06-at-13.07.29-300x208.png 300w, https:\/\/smlp.co.uk\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-06-at-13.07.29-768x534.png 768w, https:\/\/smlp.co.uk\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-06-at-13.07.29.png 1035w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"has-small-font-size wp-block-paragraph\"><em>Make a new directory for EFI Boot:<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>mkdir -p \/boot\/efi\/EFI\/BOOT<\/code><\/pre>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\"><em>Then move and rename the boot info to it:<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>cp \/boot\/efi\/EFI\/debian\/grubx64.efi \/boot\/efi\/EFI\/BOOT\/bootx64.efi<\/code><\/pre>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">Edit the network info:<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>nano \/etc\/network\/interfaces<\/code><\/pre>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">And comment out with a &#8220;#&#8221; what we don\u2019t need it should look like this:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"186\" src=\"http:\/\/192.168.1.42\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-06-at-13.22.02.png\" alt=\"\" class=\"wp-image-42903\" srcset=\"https:\/\/smlp.co.uk\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-06-at-13.22.02.png 640w, https:\/\/smlp.co.uk\/blog\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-06-at-13.22.02-300x87.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">Install Network Manager:<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>apt install network-manager<\/code><\/pre>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\">Now, shut down the system and check it boots to the terminal prompt via the VM Display without intervention.<\/p>\n<\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">Next <strong><a href=\"http:\/\/192.168.1.42\/blog\/steps-9-12\/\">&gt;Step 9<\/a><\/strong> <\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-8f761849 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"has-text-align-center wp-block-paragraph\">Contents:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"http:\/\/192.168.1.42\/blog\/2023\/02\/step-by-step-guide-how-to-install-home-assistant-supervised-on-truenas-scale-with-conbee-ii-or-sonoff-passthrough\/\">Main Post<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/192.168.1.42\/blog\/steps-1-5\/\">Steps 1 to 5<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/192.168.1.42\/blog\/step-6-8\/\"><strong>Steps 6 to 8<\/strong><\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/192.168.1.42\/blog\/steps-9-12\/\">Steps 9 to 12<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/192.168.1.42\/blog\/steps-13-14\/\">Steps 13 to 14<\/a><\/li>\n<\/ul>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<a href=\"https:\/\/ko-fi.com\/V7V2G9O87\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" height=\"36\" style=\"border:0px;height:36px;\" src=\"https:\/\/storage.ko-fi.com\/cdn\/kofi2.png?v=3\" border=\"0\" alt=\"Buy Me a Coffee at ko-fi.com\" \/><\/a>\n<\/div>\n<\/div>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-smlp wp-block-embed-smlp\"><div class=\"wp-block-embed__wrapper\">\nhttp:\/\/192.168.1.42\/blog\/2023\/03\/step-by-step-guide-how-to-install-home-assistant-supervised-on-windows\/\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Step 6: Boot into Debian via VM There is a known issue with the Virtulisation BIOS booting into debain on a TrueNAS Scale. We are going to fix this but for now we need to boot into the Debian OS. You need to exit the shell and get into the BIOS. Manually select the correct &hellip; <a href=\"https:\/\/smlp.co.uk\/blog\/step-6-8\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Steps 6 &#8211; 8: How to Install Home Assistant Supervised on TrueNAS Scale with ConBee II or SONOFF passthrough.<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-42930","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/smlp.co.uk\/blog\/wp-json\/wp\/v2\/pages\/42930","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smlp.co.uk\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/smlp.co.uk\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/smlp.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/smlp.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=42930"}],"version-history":[{"count":0,"href":"https:\/\/smlp.co.uk\/blog\/wp-json\/wp\/v2\/pages\/42930\/revisions"}],"wp:attachment":[{"href":"https:\/\/smlp.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=42930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}