我正在尝试使用以下分区配方设置preseed安装(Ubuntu 12.04.03 64位),但它只是不工作,我不知道为什么.
请欧比万,你是我唯一的希望.
尺寸中的-1最初是1000000000,所以我尝试改为-1但是没有区别.
d-i partman-lvm/device_remove_lvm boolean true d-i partman-md/device_remove_md boolean true d-i partman-auto/purge_lvm_from_device boolean true d-i partman-auto/disk string /dev/sda /dev/sdb d-i partman-auto/method string raid d-i partman-auto-lvm/new_vg_name string vg_sys d-i partman-auto-lvm/guided_size string max d-i partman-auto/choose_recipe select raid-lvm d-i partman-auto/expert_recipe string \ raid-lvm :: \ 512 10 512 raid \ $primary{ } $lvmignore{ } $bootable{ } \ method{ raid } \ . \ 8192 20 -1 raid \ $primary{ } $lvmignore{ } \ method{ raid } \ . \ 1024 100 1024 ext4 \ $defaultignore $lvmok{ } lv_name{ root } \ method{ format } format{ } \ use_filesystem{ } filesystem{ ext4 } \ mountpoint{ / } \ . \ 4096 100 4096 linux-swap \ $defaultignore $lvmok{ } lv_name{ swap } \ method{ swap } format{ } \ . \ 1024 100 2048 ext4 \ $defaultignore $lvmok{ } lv_name{ tmp } \ method{ format } format{ } \ use_filesystem{ } filesystem{ ext4 } \ mountpoint{ /tmp } \ . \ 4096 100 8192 ext4 \ $defaultignore $lvmok{ } lv_name{ var } \ method{ format } format{ } \ use_filesystem{ } filesystem{ ext4 } \ mountpoint{ /var } \ . \ 2048 100 4096 ext4 \ $defaultignore $lvmok{ } lv_name{ usr } \ method{ format } format{ } \ use_filesystem{ } filesystem{ ext4 } \ mountpoint{ /usr } \ . \ 2048 110 16384 ext4 \ $defaultignore $lvmok{ } lv_name{ home } \ method{ format } format{ } \ use_filesystem{ } filesystem{ ext4 } \ mountpoint{ /home } \ . \ 512 1000 -1 ext4 \ $defaultignore $lvmok{ } lv_name{ deleteme } \ method{ lvm } \ . d-i partman-auto-raid/recipe string \ 1 2 0 ext4 /boot /dev/sda1#/dev/sdb1 . \ 1 2 0 lvm - /dev/sda2#/dev/sdb2 . # the 'deleteme' LV soaks up the leftover space in the VG d-i preseed/late_command string in-target lvremove -f vg_sys/deleteme 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-lvm/confirm boolean true d-i partman-md/confirm boolean true d-i partman-md/confirm_nooverwrite boolean true d-i partman/mount_style select label d-i mdadm/boot_degraded boolean false
这是我得到的错误:
磁盘是双50GiB(准确地说,53,687,091,200字节).