Hi all, To elaborate on my previous message: On Wed, May 7, 2008 at 4:59 PM, Tim Stoop <[EMAIL PROTECTED]> wrote:
> - /boot outside of LVM, 500M > - LVM "dom0" of 10G with several partitions for the dom0 > - LVM "domU" empty (at least while installing), rest of the disk > I forgot to say that I want to different VGs (dom0 and domU). I couldn't find any way to do that with a partman recipe, so I decided to do a little magic in a late_script. For this to work, I needed the LVM partition dom0 not larger than exactly needed (about 10G). I've tried creating an empty non-LVM partition in my recipe, but apparantly two non-LVM partitions aren't allowed (I also need a non-LVM /boot). At least, I got a message telling me there was no root and indeed, the LVM partition was only 30M large and contained no LVs. This was the recipe I tried: string dom0-domU :: 512 512 512 ext3 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint { /boot } . 2048 2048 2048 ext3 $lvmok{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ / } . 7168 7168 7168 ext3 $lvmok{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /var } . 1024 1024 1024 linux-swap $lvmok{ } method{ swap } format{ } . 512 512 512 ext3 $lvmok{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /tmp } . 1024 1024 1024 ext3 $lvmok{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /home } . 100 100000 1000000000 ext2 $primary{ } method{ keep } . As soon as I remove the last partition or add it to the LVM, it works. But then I have no room to play with easily. Last time when I asked this, I got a message telling me to bypass partman. I've been looking into that, but haven't found a good solution for this. Does anyone have an idea on how I can achieve this? One thing I thought about is having a simple recipe and doing it all manually in the late_script. Not sure if that's the best solution. Any tips would be appreciated! -- Gegroet, Tim