SUSE Studio VMware Howtos
VMware howto 文档注意事项
- Virtual machines in the VMware format are similar to disk images, but with special information which specifies memory and hard drive sizes.
- To use these images, simply open the file in VMware, VMware player, or VirtualBox.
- This set of howtos are specific to vmware machines. They are focused on changing some stuff after the image is build but usually after booting for the first time.
- Direct links to other howto sections: General | KDE | Gnome | VMware | VirtualBox | DiskImage (USB stick) | LiveCD/DVD (.iso)
如何开启 VMware ESX 支持
- The VMware image produced by SUSE Studio is not directly capable of running on VMware ESX. You have to convert the .vmdk file first using this command:
esxhost # vmkfstools -i original.vmdk new.vmdk
- Create a new VM with the VMware Virtual Infrastructure Client
- Specify that you have an existing disk you want to use for this VM
- Select the .vmdk you created in the previous step.
- You can convert a growable virtual disk (which is what SUSE Studio creates) to a preallocated disk with 'vmware-vdiskmanager'. It is bundled with the standard VMWare installation.
- Preallocated disks offer better I/O performance over growable ones at expense of disk space.
- The following command converts the growable "sourceDisk.vmdk" to a preallocated "destinationDisk.vmdk":
vmware-vdiskmanager -r sourceDisk.vmdk -t 2 destinationDisk.vmdk
如何修改 VMware 的硬件
- All hardware in vmware is defined into the .vmx file. This is a text file you can edit with any text editor. Be careful when editing this file. Also, edit this file before any boot, as on the first boot the hardware detection will happen and it would be too late to make permanent changes.
如何修改 VMware 盘上的配置
- Use vmware-tools. In short, use the vmware-mount tool utility. This way you can mount the disc and change configurations before you boot.
- See how to change hardware on vmware