grub-efi install failed with 3.17-virt iso
I try to install alpine using the following command:
mkfs.ext4 /dev/sda3
mkswap /dev/sda2
mkdosfs /dev/sda1
mount -t ext4 /dev/sda3 /mnt
mkdir -p /mnt/boot/efi
mount -t msdos /dev/sda1 /mnt/boot/efi
swapon /dev/sda2
BOOTLOADER=grub
USE_EFI=1
setup-disk -m sys /mnt
but it gives an error:
grub-install: error: failed to get canonical path of `'.
install: can't stat '/EFI/alpine/grubx64.efi': No such file or directory
This method is feasible in both alpine-virt-3.15.7-x86_64.iso and alpine-standard-3.17.2-x86_64.iso, but not alpine-virt-3.17.2-x86_64.iso. anything I missed?