Why does this partman/auto expert_recipe not work (LV for /home not created)
I have the following partitioning config in my preseed file:
```
# Partitioner Label Default (GPT)
d-i partman/
d-i partman-
d-i partman-
d-i partman/
d-i partman-
d-i partman-
# Partitioner Prompt Confirmations
d-i partman-
d-i partman-md/confirm boolean true
d-i partman-
d-i partman-
d-i partman-
d-i partman-lvm/confirm boolean true
d-i partman-
d-i partman-
d-i partman-
d-i partman-
d-i partman/
d-i partman-
d-i partman/
d-i partman/confirm boolean true
d-i partman/
#Partitioning Scheme
d-i partman-auto/disk string /dev/sda
d-i grub-installer/
d-i grub-installer/
d-i partman-auto/method string lvm
d-i partman-
d-i partman-
d-i partman-
d-i partman/auto expert_recipe string \
custom_lvm :: \
500 533 1024 free \
$iflabel{ gpt } $reusemethod{ } \
method{ efi } format{ } \
. \
128 160 256 ext2 \
$lvmignore{ } \
method{ format } format{ } use_filesystem{ } \
filesystem{ ext2 } mountpoint{ /boot } \
. \
10240 102399 102400 ext4 \
$defaultig
lv_name{ root } in_vg{ vg00 } \
method{ format } format{ } use_filesystem{ } \
filesystem{ ext4 } mountpoint{ / } \
. \
10240 102433 1000000000 ext4 \
$defaultig
lv_name{ home } in_vg{ vg00 } \
method{ format } format{ } use_filesystem{ } \
filesystem{ ext4 } mountpoint{ /home } \
. \
50% 1 100% linux-swap \
$defaultig
lv_name{ swap } in_vg{ vg00 } \
method{ swap } format{ } \
.
```
So, what I want is 3 LV's in my VG "vg00", one for "/", one for "/home", and one for swap. What I actually get when the install finishes is:
```
root@testinstall:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931G 0 disk
├─sda1 8:1 0 1M 0 part
├─sda2 8:2 0 488M 0 part /boot
└─sda3 8:3 0 930.5G 0 part
├─vg00-root 252:0 0 926.5G 0 lvm /
└─vg00-swap_1 252:1 0 4G 0 lvm [SWAP]
```
(note the lack of a "/home" lvm)
Is there a error with my config, or does LVM use in partman/auto only support "/" and swap LVs only? (have tried many parameter changes with my config, nothing I do results in a "/home? LV being created...)
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: