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

Problem with preseed



Hi,

I've been trying to write a preseed config file from some time. It's nearly ready. The last obstacle is partitioning. Autoconfig fails in two places:
- first I have to select and confirm  'Guided - use entire disk and set up LVM',
- later also 'Finish partitioning and write changes to disk',
It happens despite setting both reply in the config file. Please look at the partitioning paragraph from my config file below. Any idea what I'm doing wrong? I compare my file with various availably in internet receipts and cannot find anything wrong. 

Thanks,
Wawrzek

# PARTITIONS
d-i partman-auto/disk                 string /dev/xvda
d-i partman-auto/method                string lvm
d-i partman-lvm/device_remove_lvm    boolean true
d-i partman-md/device_remove_md        boolean true
d-i partman-lvm/confirm                boolean true
d-i partman-auto/init_automatically_partition \
    select Guided - use entire disk and set up LVM

d-i partman-auto/expert_recipe string   \
    boot-root ::                        \
        50 300 300 ext3           \
            $primary{ }           \
            $bootable{ }          \
            method{ format }      \
            format{ }             \
            use_filesystem{ }     \
            filesystem{ ext2 }    \
            mountpoint{ /boot }   \
            .\
        256 512 100% linux-swap    \
            $lvmok{ }             \
            method{ swap }        \
            format{ }             \
            .\
        5000 10000 10000 ext3     \
            $lvmok{ }             \
            method{ format }      \
            format{ }             \
            use_filesystem{ }     \
            filesystem{ ext3 }    \
            mountpoint{ / }       \
            .

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/confirm_nooverwrite boolean true

d-i partman/mount_style select traditional

--
Wawrzyniec (Wawrzek) Niewodniczański - (niewod @ LinkedIn)
System Administrator - Engineering Services Team (XenServer)
Citrix Systems, Building 101, Cambridge Science Park, CB4 0FY, Cambridge
PhD in Quantum Chemistry, MSc in Molecular EngineeringM

Reply to: