From 05f50caacb4b79542ea10e67bce19db074b0e9b7 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Tue, 10 Feb 2026 16:31:22 +0100 Subject: [PATCH 1/2] mkosi: Move generic disk partition before root partition Otherwise we can't grow the root partition. --- mkosi/mkosi.repart/{20-disk.conf => 10-disk.conf} | 0 mkosi/mkosi.repart/{10-root.conf => 20-root.conf} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename mkosi/mkosi.repart/{20-disk.conf => 10-disk.conf} (100%) rename mkosi/mkosi.repart/{10-root.conf => 20-root.conf} (100%) diff --git a/mkosi/mkosi.repart/20-disk.conf b/mkosi/mkosi.repart/10-disk.conf similarity index 100% rename from mkosi/mkosi.repart/20-disk.conf rename to mkosi/mkosi.repart/10-disk.conf diff --git a/mkosi/mkosi.repart/10-root.conf b/mkosi/mkosi.repart/20-root.conf similarity index 100% rename from mkosi/mkosi.repart/10-root.conf rename to mkosi/mkosi.repart/20-root.conf From 7f33ee8bb42a905f5c71bc0b49e946b527b3135a Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Tue, 10 Feb 2026 16:32:05 +0100 Subject: [PATCH 2/2] mkosi: Grow the root partition on boot Let's make sure the root partition takes up all the allocated space on boot. --- mkosi.extra/usr/lib/repart.d/root.conf | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 mkosi.extra/usr/lib/repart.d/root.conf diff --git a/mkosi.extra/usr/lib/repart.d/root.conf b/mkosi.extra/usr/lib/repart.d/root.conf new file mode 100644 index 0000000000..1aadd2dc70 --- /dev/null +++ b/mkosi.extra/usr/lib/repart.d/root.conf @@ -0,0 +1,2 @@ +[Partition] +Type=root