Debian Auto Install

Pagina: 1
Acties:

  • ControlFreak
  • Registratie: Januari 2004
  • Laatst online: 04-01 22:43
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?

  • ControlFreak
  • Registratie: Januari 2004
  • Laatst online: 04-01 22:43
Wat ik dus in ieder geval nodig heb is waar de cijfertjes (bijvoorbeeld 500 10000 1000000000 bij de root mount point)

  • ControlFreak
  • Registratie: Januari 2004
  • Laatst online: 04-01 22:43
oke ik heb uitgevonden waar de cijfers voor staan.
eerste cijfer is minimale grootte
middelste is prioriteit
en laatste is maximale grootte

  • Pim.
  • Registratie: Mei 2001
  • Laatst online: 16-08-2025

Pim.

Aut viam inveniam, aut faciam

Als je binnen een half uur twee reply's gaat schrijven pas dan gewoon even je topicstart aan ;)

"The trouble with quotes from the Internet is that you can never know if they are genuine." - Elvis Presley | Niet met me eens ? DM ME


  • ControlFreak
  • Registratie: Januari 2004
  • Laatst online: 04-01 22:43
@PIM je hebt gelijk. Zal er vortaan even aan denken.


Update: Ik kan met $lvmok{ } wel een LVM Volume aanmaken door bijvoorbeeld
1024 50 1024 ext3 \
$lvmok{ } $primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ /home } \
. \

te gebruiken. Alleen maakt hij alleen de LVM Volume aan en niet de mount point /HOME in die LVM Volume. Kan iemand mij hierin helpen?

[ Voor 4% gewijzigd door ControlFreak op 12-06-2007 11:48 ]