Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mkinitfs mkinitfs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 20
    • Issues 20
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 17
    • Merge requests 17
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • alpinealpine
  • mkinitfsmkinitfs
  • Merge requests
  • !112

Add vmd module to features.d/nvme.modules

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Dermot Bradley requested to merge dbradley/mkinitfs:add-vmd-to-nvme-modules into master Sep 28, 2022
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

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.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: add-vmd-to-nvme-modules