Skip to content

Commit

Permalink
Load lvm module in grub mode
Browse files Browse the repository at this point in the history
If the DMS live ISO loopback boot runs on a machine
that has root (/) on LVM we need to load lvm in grub
to be able to read from the root of the toplevel
volume
  • Loading branch information
schaefi committed Oct 30, 2024
1 parent 1dbb055 commit 76e1102
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grub.d/99_migration
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ if grub_file_is_not_garbage "${migration_iso}"; then
"/@/boot/grub2/x86_64-efi"
printf " insmod loopback\n"
fi
printf " insmod lvm\n"
printf " insmod %s\n" "${image_fs_type}"
printf " search --no-floppy --fs-uuid --set=root %s\n" "${image_fs_uuid}"
printf " set isofile='%s'\n" \
Expand Down

0 comments on commit 76e1102

Please sign in to comment.