Solution for the \Press ESC in 5 seconds to skip startup.nsh, any other key to continue\ Issue on Virtual Machine Boot in UEFI Mode
# Solution for the "Press ESC in 5 seconds to skip startup.nsh, any other key to continue" Issue on Virtual Machine Boot in UEFI Mode
When booting a system installed in UEFI mode within a virtual machine, you may encounter the following prompt:
Press ESC in 5 seconds to skip startup.nsh, any other key to continue.
Shell>_
To resolve this issue, you can follow the steps below:
Access the BIOS Settings: During startup, follow the prompts to enter the BIOS settings (opens new window) and set the hard disk as the first boot device.
Manually Set the Boot Device: If the BIOS settings do not resolve the issue, manually set the boot device by following these steps in the Shell command line (comments in angled brackets, and "enter" indicates pressing the Enter key):
a. Use thels
command to list the file directory, then enterfs0:
to access the fs0 directory.Shell> ls <enter> Shell> fs0: <enter>
b. Edit the
startup.nsh
file.FS0> edit startup.nsh <enter>
c. Write the following content into the file, for example:
\EFI\ubuntu\grubx64.efi
.\EFI<lowercase system name, e.g., ubuntu>\grubx64.efi <enter>
d. Press
Ctrl S
to save the file, then pressCtrl Q
to exit the editing mode.<ctrl+s to save> <enter> <ctrl+q to exit editing> <enter>
e. Enter the
reset
command to restart the virtual machine.FS0> reset <enter>
By following these steps, you should be able to boot into the system without encountering the startup.nsh prompt.
- 01
- 以 root 身份启动 transmission-daemon12-13
- 02
- Debian系统安装qbittorrent-nox12-09
- 03
- LXC Debain12安装zerotier并实现局域网自动nat转发07-29