search for: fix_efi_boot

Displaying 1 result from an estimated 1 matches for "fix_efi_boot".

2020 May 15
1
[PATCH] v2v: fix UEFI bootloader for linux guests
...a vm. If a vm doesn't have uefi + fallback path (/EFI/BOOT/BOOT<arch>.efi), the vm is unbootable + after conversion. The following function will try to make an uefi + fallback path if the vm being converted is an uefi setup. + *) + + let efi_fix_script = bootloader#fix_efi_boot () in + + if efi_fix_script <> "" then + Firstboot.add_firstboot_script g inspect.i_root + "fix uefi boot" efi_fix_script; + (* Delete blkid caches if they exist, since they will refer to the old * device names. blkid will rebuild these on demand...