diff options
| author | xengineering <me@xengineering.eu> | 2026-01-10 20:24:00 +0100 |
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2026-01-10 20:24:00 +0100 |
| commit | 865086a8b7bbfc34b0015e497a99cee589441cb9 (patch) | |
| tree | 38d64b418f2c7c99cba3ee0107333dc0fe3bcb3b /content | |
| parent | e3a12478047af1a1b7fb92ba4eda4d1058d999b7 (diff) | |
| download | website-865086a8b7bbfc34b0015e497a99cee589441cb9.tar website-865086a8b7bbfc34b0015e497a99cee589441cb9.tar.zst website-865086a8b7bbfc34b0015e497a99cee589441cb9.zip | |
articles: arch-installation: Fix storage extension
This fixes a regression. When switching to GPT partition tables it was
ignored that GPT has a second header at the end of the storage device.
Thus when copying to a larger device the header is not at the end
anymore. This should not be the case and makes it impossible to extend
the second partition.
With `sgdisk` the header can be moved to the end which fixes the
regression.
Diffstat (limited to 'content')
| -rw-r--r-- | content/articles/arch-installation.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/articles/arch-installation.md b/content/articles/arch-installation.md index 9b1ef89..ae54ef3 100644 --- a/content/articles/arch-installation.md +++ b/content/articles/arch-installation.md @@ -131,6 +131,7 @@ pacstrap -K /mnt \ linux \ linux-firmware \ parted \ + gptfdisk \ btrfs-progs \ iwd \ vi \ @@ -237,6 +238,7 @@ and `ROOT` BTRFS partition can be extended to the full possible size. This assumes the partitions are on the block device `/dev/sdb`. ``` +sgdisk --move-second-header /dev/sdb parted /dev/sdb --script resizepart 2 100% cryptsetup resize root btrfs filesystem resize max / |
