Initramfs fails to boot from SCSI in VM with lsilogic controller and >3 GB RAM
I’m trying to get Alpine 3.7 (virthardened) to run in VM on VMWare Workstation 14.1. The Alpine VM is set to boot from LVM but whenever I set more than 3 GB memory, initramfs on first boot after the installation fails with
mount: mounting /dev/vg0/lv_root on /sysroot failed: No such file or directory Mounting root failed. initramfs emergency recovery shell launched. Type 'exit' to continue boot sh: can't access tty: job control turned off
When I activate and mount the volumes manually in initramfs shell, the VM eventually starts.
lvm vgchange -ay mount -t ext4 /dev/vg0/lv_root /sysroot mount -t ext4 /dev/sda1 /sysroot/boot exit
Whenever I set the RAM to 3 GB or less, the VM happily boots without any problems or interruptions.
features="ata base ide scsi usb virtio ext4 lvm"
Relevant lines from /boot/extlinux.conf:
LINUX vmlinuz-virthardened INITRD initramfs-virthardened APPEND root=/dev/vg0/lv_root modules=sd-mod,usb-storage,ext4 pax_nouderef quiet rootfstype=ext4
Attached is the output from “nlplug-findfs -d -p /sbin/mdev /dev/vg0/lv_root >& nlplug-findfs.log”
(from redmine: issue id 8476, created on 2018-02-06)