Skip to content

Add vmd to modules list when nvme is added to it

Dermot Bradley requested to merge dbradley/alpine-conf:setup-disk-add-vmd into master

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 added to the cmdline modules list whenever 'nvme' is added to that list.

This MR works together with mkinitfs!112 (merged) (which ensures that 'vmd' present in the initramfs).

Merge request reports

Loading