I'm trying to create this scheme with preseed partitioning:

```

/dev/sda:
   /dev/sda1
     - ext4, /boot, 500MB
   /dev/sda2
     - PV for LVM, 130GB, VG vg00
     - containing LVs root, swap ...
   /dev/sda3
     - PV for LVM, the rest of disk
     - not created VG, just empty physical partition for ocasional vg02

```

Here is my partitioning template (for Foreman):

```

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-lvm/confirm_nooverwrite boolean true

d-i partman-auto/disk string /dev/sda
d-i partman-auto-lvm/guided_size string max

d-i partman-auto-lvm/new_vg_name string vg00

d-i partman-auto/expert_recipe string \ 
      mypartitioning :: \
              512 512 512 ext2                                \
                      $primary{ }                             \
                      $bootable{ }                            \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ ext2 }    \
                      mountpoint{ /boot }                     \
              . \
              133120 133120 133120 ext3                       \
                      $defaultignore{ } \
                      $primary{ }                             \
                      method{ lvm }                           \
                      vg_name{ vg00 }                          \
              . \
              1024 1000000000 1000000000 keep               \
                      $primary{ }                             \
                      $defaultignore{ } \
                      method{ lvm }                           \
              . \
              4048 4048 4048 linux-swap                       \
                      $lvmok{ } in_vg{ vg00 }                  \
                      lv_name{ swap }                         \
                      method{ swap } format{ }                \
              . \
              10240 10240 10240 ext4                          \
                      $lvmok{ } in_vg{ vg00 }                  \
                      lv_name{ root }                         \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ ext4 }    \
                      mountpoint{ / }                         \
              . \
              1 2048 1000000000 ext4 method{ lvm } \
                      $lvmok{ } lv_name{ to_delete } \
                      in_vg{ vg00 } \
              .

d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-lvm/confirm boolean true
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select Finish
d-i partman/confirm_nooverwrite boolean true
d-i partman/confirm boolean true

```

I'm still getting this error:

```
Failed to partition the selected disc.
This happened because the selected recipe does not contain any partition that can be created on LVM volumes.
```

Could someone please tell me what is wrong in the recipe? Thanks