Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2681

General Debian • Re: How does debian-installer set the swap size?

$
0
0
I found this post very useful: https://www.bishnet.net/tim/blog/2015/0 ... rt_recipe/
I can confirm that (for the swap) the percentage doesn't work:
1000 1020 10000 linux-swap is ok
1000 1020 100% linux-swap does not work: the swap partition will be 1 GB in size.

Example:
d-i partman-auto/choose_recipe select atomic
d-i partman-auto/expert_recipe string \
root :: \
1000 1020 10000 linux-swap \
$primary{ } \
method{ swap } format{ } \
. \
1000 1080 -1 ext4 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
.

Statistics: Posted by Antonio Rizzo — 2024-11-25 11:28



Viewing all articles
Browse latest Browse all 2681

Trending Articles