Package: partman-auto Version: 148 Severity: wishlist Tags: patch User: de...@kali.org Usertags: origin-kali
The size of the root partition has not been reevaluated since 2014 but the size of typical installations has grown in the mean time. When you install a Debian system with many packages (such as in many live images) and when you select a recipe with multiple partitions, you might find that / is too small to contain all the applications/data. We have this problem in Kali where our standard installation is about 8Gb. And nowadays a typical desktop dist-upgrade will require 2 Gb in /var too. Thus I'm suggesting to increase the size both of the root partition and of the /var partition. Please find attached a suggested patch which increases / to 12Gb in all recipes and /var to 2.5Gb in the multi recipe. The net result is that the multi and home recipes will not be proposed when you have disks smaller than 18Gb roughly which sounds about right. Anyone who wants multiple partitions on disks smaller than that should do it manually based on their own analysis. Let me know if you are happy with this change and I can commit it (after the buster release I assume). This patch is in use in Kali. -- System Information: Debian Release: 10.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled -- Raphaël Hertzog ◈ Debian Developer Support Debian LTS: https://www.freexian.com/services/debian-lts.html Learn to master Debian: https://debian-handbook.info/get/
--- a/recipes-amd64-efi/home +++ b/recipes-amd64-efi/home @@ -14,7 +14,7 @@ partman-auto/text/home_scheme :: filesystem{ ext2 } mountpoint{ /boot } . -1500 6000 30000 $default_filesystem +12000 6000 30000 $default_filesystem $lvmok{ } method{ format } format{ } diff --git a/recipes-amd64-efi/multi b/recipes-amd64-efi/multi index 78639ed..3b74b0a 100644 --- a/recipes-amd64-efi/multi +++ b/recipes-amd64-efi/multi @@ -14,7 +14,7 @@ partman-auto/text/multi_scheme :: filesystem{ ext2 } mountpoint{ /boot } . -2000 3500 25000 $default_filesystem +12000 3500 25000 $default_filesystem $lvmok{ } method{ format } format{ } @@ -22,7 +22,7 @@ partman-auto/text/multi_scheme :: $default_filesystem{ } mountpoint{ / } . -1000 1500 10000 $default_filesystem +2500 1500 10000 $default_filesystem $lvmok{ } method{ format } format{ } diff --git a/recipes-armhf/home b/recipes-armhf/home index 9362612..9a69ff2 100644 --- a/recipes-armhf/home +++ b/recipes-armhf/home @@ -9,7 +9,7 @@ partman-auto/text/home_scheme :: filesystem{ ext2 } mountpoint{ /boot } . -1500 6000 20000 $default_filesystem +12000 6000 20000 $default_filesystem $lvmok{ } $primary{ } method{ format } diff --git a/recipes-armhf/multi b/recipes-armhf/multi index 690676a..9f58371 100644 --- a/recipes-armhf/multi +++ b/recipes-armhf/multi @@ -9,7 +9,7 @@ partman-auto/text/multi_scheme :: filesystem{ ext2 } mountpoint{ /boot } . -2000 3500 25000 $default_filesystem +12000 3500 25000 $default_filesystem $lvmok{ } $primary{ } method{ format } @@ -18,7 +18,7 @@ partman-auto/text/multi_scheme :: $default_filesystem{ } mountpoint{ / } . -1000 1500 10000 $default_filesystem +2500 1500 10000 $default_filesystem $lvmok{ } method{ format } format{ } diff --git a/recipes/home b/recipes/home index 6abd95f..2603759 100644 --- a/recipes/home +++ b/recipes/home @@ -13,7 +13,7 @@ partman-auto/text/home_scheme :: filesystem{ ext2 } mountpoint{ /boot } . -1500 6000 30000 $default_filesystem +12000 6000 30000 $default_filesystem $lvmok{ } method{ format } format{ } diff --git a/recipes/multi b/recipes/multi index b7b7f55..5e2ea3c 100644 --- a/recipes/multi +++ b/recipes/multi @@ -13,7 +13,7 @@ partman-auto/text/multi_scheme :: filesystem{ ext2 } mountpoint{ /boot } . -2000 3500 25000 $default_filesystem +12000 3500 25000 $default_filesystem $lvmok{ } method{ format } format{ } @@ -21,7 +21,7 @@ partman-auto/text/multi_scheme :: $default_filesystem{ } mountpoint{ / } . -1000 1500 10000 $default_filesystem +2500 1500 10000 $default_filesystem $lvmok{ } method{ format } format{ }