Skip to content

Add vmd module to features.d/nvme.modules

VMD is Intel's Volume Management Device. Some Intel-based machines have a BIOS/UEFI option to present a NVME SSD via either VMD or as a "native" NVME device.

If Alpine is installed on a NVME device when it is presented via VMD then once the Alpine ISO/USB boots the 'vmd' kernel module will be loaded by /etc/init.d/hwdrivers and Alpine will see a /dev/nvme0n1 device to which setup-alpine can install successfully.

However, once the newly installed system is then booted from the NVME device the initramfs' init will fail to find the rootfs to mount/boot from as, without the vmd module being loaded, no NVME device will be visible.

This MR ensures that the 'vmd' kernel module is present in the initramfs whenever the mkinitfs nvme feature is selected. A separate MR for alpine-conf will be submitted shortly to add 'vmd' to an installed systems' bootloader-specified modules list for NVME-based systems.

Merge request reports