We use this disk_config file for Debian on vmware: And we have to install "lvm2" and "grub-pc" in packages_config.
# example of new config file for setup-storage # # <type> <mountpoint> <size> <fs type> <mount options> <misc options> disk_config sda align-at:1024K disklabel:msdos bootable:1 fstabkey:label primary - 100% - - disk_config sdb align-at:1024K primary - 100% - - disk_config sdc align-at:1024K primary - 100% - - disk_config lvm fstabkey:label vg vgsys sda1,sdb1,sdc1 vgsys-swap swap 2048 swap sw vgsys-root / 5G ext4 defaults vgsys-home /home 50 ext4 defaults vgsys-mydata - 50 ext4 - vgsys-mybackup - 20 ext4 - vgsys-pgdata - 20 ext4 - vgsys-pgbackup - 20 ext4 - vgsys-srv /srv 20 ext4 defaults vgsys-var /var 1G-90% ext4 defaults Reiner Schulz > -----Ursprüngliche Nachricht----- > Von: linux-fai [mailto:linux-fai-boun...@uni-koeln.de] Im Auftrag von Ronald > Steele > Gesendet: Mittwoch, 27. April 2016 20:37 > An: fully automatic installation for Linux <linux-fai@uni-koeln.de> > Betreff: Logical Volumes on virtual drives > > I’m trying to set up LV on virtual drives. This may seem a bit weird, but it > for a test > rig. > Is this something that is supported? I’ve tried CentOS and Debian on VmWare > and > VirtualBox and it doesn’t appear to work on either. > Besides some set ups of my own I’ve tried the LVM example in FAI distro and > one > from the setup-installation section of the Wiki. > The install works but when I reboot the new system I get errors like this: > > Loading, please wait… > Gave up waiting for root device. > > Then a list of common problems. > Then: > > ALERT! /dev/mapper/my_pv-_root does not exist dropping into shell > > > > > And then I get the initramfs prompt > > I’ve no idea what /dev/mapper etc is or does. > > Any ideas? > > Ron