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

automating partman and lvm



The preseed stuff in d-i looks really great. But I'm having some
trouble figuring out how to get it to do what I want.

I'd like to partition the disk into a boot, a root, and then a large
lvm area. Then I'd like to create usr, var and tmp in lvm. I sorta see
how to do the partitioning part, though I suspect my recipe is
buggy. I don't understand how to do the lvm part.

Can anyone provide guidance? Or even pointers to more docs? (All I've
found is partman-auto-recipe.txt) I'm not on the list, so please
include me in the reply.

My current recipe is:

d-i partman-auto/expert_recipe         string standard-layout :: \
 2048 10000 3072  ext3 $primary{ } $bootable{ } method{ format } \
  format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ / } . \
 1024 2048 2048 linux-swap $primary{ } method{ swap } format{ } . \
 100 1000 1000000000 lvm $primary{ } .

thanks
seph



Reply to: