Hallo,
Ik ben bezig met een preceed file voor een debian auto install... Ik gebruik Debian Etch (4.0)
Nu kom ik echter stil te staan bij de sectie partitioning.
Ik wil namelijk graag een LVM volume hebben met een aantal mount points alleen kan ik daarover eigenlijk geen informatie vinden bij debian.
de standaard:
# If the system has free space you can choose to only partition that space.
# Note: this must be preseeded with a localized (translated) value.
#d-i partman-auto/init_automatically_partition \
# select Guided - use the largest continuous free space
# Alternatively, you can specify a disk to partition. The device name
# can be given in either devfs or traditional non-devfs format.
# For example, to use the first disk:
d-i partman-auto/disk string /dev/discs/disc0/disc
# In addition, you'll need to specify the method to use.
# The presently available methods are: "regular", "lvm" and "crypto"
d-i partman-auto/method string lvm
# 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-auto/purge_lvm_from_device boolean true
# And the same goes for the confirmation to write the lvm partitions.
d-i partman-lvm/confirm boolean true
# 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 :: \
40 50 100 ext3 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ /boot } \
. \
500 10000 1000000000 ext3 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ / } \
. \
64 512 300% linux-swap \
method{ swap } format{ } \
.
# This makes partman automatically partition without confirmation.
#d-i partman/confirm_write_new_label boolean true
#d-i partman/choose_partition \
# select Finish partitioning and write changes to disk
#d-i partman/confirm boolean true
en ik wil daar graag van maken:
/tmp --fstype ext3 --vgname=vgnaam --name=tmp --size=2048
/home --fstype ext3 --vgname=vgnaam --name=home --size=1024
/ --fstype ext3 --vgname=vgnaam --name=root --size=4096
swap --fstype swap --vgname=vgnaam --name=swap --size=4096
/var --fstype ext3 --vgname=vgnaam --name=var --size=2048
kan iemand helpen?
Ik ben bezig met een preceed file voor een debian auto install... Ik gebruik Debian Etch (4.0)
Nu kom ik echter stil te staan bij de sectie partitioning.
Ik wil namelijk graag een LVM volume hebben met een aantal mount points alleen kan ik daarover eigenlijk geen informatie vinden bij debian.
de standaard:
# If the system has free space you can choose to only partition that space.
# Note: this must be preseeded with a localized (translated) value.
#d-i partman-auto/init_automatically_partition \
# select Guided - use the largest continuous free space
# Alternatively, you can specify a disk to partition. The device name
# can be given in either devfs or traditional non-devfs format.
# For example, to use the first disk:
d-i partman-auto/disk string /dev/discs/disc0/disc
# In addition, you'll need to specify the method to use.
# The presently available methods are: "regular", "lvm" and "crypto"
d-i partman-auto/method string lvm
# 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-auto/purge_lvm_from_device boolean true
# And the same goes for the confirmation to write the lvm partitions.
d-i partman-lvm/confirm boolean true
# 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 :: \
40 50 100 ext3 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ /boot } \
. \
500 10000 1000000000 ext3 \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ / } \
. \
64 512 300% linux-swap \
method{ swap } format{ } \
.
# This makes partman automatically partition without confirmation.
#d-i partman/confirm_write_new_label boolean true
#d-i partman/choose_partition \
# select Finish partitioning and write changes to disk
#d-i partman/confirm boolean true
en ik wil daar graag van maken:
/tmp --fstype ext3 --vgname=vgnaam --name=tmp --size=2048
/home --fstype ext3 --vgname=vgnaam --name=home --size=1024
/ --fstype ext3 --vgname=vgnaam --name=root --size=4096
swap --fstype swap --vgname=vgnaam --name=swap --size=4096
/var --fstype ext3 --vgname=vgnaam --name=var --size=2048
kan iemand helpen?