Can't boot by using EFI Boot Stub in VirtualBox
I mounted /dev/sda1
(EFI) for /boot
and /dev/sda3
for /
.
And create startup.nsh
in /boot
:
vmlinuz-virt rw root=/dev/sda3 initrd=\initramfs-virt
And boot failed:
While using efibootmgr to add boot item, also boot failed.
The error is:
mounting /dev/sda3 on /sysroot failed: No such file or directory
It's not support EFI Boot Stub without Grub?