[h1]Convert VHD(Virtual PC) to VDI(Virtual Box)[/h1]
有這 VDH -> VDI 需求的人我想都看的懂英文,
所以我用英文寫這兩種方法。
我有嘗試過成功轉換 VHD(Virtual PC 2007) -> VDI(Virtual Box 2.2.2) OK
[h1]Method #1: Use /bin/dd[/h1]
0. Create a fixed size VDI, identical size as VHD.
1. Install Virtual Machine in VirtualBox with any Linux(Ubuntu) or any Linux-LiveCD Disto.
2. Attach Source(VHD) as hda (or sda)
3. Attach Target(VDI) as hdb (or sdb)
4. Boot up to linux vbox
5. Use root to execute => dd if=/dev/hda of=/dev/hdb bs=1048576
(note: if your system is slow, try to downsize bs 1048576 -> 65536)
[h1]Method #2: Use Clonezilla[/h1]
0. Create a fixed size VDI, identical or bigger size as VHD.
1. Install Clonezilla Disto.
2. Aatccah Source(VHD) as hda (or sda)
3. Attach Source(VDI) as hdb (or sdb)
4. Boot up to linux vbox
5. Run Clonezilla to clone disks for you
Clonezilla =>
http://clonezilla.org/
[hr]
理論上不轉換 Virtualbox 也認得 Virtual PC VHD 和 VMware VMDK,轉換只是為了方便管理
(2009-05-25 02:01)