acrn-hypervisor/hypervisor/Documentation/ACRN_UEFI.txt

14 lines
866 B
Plaintext

*******************
Usage of acrn.efi
*******************
Suggest to follow the following step:
a. Build out the acrn.efi image with command "make PLATFORM=uefi".
b. Rename the original os loader file named bootloaderx64.efi that is located at \\EFI\\org.clearlinux\\ to bootloaderx64_origin.efi
which name can be user defined in the config file bsp/uefi/include/bsp/bsp_cfg.h, the default name is "EFI\\org.clearlinux\\bootloaderx64_origin.efi".
c. Copy acrn.efi to \\EFI\\org.clearlinux\\, and rename it to bootloaderx64.efi.
d. Update the bsp/uefi/clearlinux/acrn.conf file by filling the field <UUID of rootfs partition> with the your native rootfs partition uuid.
e. Copy bsp/uefi/clearlinux/acrn.conf to loader\\entries\\ directory.
f. Reboot.
g. If you want to recover to original os loader, just replace the bootloaderx64.efi with bootloaderx64_origin.efi.