[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#285846: partman: can't preseed a partial-disk install



Package: partman
Severity: normal


After reading over all the documentation and examples I can find and
running numerous test installs, it does not seem to be possible to
create an expert-recipe for use in a preseed file which only partitions
a portion of my disk. For example, I want to create a 1G / partition, a
256MB swap and leave the rest of the disk unpartitioned for later use.
I used the following recipe which, from my reading of the docs, should
do that:

d-i  partman-auto/expert_recipe  string linuxcoe-custom :: 1000 10000
1000 ext3 $primary{ } $bootable{ } method{ format } format{ }
use_filesystem{ } filesystem{ ext3 } mountpoint{ / } . 256 200 256
linux-swap $primary{ } method{ swap } format{ } .


When using this recipe the install stops with a "No root file system is
defined.  Please correct this from the partitioning menu." message (of
course its not possible to do that with a preseeded install since I
can't go back).  If I change the / max_size to be a very large value the
(otherwise identical) recipe works fine, growing the partition to fill the disk.

So, is it possible to create a recipe which partitions only part of the
disk, and if so could you please provide an example.

FYI, I'm using the RC2 installer on i386.


Thanks.


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)



Reply to: