1.Download the Image
From: Telegram Group
2. Mac install tools
1  | # To un-gzip .gz files  | 
3.Convert .img to .vmdk
1  | gunzip openwrt-19.07.4-x86-64-combined-ext4.img.gz  | 
4.Upload the VMDK to ESXi
You can either upload the image using scp command or via web UI. However, I would suggest enable SSH on your ESXi host and use scp, as the next step requires shell prompt on the host.
1  | scp openwrt-19.07.4-x86-64-combined.vmdk root@esxi:/vmfs/volumes/datastore1/  | 
5. Fix Unsupported or invalid disk type 2 for ‘scsi0:0’
1  | #磁盘格式转换为thin  | 
Done! Now we can create and boot a VM with adding openwrt-converted.vmdk as the primary disk. Enjoy it!
注:内容来自网络
- 本文作者: GaryWu
 - 本文链接: https://garywu520.github.io/2021/12/13/img-to-vmdk-for-macos/
 - 版权声明: 本博客所有文章除特别声明外,均采用 MIT 许可协议。转载请注明出处!
 
		