Re: May I know why this recipe does not work?
Sorry this was an old version, missed a few lines.
Updated below:
# partition
d-i partman-auto/disk string /dev/sda
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/expert_recipe string \
boot-root :: \
128 128 128 ext4 \
$lvmignore{ } \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /boot } \
options/noatime{ noatime } \
. \
500 10000 1000000000 ext3 \
$defaultignore{ } \
$primary{ } \
method{ lvm } \
vg_name{ vgroot } \
. \
50% 100% 200% linux-swap \
$lvmok{ } \
in_vg{ vgroot } \
lv_name{ lvswap0 } \
method{ swap } \
format{ } \
. \
500 10000 1000000000 ext2 \
$lvmok{ } \
in_vg{ vgroot } \
lv_name{ lvroot } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext2 } \
mountpoint{ / } \
options/noatime{ noatime } \
.
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
On Mon, Feb 28, 2011 at 11:25 AM, Magicloud Magiclouds
<magicloud.magiclouds@gmail.com> wrote:
> 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: