如何在 Ubuntu Server 启动时启动 VirtualBox?

Mos*_*she 5 windows linux boot virtualbox

我有 VirtualBox,我想在其中安装 MS Windows。如何在 Ubuntu Server 启动时启动 VirtualBox,这样我就不需要手动启动 Windows?

Ski*_*Ski 4

虚拟盒——帮助:

--startvm <vmname|UUID>    start a VM by specifying its UUID or name
Run Code Online (Sandbox Code Playgroud)

您可以将此命令添加到启动应用程序中System->Preferences->Startup applications

如果您没有 GUI(您提到您正在运行 Ubuntu Server),您可能正在寻找一种以“无头”模式运行虚拟机的方法。但是,您将无法在无头模式下安装任何内容,因此您需要在启用了 GUI 的计算机上准备虚拟机。