xen磁盘转换成virtual box格式

原文:http://www.ezunix.org/index.php?title=Convert_XEN_image_files_to_VirtualBox_image_files

Introduction

Sun xVM VirtualBox is an X86 virtualization software package.
Compared with other established commercial virtualization software such as Xen or VMware, VirtualBox lacks some features, but in turn provides others such as running virtual machines remotely over the Remote Desktop Protocol (RDP), iSCSI support and USB support with remote devices over RDP.

It is possible and easy to convert XEN or VMware images to images supported by VirtualBox.
If it's a Windows guest then prepare for bluescreens. Windows just doesn't like any hardware changes...

Execution

Using VirtualBox run:

# VBoxManage convertdd the_disk.img the_disk.vdi

You can make the vdi dynamic if you want:

# VBoxManage modifyvdi the_disk.vdi compact

Example:

# VBoxManage convertdd netbsd.img netbsd.vdi
VirtualBox Command Line Management Interface Version 2.1.4
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

Converting from raw image file="linux.img" to file="linux.vdi"...
Creating dynamic image with size 21474836480 bytes (20480MB)...

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值