天增的博客
首页
博客
  • 分布式解决方案
  • Java并发工具包
  • redis
  • LeetCode
  • 系统设计
  • JVM体系
Github (opens new window)
Rss (opens new window)
  • zh-CN
  • en-US
首页
博客
  • 分布式解决方案
  • Java并发工具包
  • redis
  • LeetCode
  • 系统设计
  • JVM体系
Github (opens new window)
Rss (opens new window)
  • zh-CN
  • en-US
  • post
2023-11-22

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:

  1. 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.

  2. 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 the ls​ command to list the file directory, then enter fs0:​ 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 press Ctrl 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-daemon
12-13
02
Debian系统安装qbittorrent-nox
12-09
03
LXC Debain12安装zerotier并实现局域网自动nat转发
07-29
更多文章>
Theme by Vdoing | Copyright © 2015-2024 天增 | 苏ICP备16037388号-1
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式