azure - 在通用化之前创建了 Azure VM 的镜像,但无法启动该 VM

标签 azure azure-virtual-machine

Azure Created Image Without Generalizing

我有同样的问题,在这个问题中提到过。有问题的博客 URL 也不起作用。如果您能解决这个问题,任何人都可以帮助我吗?

最佳答案

简而言之,您无法将旧通用虚拟机的状态更改为正在运行。阅读 here 。此外,该链接指出您可以从存储帐户中的快照或托管磁盘或 VHD 创建托管镜像,然后您可以从托管镜像创建 VM。

After you have run Sysprep on a VM, that VM is considered generalized and cannot be restarted. The process of generalizing a VM is not reversible. If you need to keep the original VM functioning, you should create a copy of the VM and generalize its copy.

在这种情况下,如果您没有副本,您可以从原始操作系统磁盘创建一个 VM 作为镜像,然后您可以使用原始凭据登录到新的 Azure VM。由于VM使用虚拟硬盘(VHD)来存储其操作系统(OS)和数据。 VHD 还用于您可以选择安装操作系统的镜像。

  1. 确保磁盘状态为未连接
  2. 点击创建虚拟机以从此操作系统磁盘创建虚拟机。

enter image description here

更多详情,您可以引用create a VM from a VHD by using the Azure portal .

关于azure - 在通用化之前创建了 Azure VM 的镜像,但无法启动该 VM,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54087076/

相关文章:

c# - 将 Realm 同步与 Azure Functions 结合使用

azure - 在 DeviceTwin 中存储 secret

azure - 无法使用 MQTT 和 ESP8266 订阅 Azure 设备孪生

azure - 复制事件 - 忽略接收器存储过程参数值

azure - 部署模板验证失败 参数文件中的模板参数 'scriptUrldsc' 无效,原始参数中不存在

azure - 如何从云服务和可用性集中的一个 Azure VM 安全地访问另一个 VM

c# - 将应用程序安全组添加到 Azure VM

azure - Azure 上的自动缩放虚拟机 ​​: Day In & Day Out

azure - Windows Azure VM RDP 问题

azure - 如何将具有 vnet 的 VM 连接到 azure 中的公共(public)工作区