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

Problem with preseed partitioning



Hi guru's,

I am running into a problem with a system that I want to install via a preseed config file.
All goes well, except the partitioning part. The system I want to install is a HP Proliant DL380 G5 with SmartArray.
For some reason, the recipe I've created isn't used; the installer falls back to the standard partitioning scheme.

I must say, I am installing Ubuntu, but since Ubuntu is Debian based, and the Ubuntu maillinglists can't answer my problem, I am trying my luck here.

The partitioning part of the preseed file is shown below:

d-i partman-auto/method string regular
d-i partman-auto/disk /dev/cciss/c0d0
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman-auto/expert_recipe string \
                   boot-root ::                                         \
                        2048 50 2048 ext3                               \
                        $primary{ }                                     \
                        method{ format } format{ }                      \
                        use_filesystem{ } filesystem{ ext3 }            \
                        mountpoint{ / }                                 \
                        .                                               \
                        2048 50 2048 linux-swap                         \
                        $primary{ } method{ swap } format{ }            \
                        .                                               \
                        4096 50 4096 ext3                               \
                        method{ format } format{ }                      \
                        use_filesystem{ } filesystem{ ext3 }            \
                        mountpoint{ /usr }                              \
                        .                                               \
                        4096 50 4096 ext3                               \
                        method{ format } format{ }                      \
                        use_filesystem{ } filesystem{ ext3 }            \
                        mountpoint{ /var }                              \
                        .                                               \
                        2048 50 2048 ext3                               \
                        method{ format } format{ }                      \
                        use_filesystem{ } filesystem{ ext3 }            \
                        mountpoint{ /tmp }                              \
                        .                                               \
                        4096 50 1000000000 ext3                         \
                        method{ format } format{ }                      \
                        use_filesystem{ } filesystem{ ext3 }            \
                        mountpoint{ /data }                             \
                        .
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition \
       select Finish partitioning and write changes to disk
d-i partman/confirm boolean true

Can someone shed a light on this and help me out what I am doing wrong or forgetting ?

cheers,
Andy


Reply to: