Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to use the expert_reciepe to have aligned partitions on a High capacity disk with 4096b block size.

ubiquity    partman/alignment select optimal
ubiquity    partman-auto/disk string /dev/sdb
ubiquity    partman-auto/choose_recipe select myboot-part
ubiquity    partman-auto/expert_recipe string             \
      myboot-part ::                                            \
              10240 1049 10240 ext4                                  \
                      $primary{ } $bootable{ }                \
                      method{ format }     format{ }          \
                      use_filesystem{ } filesystem{ ext4 }    \
                      mountpoint{ / }                         \
              .                                               \
              16384 8172 16384 linux-swap                         \
                      $primary{ } method{ swap }                 \
              .                                               \
              30720 10240 30720 ext4                          \
                      $primary{ } method{ format }     format{ }               \
                      use_filesystem{ } filesystem{ ext4 }    \
                      mountpoint{ /backup_fs }                     \
              .                                               \
              10240 10240 10000000 ext4                           \
                      $primary{ } method{ format }     format{ }               \
                      use_filesystem{ } filesystem{ ext4 }    \
                      mountpoint{ /home }                     \

And I was expecting the preseed partman/alignment select optimal should have allowed me to have aligned partitions on the disk. But the partitions are not aligned.

Alternatively , I use a script to partition the disk to have aligned partitions in it. And then run the Ubiquity with the preseed file to make use the existing partitions. The partitions I created are for /, /home and swap. But I don't know how to achieve this using a Preseed file.

I've tried reading through guides for preseeding and customization, but I did not understand how and where to modify the pressed options to make use of the existing partitions on the disk.

share|improve this question

closed as too localized by Luis Alvarado Mar 14 '13 at 14:54

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

This question appears to be abandoned and unanswered, could you perhaps add more detail to your question? If this question no longer applies then you can either delete it or answer it yourself if you've solved the problem. Thanks! – Eric Carvalho Mar 14 '13 at 13:43