Maison  >  Article  >  Tutoriel système  >  Comment installer n'importe quel système d'exploitation sur une machine virtuelle à l'aide d'Hyper-V

Comment installer n'importe quel système d'exploitation sur une machine virtuelle à l'aide d'Hyper-V

王林
王林original
2024-08-01 17:17:23651parcourir

Hyper-V 是 Windows 内置的虚拟机软件,可让您在 Windows 上将多个操作系统作为虚拟机运行。这使得为​​任何操作系统创建虚拟机变得容易。这里将逐步引导您创建虚拟机来安装 Windows 10。这些步骤也适用于其他操作系统,包括 Windows 7/8、Windowsserve 2008-2016、Linux、Ubuntu。

要求

  • Windows 10 企业版、专业版或教育版。 Hyper-V 在 Windows 10 家庭版中不可用。
  • 操作系统安装iOS文件。

使用 Hyper-V 在虚拟机中安装 Windows 10 的 3 个步骤

第1步:启用Hyper-V在Windows 10上创建虚拟机

Hyper-V 作为一项可选功能内置于 Windows 中,因此您可以通过运行 optionalfeatures.exe 来快速访问它。

How to Install Any Operating System in a Virtual Machine using Hyper-V

点击 Enter 键打开 Windows 功能窗口。在这里,选择Hyper-V并单击确定

How to Install Any Operating System in a Virtual Machine using Hyper-V

当提示重新启动计算机时,保存所有工作并单击“立即重新启动”按钮。

第 2 步:为操作系统创建虚拟机

要在Windows 10 Fall Creators Update 或更高版本中通过 Hyper-V 快速创建创建新虚拟机:

1.从开始菜单打开Hyper-V Quick Create

2.选择操作系统。如果您想使用自己的镜像来创建虚拟机,请选择本地安装源。选择更改安装源。选择您想要转换为新虚拟机的 .iso 或 .vhdx。

3.如果镜像是 Linux 镜像,请取消选择 Secure Boot 选项。然后点击创建虚拟机按钮。

How to Install Any Operating System in a Virtual Machine using Hyper-V

要在 Windows 10 Creators Update 或更早版本中通过 Hyper-V 管理器创建新虚拟机

1.在搜索框中输入“Hyper-V Manager”或在您的应用程序中找到它,打开 Hyper-V Manager

2.在 Hyper-V 管理器中,单击

操作 >  > 虚拟机 调出新建虚拟机向导。

How to Install Any Operating System in a Virtual Machine using Hyper-V

3.自定义您的虚拟机。

    为虚拟机命名,然后单击下一步。
  • 设置网络。如果您有现有的虚拟交换机,则可以在网络下拉列表中进行选择。如果您没有现有交换机,请为虚拟机选择默认交换机,然后单击下一步。
  • 连接虚拟硬盘并为虚拟机指定存储。
  • 选择虚拟机的安装介质。您可以从 .iso 或 .vhdx 文件安装。

How to Install Any Operating System in a Virtual Machine using Hyper-V

在虚拟机上安装操作系统

第 1 步:启动虚拟机并完成操作系统安装。

在 Hyper-V Manager 中,右键单击虚拟机并选择

Connect 以启动 VMConnect 工具。

How to Install Any Operating System in a Virtual Machine using Hyper-V

在 VMConnect 中,单击

开始 按钮。这就像按下物理计算机上的电源按钮。

How to Install Any Operating System in a Virtual Machine using Hyper-V

第 2 步:虚拟机启动进入 Windows 安装程序,您可以像在物理计算机上一样逐步完成安装。选择您的语言,然后单击

下一步

How to Install Any Operating System in a Virtual Machine using Hyper-V

Étape 3 : Cliquez sur Installer maintenant.

How to Install Any Operating System in a Virtual Machine using Hyper-V

Étape 4 : suivez les invites à l'écran pour terminer le processus d'installation de Windows 10. Quelques minutes plus tard, la machine virtuelle redémarrera pour continuer l'installation de Windows 10.

How to Install Any Operating System in a Virtual Machine using Hyper-V

Ce qui précède est le contenu détaillé de. pour plus d'informations, suivez d'autres articles connexes sur le site Web de PHP en chinois!

Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn