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

May I know why this recipe does not work?



Hi,
  I have this in my preseed.cfg, but when using this installer to
partition, I got "no root filesystem is defined."

35|# partition
36|d-i partman-auto/disk string /dev/sda
37|d-i partman-auto/method string lvm
38|d-i partman-lvm/device_remove_lvm boolean true
39|d-i partman-md/device_remove_md boolean true
40|d-i partman-lvm/confirm boolean true
41|d-i partman-auto/expert_recipe string    \
42|  128 128 128 ext4                       \
43|    $lvmignore{ }                        \
44|    $primary{ } $bootable{ }             \
45|    method{ format } format{ }           \
46|    use_filesystem{ } filesystem{ ext4 } \
47|    mountpoint{ /boot }                  \
48|    options/noatime{ noatime } .         \
49|  500 10000 1000000000 ext3              \
50|    $defaultignore{ }                    \
51|    $primary{ }                          \
52|    method{ lvm }                        \
53|    vg_name{ vgroot } .                  \
54|  50% 100% 200% linux-swap               \
55|    $lvmok{ }                            \
56|    in_vg{ vgroot }                      \
57|    lv_name{ lvswap0 }                   \
58|    method{ swap }                       \
59|    format{ } .                          \
60|  500 10000 1000000000 ext2              \
61|    $lvmok{ }                            \
62|    in_vg{ vgroot }                      \
63|    lv_name{ lvroot }                    \
64|    method{ format } format{ }           \
65|    use_filesystem{ } filesystem{ ext2 } \
66|    mountpoint{ / }                      \
67|    options/noatime{ noatime } .
68|d-i partman-partitioning/confirm_write_new_label boolean true
69|d-i partman/choose_partition select finish
70|d-i partman/confirm boolean true
71|d-i partman/confirm_nooverwrite boolean true

-- 
竹密岂妨流水过
山高哪阻野云飞


Reply to: