Skip to content

fix: enlighten lcow uvmboot with dm-verity boot#2766

Open
anmaxvl wants to merge 1 commit into
microsoft:mainfrom
anmaxvl:fix/uvmboot-clcow
Open

fix: enlighten lcow uvmboot with dm-verity boot#2766
anmaxvl wants to merge 1 commit into
microsoft:mainfrom
anmaxvl:fix/uvmboot-clcow

Conversation

@anmaxvl
Copy link
Copy Markdown
Contributor

@anmaxvl anmaxvl commented Jun 5, 2026

lcow uvmboot wasn't enlightened with dm-verity boot when the feature was introduced for C-LCOW. Address the gap by by setting the necessary lcow options:

  • HclEnabled must be set to false on newer OS builds
  • BundleDirectory must be set, so the template copy can happen
  • add -no-verity-boot flag for backward compat with earlier versions of kernel.vmgs which had rootfs baked in.
  • DmVerityRootFsVhd will be set to the default value from vmutils
  • DmVerityMode will be set to true

lcow uvmboot wasn't enlightened with dm-verity boot when the feature
was introduced for C-LCOW. Address the gap by by setting the
necessary lcow options:
 - `HclEnabled` must be set to false on newer OS builds
 - `BundleDirectory` must be set, so the template copy can happen
 - add `-no-verity-boot` flag for backward compat with earlier
   versions of kernel.vmgs which had rootfs baked in.
 - `DmVerityRootFsVhd` will be set to the default value from vmutils
 - `DmVerityMode` will be set to `true`

Signed-off-by: Maksim An <maksiman@microsoft.com>
@anmaxvl anmaxvl requested a review from a team as a code owner June 5, 2026 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant