I would like to install Debian 9.8 (i.e. an older version) on a VM with two disks. The first disk
/dev/sda is for the boot partition, the second disk
/dev/sdb should contain an LVM physical volume (PV; with subsequent VG and LVs) for the "rest" of the OS.
I want the PV to sit directly on the disk without any partition layer in between. On the command line I would issue
pvcreate /dev/sdb, but the Debian Installer apparently insists on partitions (like
/dev/sdb1) at corresponding points. I've also tried executing a shell before the installer's "Partition disks" step, but this does not give access to
dpkg) so I am stuck again.
My question is this: Does the Debian installer (for Debian 9.8) allow configururation of a PV that comprises an entire disk (not just a partition) or is there a reasonably simple workaround that may e.g. involve issuing commands in an intermediate shell?