在 VirtualBox 中安装 Ubuntu 20.04 时出错

Sim*_*mon 15 virtualbox system-installation 20.04

我正在尝试在 Oracle VirtualBox 6.1.6 上设置 Ubuntu 20.04。在安装过程中,我收到以下错误消息:

The installer encountered an error copying files to the hard disk:

[Errno 5] Input/output error

This is often due to a faulty CD/DVD disk or drive, or a faulty hard disk.  
It may help to clean the CD/DVD, to burn the CD/DVD at a lower speed,   
to clean the CD/DVD drive lens (cleaning kits are often available from  
electronics suppliers), to check whether the hard disk is old and in   
need of replacement, or to move the system to a cooler environment.
Run Code Online (Sandbox Code Playgroud)

我从官方 Ubuntu 网站下载了该文件并多次下载,但没有一个文件有效。我还使用 验证了iso echo "e5b72e9cfe20988991c9cd87bde43c0b691e3b67b01f76d23f8150615883ce11 *ubuntu-20.04-desktop-amd64.iso" | shasum -a 256 --check,但它没有做任何事情。

小智 24

在 Windows 10 上启用 hyper-v 后,我也遇到了这个问题。

为了修复它,我确保通过执行以下操作禁用了 hyper-v。

  1. 打开“打开或关闭 Windows 功能”(在开始菜单中搜索)
  2. 取消hyper-v、Windows hypervisor平台和虚拟机平台。
  3. 以管理员身份启动命令提示符。(在开始菜单中输入cmd,右键单击“命令提示符”并选择“以管理员身份运行”)
  4. 运行以下命令 bcdedit /set hypervisorlaunchtype off

重新启动后,它似乎安装并工作。

感谢 r/virtualbox 上的 u/SquareVehicle 建议使用 bcdedit 命令