Rex's 備忘錄

DD + Mount + conert VMDK

mount:

mount //192.168.0.1/rex /media/rex/ -o username=myusername,password=mypassword

mount -t cifs //192.168.0.1/rex /media/rex -o username=rex,password=rex,codepage=cp950,iocharset=utf8 

DD:

dd if=/dev/sda | gzip > /mount/rex/rex.img.gz

or

gzip -dc /mount/rex/rex.img.gz | dd of=/dev/sda

 

Qemu-img:

https://docs.openstack.org/image-guide/convert-images.html

F:\qemu>qemu-img.exe convert /rex.img/rex.img -O vmdk rex.vmdk

 

Upload Esxi

Home