---
title: "克隆镜像文件"
author: "haiker"
date: "2012-08-13T17:49:15Z"
tags: ["vboxmanage"]
categories: ["非技术"]
slug: "untitled"
draft: false
lastmod: "2012-08-13T17:50:06Z"
id: 1630736
url: "https://haiker.iteye.com/blog/1630736"
---

有时候需要创建多个虚拟机，配置基本上相同的，我使用的virtual box，为了省事，先使用原始方法创建一台虚拟机并  
安装操作系统，然后使用如下命令克隆出多个系统，并创建多个虚拟机配置文件，然后把虚拟硬盘挂载到虚拟机上即可，非常省事。

```
VBoxManage clonehd  D:/vdi/win2003_target.vdi D:/vdi/win2003_clone.vdi 
```