<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>scienceasacandleinthedark</author_name>
  <author_url>https://blog.hatena.ne.jp/scienceasacandleinthedark/</author_url>
  <blog_title>悪霊にさいなまれる世界 -The Demon-Haunted World</blog_title>
  <blog_url>https://science-as-a-candle-in-the-dark.hatenablog.com/</blog_url>
  <categories>
    <anon>Linux</anon>
    <anon>Debian</anon>
    <anon>LUKS</anon>
    <anon>FDE</anon>
    <anon>cryptsetup</anon>
    <anon>UUID</anon>
    <anon>暗号化</anon>
    <anon>フルディスク暗号化</anon>
  </categories>
  <description>そう言う訳でSDカードを丸ごとLUKSで暗号化して、起動時に自動でマウント・復号化する方法である。昔書いた記事が色々間違っていたので修正する。 1，lsblkでSDカードを判別する。sdXだったりmmcblk0だったり。今回は/dev/mmcblk0として進める。 2，cryptsetupを使って、SDカード全体をLUKSで暗号化。このときパスフレーズを決める。 sudo cryptsetup luksFormat /dev/mmcblk0 3，暗号化されたSDカードを開き、仮想的なデバイスとして認識する。 sudo cryptsetup luksOpen /dev/mmcblk0 my_en…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fscience-as-a-candle-in-the-dark.hatenablog.com%2Fentry%2F2026%2F04%2F11%2F211816&quot; title=&quot;Linux、というかDebianでSDカードを丸ごとLUKSで暗号化して、かつ起動時に自動でマウント・復号化する方法メモ（修正版） - 悪霊にさいなまれる世界 -The Demon-Haunted World&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-04-11 21:18:16</published>
  <title>Linux、というかDebianでSDカードを丸ごとLUKSで暗号化して、かつ起動時に自動でマウント・復号化する方法メモ（修正版）</title>
  <type>rich</type>
  <url>https://science-as-a-candle-in-the-dark.hatenablog.com/entry/2026/04/11/211816</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
