Preseed y particiones

Estoy configurando un preseed para instalar Debian. todo va bien hasta que llega al punto en el que tiene que hacer las particiones falla.
No hay sistema de ficheros raíz. No se definió un sistema de ficheros raiz
La parte de las particiones es esta. No se exactamente que es lo que tengo que poner [buuuaaaa] [buuuaaaa]
### Partitioning
## Partitioning example
# If the system has free space you can choose to only partition that space.
# This is only honoured if partman-auto/method (below) is not set.
#d-i partman-auto/init_automatically_partition select biggest_free

# Alternatively, you may specify a disk to partition. If the system has only
# one disk the installer will default to using that, but otherwise the device
# name must be given in traditional, non-devfs format (so e.g. /dev/sda
# and not e.g. /dev/discs/disc0/disc).
# For example, to use the first SCSI/SATA hard disk:
d-i partman-auto/disk string /dev/sda
# In addition, you'll need to specify the method to use.
# The presently available methods are:
# - regular: use the usual partition types for your architecture
# - lvm: use LVM to partition the disk
# - crypto: use LVM within an encrypted partition

#d-i partman-auto/method string lvm 10 GB
d-i partman-auto/method string regular

# You can define the amount of space that will be used for the LVM volume
# group. It can either be a size with its unit (eg. 20 GB), a percentage of
# free space or the 'max' keyword.
d-i partman-auto-lvm/guided_size string max

# If one of the disks that are going to be automatically partitioned
# contains an old LVM configuration, the user will normally receive a
# warning. This can be preseeded away...
d-i partman-lvm/device_remove_lvm boolean true
# The same applies to pre-existing software RAID array:
d-i partman-md/device_remove_md boolean true
# And the same goes for the confirmation to write the lvm partitions.
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true

# You can choose one of the three predefined partitioning recipes:
# - atomic: all files in one partition
# - home: separate /home partition
# - multi: separate /home, /var, and /tmp partitions
d-i partman-auto/choose_recipe select boot-root

# Or provide a recipe of your own...
# If you have a way to get a recipe file into the d-i environment, you can
# just point at it.
#d-i partman-auto/expert_recipe_file string /hd-media/recipe

# If not, you can put an entire recipe into the preconfiguration file in one
# (logical) line. This example creates a small /boot partition, suitable
# swap, and uses the rest of the space for the root partition:
d-i partman-auto/expert_recipe string \
#
boot-root :: \
500 500 500 ext4 \
\$defaultignore{ } \
method{ format } \
format{ } \
use_filesystem{ } \
filesystem{ ext2 } \
mountpoint{ /boot } \
. \
1000 1000 1000 \$default_filesystem \
\$lvmok{ } \
method{ format } \
format{ } \
use_filesystem{ } \
\$default_filesystem{ } \
mountpoint{ / } \
. \
2500 2500 2500 \$default_filesystem \
\$lvmok{ } \
method{ format } \
format{ } \
use_filesystem{ } \
\$default_filesystem{ } \
mountpoint{ /var } \
. \
\
1000 1000 1000 \$default_filesystem \
\$lvmok{ } \
method{ format } \
format{ } \
use_filesystem{ } \
\$default_filesystem{ } \
mountpoint{ /tmp } \
.

\
\
2000 2000 2000 \$default_filesystem \
\$lvmok{ } \
method{ format } \
format{ } \
use_filesystem{ } \
\$default_filesystem{ } \
mountpoint{ /usr } \
.
\
1000 1000 1000 \$default_filesystem \
\$lvmok{ } \
method{ format } \
format{ } \
use_filesystem{ } \
\$default_filesystem{ } \
mountpoint{ /var/log } \
.

\
127 127 127 \$default_filesystem \
\$lvmok{ } \
method{ format } \
format{ } \
use_filesystem{ } \
\$default_filesystem{ } \
mountpoint{ /var/log/audit } \
.

1000 1000 1000 \$default_filesystem \
\$lvmok{ } \
method{ format } \
format{ } \
use_filesystem{ } \
\$default_filesystem{ } \
mountpoint{ /home } \
.

# The full recipe format is documented in the file partman-auto-recipe.txt
# included in the 'debian-installer' package or available from D-I source
# repository. This also documents how to specify settings such as file
# system labels, volume group names and which physical devices to include
# in a volume group.

## Partitioning for EFI
# If your system needs an EFI partition you could add something like
# this to the recipe above, as the first element in the recipe:
# 538 538 1075 free \
# $iflabel{ gpt } \
# $reusemethod{ } \
# method{ efi } \
# format{ } \
# . \
#
# The fragment above is for the amd64 architecture; the details may be
# different on other architectures. The 'partman-auto' package in the
# D-I source repository may have an example you can follow.

# This makes partman automatically partition without confirmation, provided
# that you told it what to do using one of the methods above.
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
@Unreal McCoy
Hola.
Gracias por tu respuesta :) :)

Justo esos enlaces ya los vi. No me sirvieron de mucho. Conseguí avanzar algo mas. Ahora si que crea las particiones, pero hay dos que no consigo crear cawento cawento . Son las particiones /var/log/audit y /home.
Dejo la parte de las particiones por si le puede servir a alguien.

d-i partman-auto/expert_recipe string \
boot-root :: \

500 500 100 ext4 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /boot } \
. \

900 1000 100 ext4 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
. \

2000 2500 100 ext4 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /var } \
. \

900 1000 100 ext4 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /tmp } \
. \

2000 2500 100 ext4 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /usr } \
. \

900 1000 100 ext4 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /var/log } \
. \

120 127 127 ext4 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /var/log/audit } \
. \

900 900 100 ext4 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /home } \
options/nodev{ nodev } \
options/noexec{ noexec } \
options/nosuid{ nosuid } \

.



Gracias.
No conozco nada del preseed, pero me llama la atención que para montar todas las carpetas se llame a la función format, quizás aquí no tenga el mismo sentido que un formateado, no sé, si es en la misma unidad con una única vez debería ser suficiente, no?

d-i partman-auto/expert_recipe string \
boot-root :: \

500 500 100 ext4 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /boot } \
. \

900 1000 100 ext4 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
. \

2000 2500 100 ext4 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /var } \
. \

900 1000 100 ext4 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /tmp } \
. \

2000 2500 100 ext4 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /usr } \
. \

900 1000 100 ext4 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /var/log } \
. \

120 127 127 ext4 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /var/log/audit } \
. \

900 900 100 ext4 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /home } \
options/nodev{ nodev } \
options/noexec{ noexec } \
options/nosuid{ nosuid } \

.
4 respuestas