Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

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.

share|improve this answer
    
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 at 21:03
    
You should be able to use label{ mylabel } for the partition you are interested in labeling. –  jkt123 Apr 13 at 11:57
    
In the trusty the command: "ufw ufw/allow_known_ports multiselect SSH" do not work... –  Boaventura Apr 23 at 13:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.