Re: problems with my partman recipe
On Tue, Jul 22, 2008 at 11:29 PM, Lenz, Mario (LDS) wrote:
> My problem is that my recipe isn't working.
I am not sure if this is your problem, but you are missing a partition
with a high maximal size. According to the partman-auto docs:
Due to limitation of the algorithms in partman-auto, there must be at
least one partition with high maximal size so that the whole free
space can be used. Usually you can give the partition containing
/home a maximal size 1000000000 which is high enough for the present
storage devices. [1]
[1] http://d-i.alioth.debian.org/svn/debian-installer/installer/doc/devel/partman-auto-recipe.txt
> That's what I have in my preseed.cfg:
>
> d-i partman-auto/method string lvm
> d-i partman-lvm/device_remove_lvm boolean true
> d-i partman-lvm/confirm boolean true
> d-i partman-auto/expert_recipe string \
> my-recipe :: \
> 128 128 128 ext3 \
> $primary{ } $bootable{ } \
> method{ format } format{ } \
> use_filesystem{ } filesystem{ ext3 } \
> mountpoint{ /boot } . \
> 512 512 512 ext3 \
> $primary{ } \
> method{ format } format{ } \
> use_filesystem{ } filesystem{ ext3 } \
> mountpoint{ / } . \
> 3072 3072 3072 ext3 \
> $lvmok{ } \
> method{ format } format{ } \
> use_filesystem{ } filesystem{ ext3 } \
> mountpoint{ /usr } . \
> 1536 2048 2048 ext3 \
> $lvmok{ } \
> method{ format } format{ } \
> use_filesystem{ } filesystem{ ext3 } \
> mountpoint{ /var } . \
> 128 128 128 ext3 \
> $lvmok{ } \
> method{ format } format{ } \
> use_filesystem{ } filesystem{ ext3 } \
> mountpoint{ /tmp } . \
> 32 32 32 ext3 \
> $lvmok{ } \
> method{ format } format{ } \
> use_filesystem{ } filesystem{ ext3 } \
> mountpoint{ /srv } . \
> 32 32 32 ext3 \
> $lvmok{ } \
> method{ format } format{ } \
> use_filesystem{ } filesystem{ ext3 } \
> mountpoint{ /opt } . \
> 512 512 512 ext3 \
> $lvmok{ } \
> method{ format } format{ } \
> use_filesystem{ } filesystem{ ext3 } \
> mountpoint{ /home } . \
> 1024 1024 1024 linux-swap \
> $lvmok{ } \
> method{ swap } format{ } .
>
> d-i partman-auto/choose_recipe select my-recipe
> d-i partman/confirm_write_new_label boolean true
> d-i partman/choose_partition select Finish partitioning and write changes to disk
> d-i partman/confirm boolean true
>
> But I'm getting "Can't have a partition outside the disk!". Any ideas?
Reply to: