<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Gentoo on The Empty Cup</title>
    <link>https://blog.plz.ac/en/categories/gentoo/</link>
    <description>Recent content in Gentoo on The Empty Cup</description>
    <generator>Hugo</generator>
    <language>en</language>
    <managingEditor>chris@lesscrowds.org (Chris Su)</managingEditor>
    <webMaster>chris@lesscrowds.org (Chris Su)</webMaster>
    <lastBuildDate>Thu, 26 Nov 2026 00:20:00 +0800</lastBuildDate>
    <atom:link href="https://blog.plz.ac/en/categories/gentoo/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Gentoo Binary Packages: binpkg and Binhost Guide</title>
      <link>https://blog.plz.ac/en/posts/gentoo-binpkg/</link>
      <pubDate>Thu, 12 Nov 2026 08:00:00 +0800</pubDate><author>chris@lesscrowds.org (Chris Su)</author>
      <guid>https://blog.plz.ac/en/posts/gentoo-binpkg/</guid>
      <description>&lt;p&gt;Gentoo has long been known for compiling from source, but that does not mean every package must be built that way. Since late 2023, Gentoo has officially provided a &lt;a href=&#34;https://www.gentoo.org/news/2023/12/29/Gentoo-binary.html&#34;&gt;Binary Package Host (binhost)&lt;/a&gt;, so you can use prebuilt binary packages to speed up installs and updates.&lt;/p&gt;&#xA;&lt;p&gt;I recently synced a Gentoo mirror for my homelab, and it included Gentoo&amp;rsquo;s binpkgs. This post covers how to use binpkgs to speed up installs, how to build your own, and how to set up a private binhost server.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Volatoo: Immutable Root and Generation Updates on Gentoo</title>
      <link>https://blog.plz.ac/en/posts/volatoo/</link>
      <pubDate>Thu, 12 Nov 2026 08:00:00 +0800</pubDate><author>chris@lesscrowds.org (Chris Su)</author>
      <guid>https://blog.plz.ac/en/posts/volatoo/</guid>
      <description>&lt;p&gt;Volatoo is a distribution I&amp;rsquo;ve been working on this year (not me exactly — an AI, actually). The name comes from volatile and &lt;a href=&#34;https://www.gentoo.org/&#34;&gt;Gentoo&lt;/a&gt;. It is based on Gentoo, and the system is organized by generation. The repo is &lt;a href=&#34;https://github.com/Volatoo/Volatoo&#34;&gt;github.com/Volatoo/Volatoo&lt;/a&gt;, and the current &lt;code&gt;v0.1-dev&lt;/code&gt; preview boots both &lt;a href=&#34;https://github.com/OpenRC/openrc&#34;&gt;OpenRC&lt;/a&gt; and &lt;a href=&#34;https://systemd.io/&#34;&gt;systemd&lt;/a&gt; targets.&lt;/p&gt;&#xA;&lt;p&gt;Volatoo is an immutable system: the root filesystem comes from a read-only &lt;a href=&#34;https://docs.kernel.org/filesystems/squashfs.html&#34;&gt;SquashFS&lt;/a&gt; image, and writes at runtime go to &lt;a href=&#34;https://docs.kernel.org/filesystems/tmpfs.html&#34;&gt;tmpfs&lt;/a&gt;, gone on reboot.&lt;/p&gt;&#xA;&lt;p&gt;At boot, SquashFS is the &lt;a href=&#34;https://docs.kernel.org/filesystems/overlayfs.html&#34;&gt;OverlayFS&lt;/a&gt; lower layer and tmpfs is the upper, stacked into &lt;code&gt;/&lt;/code&gt;. What you see is a Gentoo you can read and write normally, except changes to &lt;code&gt;/usr&lt;/code&gt; live only in memory. On reboot the upper is discarded and the system returns to the image.&lt;/p&gt;&#xA;&lt;p&gt;Paths that need to survive (&lt;code&gt;/home&lt;/code&gt;, &lt;code&gt;/etc&lt;/code&gt;, &lt;code&gt;/var/log&lt;/code&gt;, and so on) are attached from a persistent partition at boot; that partition is optional.&lt;/p&gt;&#xA;&lt;p&gt;A generation is the version of the whole thing. An update produces a new read-only image and its mount record, and once the objects and manifest are written, &lt;code&gt;current&lt;/code&gt; is atomically pointed at it; a rollback points &lt;code&gt;previous&lt;/code&gt; back.&lt;/p&gt;&#xA;&lt;p&gt;This post covers the boot flow, persistence and updates, and ends with a list of what still needs work.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Using a Gentoo Cloud-Init Image as a Proxmox VE Template</title>
      <link>https://blog.plz.ac/en/posts/gentoo-qcow2-on-pve/</link>
      <pubDate>Thu, 27 Feb 2025 13:50:32 +0800</pubDate><author>chris@lesscrowds.org (Chris Su)</author>
      <guid>https://blog.plz.ac/en/posts/gentoo-qcow2-on-pve/</guid>
      <description>&lt;p&gt;Gentoo now publishes official &lt;a href=&#34;https://www.gentoo.org/news/2025/02/20/gentoo-qcow2-images.html&#34;&gt;qcow2 images&lt;/a&gt; with &lt;a href=&#34;https://cloud-init.io/&#34;&gt;Cloud-Init&lt;/a&gt; support. This post covers how to turn one into a template on &lt;a href=&#34;https://www.proxmox.com/en/products/proxmox-virtual-environment/overview&#34;&gt;Proxmox VE&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Gentoo KVM PCI Passthrough: GPU, USB and Sound Card</title>
      <link>https://blog.plz.ac/en/posts/gentoo-kvm-pci-passthrough/</link>
      <pubDate>Thu, 28 Mar 2024 11:39:26 -0400</pubDate><author>chris@lesscrowds.org (Chris Su)</author>
      <guid>https://blog.plz.ac/en/posts/gentoo-kvm-pci-passthrough/</guid>
      <description>&lt;p&gt;This is a record of getting KVM PCI passthrough working on Gentoo.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Gentoo on Raspberry Pi 4: Cross-Compiled Install</title>
      <link>https://blog.plz.ac/en/posts/gentoo-rpi4/</link>
      <pubDate>Thu, 28 Mar 2024 11:04:04 -0400</pubDate><author>chris@lesscrowds.org (Chris Su)</author>
      <guid>https://blog.plz.ac/en/posts/gentoo-rpi4/</guid>
      <description>&lt;p&gt;This post covers installing Gentoo on a Raspberry Pi 4B.&lt;/p&gt;</description>
    </item>
    <item>
      <title>The Gentoo RISC-V Keywording Process</title>
      <link>https://blog.plz.ac/en/posts/gentoo-riscv-keyword/</link>
      <pubDate>Thu, 07 Mar 2024 16:45:53 +0800</pubDate><author>chris@lesscrowds.org (Chris Su)</author>
      <guid>https://blog.plz.ac/en/posts/gentoo-riscv-keyword/</guid>
      <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;&#xA;&lt;p&gt;This post records my RISC-V keywording workflow on Gentoo: emulate RISC-V with QEMU on an amd64 machine, run the tests, then submit the &lt;code&gt;~riscv&lt;/code&gt; keyword.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Gentoo systemd-boot: Replacing GRUB for UEFI Boot</title>
      <link>https://blog.plz.ac/en/posts/gentoo-systemd-boot/</link>
      <pubDate>Mon, 04 Mar 2024 23:24:10 +0800</pubDate><author>chris@lesscrowds.org (Chris Su)</author>
      <guid>https://blog.plz.ac/en/posts/gentoo-systemd-boot/</guid>
      <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;&#xA;&lt;p&gt;While tinkering with &lt;a href=&#34;https://en.wikipedia.org/wiki/UEFI#Secure_Boot&#34;&gt;Secure Boot&lt;/a&gt; a while back, I found that GRUB&amp;rsquo;s fonts and other files can&amp;rsquo;t be signed along with it, which makes the whole process awkward. Looking at other bootloaders, I saw that systemd itself can boot the kernel directly, so I switched to systemd-boot. This post covers the things to watch out for during configuration.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Deploying Gentoo on a VPS: LUKS Encryption and Remote Unlock</title>
      <link>https://blog.plz.ac/en/posts/gentoo-vps/</link>
      <pubDate>Wed, 14 Feb 2024 10:42:48 +0800</pubDate><author>chris@lesscrowds.org (Chris Su)</author>
      <guid>https://blog.plz.ac/en/posts/gentoo-vps/</guid>
      <description>&lt;p&gt;Most of my VPSs have been running Debian or similar, and I never got comfortable with them. Since I use Gentoo every day anyway, I just reinstalled these VPSs with Gentoo too, and encrypted the root partition while I was at it, so even if the cloud provider gets hold of the disk it can&amp;rsquo;t read anything (just kidding).&lt;/p&gt;</description>
    </item>
    <item>
      <title>Gentoo on OpenZFS: Full Disk Encryption and Remote Unlock</title>
      <link>https://blog.plz.ac/en/posts/gentoo-zol-encryption/</link>
      <pubDate>Thu, 22 Jun 2023 11:38:01 +0800</pubDate><author>chris@lesscrowds.org (Chris Su)</author>
      <guid>https://blog.plz.ac/en/posts/gentoo-zol-encryption/</guid>
      <description>&lt;h2 id=&#34;the-need&#34;&gt;The Need&lt;/h2&gt;&#xA;&lt;p&gt;Laptop plus books came to nearly 30 jin (15 kg) in one bag — two 16-inch &amp;ldquo;bricks&amp;rdquo; — and I simply couldn&amp;rsquo;t carry it anymore. I recently came across &lt;a href=&#34;https://kasmweb.com/&#34;&gt;Kasm Workspace&lt;/a&gt;; this container-based web app platform is a good fit for opening a browser on an iPad and connecting to my current workflow.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
