
Tengo el script de automatización preconfigurado de Debian. Aquí hay reglas de partición con objetos punzantes para intercambio en mi archivo preestablecido:
!d-i partman-auto/expert_recipe string \
boot-crypto :: \
512 512 512 ext2 \
$primary{ } \
$bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext2 } \
mountpoint{ /boot } \
. \
1000 20 2000 ext4 \
$defaultignore{ } \
$lvmok{ } lv_name{ opt } \
in_vg { kaktusvolumegroup } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /opt } \
. \
1000 20 2000 ext4 \
$defaultignore{ } \
$lvmok{ } lv_name{ home } \
in_vg { kaktusvolumegroup } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /home } \
. \
8000 80 8000 ext4 \
$defaultignore{ } \
$primary{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
.
# 1024 60 1024 swap \
# $defaultignore{ } \
# method{ swap } format{ } \
# .
¿Cómo responder a esa pregunta de sí\no y no escribir?
Respuesta1
La solución es agregar al archivo preseed:
d-i partman-basicfilesystems/no_swap boolean false