Debian preseed

Help with issues regarding installation of Debian

Debian preseed

Postby mquiroga » 2018-12-10 16:21

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
mquiroga
 
Posts: 8
Joined: 2017-12-17 20:56

Return to Installation

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable