2

I want to make a unattended installation of the Ubunbu Server 12.04 LTS using preseed.

My partition layout needs to create a partition without formatting and mounting it.

How can I do that?

1 Answer 1

1

You'll want to use a partman-auto/expert_recipe, but change the attributes for the partition you don't want to have formatted to method{ keep }. You need to remove format{ }, filesystem{ }, and use_filesystem{ }.

You will also want to add the following lines to your preseed file:

partman-basicfilesystems partman-basicfilesystems/no_mount_point boolean false
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true

Here's a link to the example preseed file for Ubuntu 12.04. Example configuration is included there for several types of setups.

3
  • Thanks! I have found this params(specially no_mount_point) and the installation goes fine, although I use the filesystem{} and use_filesystem as well. Now I want to labeled the partition that is not mouted/formated in the unattended way. Do you know how
    – Boaventura
    Apr 11, 2014 at 21:03
  • You should be able to use label{ mylabel } for the partition you are interested in labeling.
    – jkt123
    Apr 13, 2014 at 11:57
  • In the trusty the command: "ufw ufw/allow_known_ports multiselect SSH" do not work...
    – Boaventura
    Apr 23, 2014 at 13:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .