序列号
VMWare 17 pro
JU090-6039P-08409-8J0QH-2YR7F
VMWare 16 pro
ZF3R0-FHED2-M80TY-8QYGC-NPKYF
VMware 15 Pro
ZA54H-4UDDH-M813Y-HYP59-N6KA4
YU380-68E45-089FZ-ENZZX-WP8T0
VMware 14 Pro
FF31K-AHZD1-H8ETZ-8WWEZ-WUUVA
CV7T2-6WY5Q-48EWP-ZXY7X-QGUWD
VMware 12 Pro
5A02H-AU243-TZJ49-GTC7K-3C61N
AA3E0-0VDE1-0893Z-KGZ59-QGAVF
Config
vi /root/vms/machine_a/vm.vmx
Boot Delay
Boot Delay 是 VMWare Guest Machine 的 VMWare Boot Screen 显示时长,在这个界面可以更改 Guest Machine 的 BIOS 设置(按 F2),从网络启动(按 F12),或改变其 boot sequence (按 Esc)等。
默认的 Boot Delay 为 0,来不及按 F2 / Esc。
要修改 Boot Delay,在 Guest Machine 的 vmx 配置文件里加上:
# milliseconds
bios.bootdelay = 5000
Tips & Solutions
Take ownership of guest machines
- kill vmware-vmx process of the guest machine
- rm -rf *.lck in the dir where the guest machine's .vmx config file located in.
Start VM without GUI
vmrun -T ws start /root/vmware/vm/vm.vmx nogui # which fork the actual vm process and exit
Convert vmdk to qcow2
apt-get install qemu-img
yum install qemu-img
qemu-img convert -f vmdk -O qcow2 file.vmdk file.qcow2
"Unable to Change Virtual Machine Power State: Cannot Find a Valid Peer Process to Connect to"
vmrun stop /path/to/virtual_machine.vmx soft
如果命令长时间无响应,Ctrl + C 停掉,最后一个参数换成 hard 重试。
执行后就可以正常启动虚拟机了