preseeding partitions does not work correct
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-partitioning (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: partman-
We work with the Preseed-System to install ubuntu jaunty, and want to upgrade to lucid, soon. our preseed (see below for the partman options) works fine on jaunty, but lucid says the partitioning is invalid (too many primary partitions?). If i say "continue"
and "no" on returning to the partitioning-menu, it installs with the right partition layout, as given by the preseed file.
### Partitioning
# If the system has free space you can choose to only partition that space.
# Alternatives: custom, some_device, some_device_crypto, some_device_lvm.
d-i partman-
# Alternatively, you can specify a disk to partition. The device name must
# be given in traditional non-devfs format.
# For example, to use the first SCSI/SATA hard disk:
d-i partman-auto/disk string /dev/sda
# Note: If you want to use whatever disk is available, no matter
# what its device name, comment the line above out. This will only work if
# the system only has one disk.
# 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 regular
# 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-
# And the same goes for the confirmation to write the lvm partitions.
#d-i partman-lvm/confirm boolean true
# You can choose from any of the predefined partitioning recipes.
# atomic: All files in one partition (recommended for new users)
# home: Separate /home partition
# multi: Separate /home, /usr, /var, and /tmp partitions
# small_disk (alpha architecture only):
# Small-disk (< 1GB) partitioning scheme
d-i partman-
d-i partman/
d-i partman/
d-i partman/confirm boolean true
d-i partman-lvm/confirm boolean true
# Or provide a recipe of your own...
# The recipe format is documented in the file devel/partman-
# If you have a way to get a recipe file into the d-i environment, you can
# just point at it.
#d-i partman-
# 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-
boot-root :: \
100 200 200 ext3 \
. \
500 200000 20000 ext3 \
. \
12000 200000 -1 ext3 \
. \
64 512 150% linux-swap \
.
# This makes partman automatically partition without confirmation, provided
# that you told it what to do using one of the methods above.
d-i partman/
d-i partman/
d-i partman/confirm boolean true
Changed in partman-partitioning (Ubuntu): | |
status: | New → Invalid |
can be closed, problem was lucid is less tolerant, if the second size value is too large for the disk.