Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Stuck at partman-auto step with preseeding

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
child
Posts: 12
Joined: 2010-07-17 17:13

Stuck at partman-auto step with preseeding

#1 Post by child »

I'm trying to succesfully do a preseeded debian installation, however it seems I can't set up partman right.

What I'd like:
Having a boot partition, and a huge encrypted one, which would contain inside all other partitions as logical volumes.

What I have:

Code: Select all

d-i partman-auto/method string crypto
d-i partman-auto/disk string /dev/sda
d-i partman-auto-lvm/new_vg_name string vg
d-i partman-auto-lvm/no_boot boolean true
d-i partman-auto-lvm/guided_size string max
d-i partman-lvm/confirm boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-basicfilesystems/no_swap boolean false
d-i partman-md/device_remove_md boolean true
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman-md/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman-md/confirm_nooverwrite boolean true
d-i partman-basicmethods/method_only boolean false
d-i partman-auto/expert_recipe string custom :: \
100 1000 1024 ext4 \
        $defaultignore{}\
        $primary{}\
        $bootable{}\
        method{ format }\
        format{ }\
        use_filesystem{ }\
        filesystem{ ext4 }\
        options/noatime{ noatime } .\
\
100 1000 1000000000 ext4\
        $defaultignore{ }\
        $primary{ }\
        method{ crypto }\
        device{ /dev/sda }\
        vg_name{ vg } .\
\
96 1500 100% linux-swap\
        $lvmok{ }\
        in_vg{ vg }\
        lv_name{ swap }\
        method{ swap }\
        format{ } .\
\
96 1500  5120 ext4\
        $lvmok{ }\
        in_vg{ vg }\
        lv_name{ root }\
        method{ format }\
        format{ }\
        use_filesystem{ }\
        filesystem{ ext4 }\
        mountpoint{ / }\
        options/noatime{ noatime } .\
\
96 1500 30720 ext4\
        $lvmok{ }\
        in_vg{ vg }\
        lv_name{ usr }\
        method{ format }\
        format{ }\
        use_filesystem{ }\
        filesystem{ ext4 }\
        mountpoint{ /usr }\
        options/noatime{ noatime } .\
\
96 2000 1000000000 ext4\
        $lvmok{ }\
        in_vg{ vg }\
        lv_name{ home }\
        method{ format }\
        format{ }\
        use_filesystem{ }\
        filesystem{ ext4 }\
        mountpoint{ /home }\
        options/noatime{ noatime } .
My main sources from which i tried putting it together are the example preseed file, a wiki and the partman-auto-recipe.txt from partman.

Post Reply