xva 转 raw

wget https://github.com/eriklax/xva-img/archive/master.zip
unzip master.zip
cd xva-img-master
apt-get -y install build-essential libssl-dev
cmake .
make install
mkdir my-virtual-machine
tar -xf <.xva file> -C my-virtual-machine
chmod -R 755 my-virtual-machine
xva-img -p disk-export my-virtual-machine/Ref:1/ disk.raw

sudo dd if=win8.1.img of=/dev/desktop-xen/Win8.1 bs=64M

你可能感兴趣的:(xva 转 raw)