Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Debian preseed

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
mquiroga
Posts: 8
Joined: 2017-12-17 20:56

Debian preseed

#1 Post by mquiroga »

I'm trying to make an unattended debian stretch installation but I'm having troubles creating de root partition separated from swap.
This is how I need the partitions (swap partition is added after installation):

/dev/vda1 * 2048 20971519 20969472 10G 83 Linux

/dev/vdb1 2048 4194303 4192256 2G 82 Linux swap / Solaris

But I'm getting an 9GB partition for / and 1GB for swap in /dev/vda.

This are the options that I have on my preseed.cfg

d-i partman-basicfilesystems/no_mount_point boolean false
d-i partman-basicfilesystems/no_swap false
d-i partman-auto/disk string /dev/vda
d-i partman-auto/method string regular
d-i partman-auto/expert_recipe string
myroot :: 1000 50 -1 ext4 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
. \
d-i partman-auto/choose_recipe select myroot
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true

Post Reply