<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.archlinux.jp/index.php?action=history&amp;feed=atom&amp;title=Systemd-repart</id>
	<title>Systemd-repart - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.archlinux.jp/index.php?action=history&amp;feed=atom&amp;title=Systemd-repart"/>
	<link rel="alternate" type="text/html" href="https://wiki.archlinux.jp/index.php?title=Systemd-repart&amp;action=history"/>
	<updated>2026-05-04T19:23:18Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.44.3</generator>
	<entry>
		<id>https://wiki.archlinux.jp/index.php?title=Systemd-repart&amp;diff=39372&amp;oldid=prev</id>
		<title>Kusanaginoturugi: en:Systemd-repart を追加</title>
		<link rel="alternate" type="text/html" href="https://wiki.archlinux.jp/index.php?title=Systemd-repart&amp;diff=39372&amp;oldid=prev"/>
		<updated>2024-12-20T01:37:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;https://wiki.archlinux.org/title/Systemd-repart&quot; class=&quot;extiw&quot; title=&quot;en:Systemd-repart&quot;&gt;en:Systemd-repart&lt;/a&gt; を追加&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2024年12月20日 (金) 10:37時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;1行目:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;1行目:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Arch の入手とインストール]]&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Arch の入手とインストール]]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[en:Systemd-repart]]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{man|8|systemd-repart}} は [[パーティショニング#GUID Partition Table|GUID Partition Tables (GPT)]] を操作するツールです。&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{man|8|systemd-repart}} は [[パーティショニング#GUID Partition Table|GUID Partition Tables (GPT)]] を操作するツールです。&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key bnbest_wiki:diff:1.41:old-39371:rev-39372:wikidiff2=table:1.14.1:bc2a06be --&gt;
&lt;/table&gt;</summary>
		<author><name>Kusanaginoturugi</name></author>
	</entry>
	<entry>
		<id>https://wiki.archlinux.jp/index.php?title=Systemd-repart&amp;diff=39371&amp;oldid=prev</id>
		<title>Kusanaginoturugi: 訳出</title>
		<link rel="alternate" type="text/html" href="https://wiki.archlinux.jp/index.php?title=Systemd-repart&amp;diff=39371&amp;oldid=prev"/>
		<updated>2024-12-20T01:28:53Z</updated>

		<summary type="html">&lt;p&gt;訳出&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Arch の入手とインストール]]&lt;br /&gt;
{{man|8|systemd-repart}} は [[パーティショニング#GUID Partition Table|GUID Partition Tables (GPT)]] を操作するツールです。&lt;br /&gt;
&lt;br /&gt;
== インストール ==&lt;br /&gt;
&lt;br /&gt;
systemd-repart は [[systemd]] の一部です。また、Arch Linux のインストール ISO にも含まれています。&lt;br /&gt;
&lt;br /&gt;
== 使用方法 ==&lt;br /&gt;
&lt;br /&gt;
=== Arch Linux のインストール中に ===&lt;br /&gt;
&lt;br /&gt;
systemd-repart は Arch Linux のインストールプロセス中に必要なパーティションを作成するために使用できます。以下の手順に従ってパーティションを設定してください。&lt;br /&gt;
&lt;br /&gt;
まず、必要な {{man|5|repart.d}} 設定ファイルを作成します。以下の例はパーティションを定義する方法を示しています。特定の設定に必要に応じてパラメータを調整してください。&lt;br /&gt;
&lt;br /&gt;
repart 設定ファイルのディレクトリを作成します:&lt;br /&gt;
&lt;br /&gt;
 # mkdir /etc/repart.d&lt;br /&gt;
&lt;br /&gt;
次に、各パーティションの設定ファイルを作成します:&lt;br /&gt;
&lt;br /&gt;
{{hc|/etc/repart.d/00-esp.conf|2=&lt;br /&gt;
[Partition]&lt;br /&gt;
Type=esp&lt;br /&gt;
SizeMinBytes=1G&lt;br /&gt;
SizeMaxBytes=1G&lt;br /&gt;
Format=vfat&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{hc|/etc/repart.d/10-root.conf|2=&lt;br /&gt;
[Partition]&lt;br /&gt;
Type=root&lt;br /&gt;
SizeMinBytes=23G&lt;br /&gt;
Encrypt=tpm2&lt;br /&gt;
Format=btrfs&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{hc|/etc/repart.d/30-swap.conf|2=&lt;br /&gt;
[Partition]&lt;br /&gt;
Type=swap&lt;br /&gt;
SizeMinBytes=4G&lt;br /&gt;
SizeMaxBytes=4G&lt;br /&gt;
Encrypt=tpm2&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{hc|/etc/repart.d/50-home.conf|2=&lt;br /&gt;
[Partition]&lt;br /&gt;
Type=home&lt;br /&gt;
Format=btrfs&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Note|{{ic|1=Encrypt=tpm2}} オプションは、システムに互換性のある [[TPM]] (Trusted Platform Module) が存在する場合にのみ使用できます。TPM がない場合は、このオプションを省略するか、別の暗号化方法を使用できます。}}&lt;br /&gt;
&lt;br /&gt;
設定ファイルを作成した後、提案された変更を確認するには以下を実行します:&lt;br /&gt;
&lt;br /&gt;
 # systemd-repart --empty=allow /dev/&amp;#039;&amp;#039;disk&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{Tip|{{ic|1=--empty=allow}} を使用すると、存在しない場合に [[パーティショニング#GUID Partition Table|GPT]] パーティションテーブルを自動的に作成します。詳細は {{man|8|systemd-repart|OPTIONS}} を参照してください。}}&lt;br /&gt;
&lt;br /&gt;
出力が期待通りであれば、以下を実行して変更を適用できます:&lt;br /&gt;
&lt;br /&gt;
 # systemd-repart --dry-run=no --empty=allow /dev/&amp;#039;&amp;#039;disk&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
このコマンドは、設定ファイルに指定された通りのパーティションを作成し、必要に応じて自動的に暗号化および/またはフォーマットします。この操作は既存のデータを上書きする可能性があるため、進行する前に重要なデータをバックアップしてください。&lt;br /&gt;
&lt;br /&gt;
より高度な設定については、{{man|5|repart.d}} を参照してください。&lt;br /&gt;
&lt;br /&gt;
その後、必要なパーティションをマウントして、インストールの残りの部分を続けてください:&lt;br /&gt;
&lt;br /&gt;
 # cryptsetup open /dev/disk/by-partlabel/&amp;#039;&amp;#039;root-x86-64&amp;#039;&amp;#039; root&lt;br /&gt;
 # mount /dev/mapper/root /mnt&lt;br /&gt;
 # mount -m /dev/disk/by-partlabel/esp /mnt/boot&lt;br /&gt;
&lt;br /&gt;
{{Note|上記の例では、どのパーティションも [[fstab]] や [[crypttab]] にエントリーを必要としません。これらは [[Systemd#GPT パーティションの自動マウント]] を使用する場合に自動的に復号化およびマウントされます。スワップパーティションも自動的に設定されます（つまり、{{ic|mkswap}} を実行する必要はありません）。}}&lt;/div&gt;</summary>
		<author><name>Kusanaginoturugi</name></author>
	</entry>
</feed>