<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Kvm on Marcello Barnaba</title>
    <link>https://sindro.me/tags/kvm/</link>
    <description>Recent content in Kvm on Marcello Barnaba</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 10 Oct 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://sindro.me/tags/kvm/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Home Assistant from the metal up</title>
      <link>https://sindro.me/posts/2026-10-10-home-assistant-from-the-metal-up/</link>
      <pubDate>Sat, 10 Oct 2026 00:00:00 +0000</pubDate>
      <guid>https://sindro.me/posts/2026-10-10-home-assistant-from-the-metal-up/</guid>
      <description>&lt;p&gt;People on IRC keep asking me how my Home Assistant is set up, and someone&#xA;always wants to copy it. So here&amp;rsquo;s all of it, starting from the hardware.&lt;/p&gt;&#xA;&lt;p&gt;The order is deliberate. Automations are the visible part, but they sit on&#xA;a box that can die, a disk that can be stolen and a VM that can corrupt&#xA;itself during a backup. If those layers are wrong, it doesn&amp;rsquo;t matter how&#xA;good the automations are.&lt;/p&gt;&#xA;&lt;h2 id=&#34;the-box-one-raspberry-pi-5-encrypted&#34; id=&#34;the-box-one-raspberry-pi-5-encrypted&#34;&gt;The box: one Raspberry Pi 5, encrypted&lt;a class=&#34;heading-anchor&#34; href=&#34;#the-box-one-raspberry-pi-5-encrypted&#34; aria-label=&#34;Link to this section&#34;&gt;¶&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;Everything runs on &lt;strong&gt;nowhere&lt;/strong&gt;, a Raspberry Pi 5 with a 1 TB NVMe drive.&#xA;There&amp;rsquo;s no rack and no Proxmox cluster. It&amp;rsquo;s one Pi, and it also runs the&#xA;DNS resolver, the internal certificate authority, the metrics and logs&#xA;stack, the WiFi presence service, the UPS server, and the Claude Code&#xA;session that&amp;rsquo;s helping me write this post.&lt;/p&gt;&#xA;&lt;p&gt;The root filesystem is &lt;strong&gt;LUKS-encrypted&lt;/strong&gt;. The firmware loads an initramfs&#xA;that asks for the passphrase. Since the Pi has no keyboard attached, the&#xA;initramfs also runs &lt;strong&gt;dropbear&lt;/strong&gt;, so I can SSH in and unlock it remotely&#xA;after a power cut. I wrote up the setup step by step in&#xA;&lt;a href=&#34;https://sindro.me/posts/2026-01-20-raspberry-pi-luks-encrypted-root/&#34;&gt;Raspberry PI 5 encrypted root with LUKS&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;nvme0n1          953.9G&#xA;├─nvme0n1p1      512M   vfat         /boot/firmware&#xA;└─nvme0n1p2      953.4G crypto_LUKS&#xA;  └─cryptroot    953.3G ext4         /&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;This matters for Home Assistant because &lt;strong&gt;HAOS has no full-disk encryption&#xA;option&lt;/strong&gt;. HA&amp;rsquo;s database holds a complete history of who was home and when,&#xA;when the alarm was armed and every door event. On bare-metal HAOS, anyone&#xA;who walks off with the SSD walks off with all of that. Inside a LUKS volume&#xA;it&amp;rsquo;s just more ciphertext.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
