VMware: รวมรายการที่ต้องปรับแต่ง

Post Reply
tong
Site Admin
Posts: 2387
Joined: Fri 01 May 2009 8:55 pm

VMware: รวมรายการที่ต้องปรับแต่ง

Post by tong »

vmware_bios.png ปกติแล้วจะบูทเร็วมาก จนมองหน้า BIOS ไม่ทันเลย
ให้แก้ไขไฟล์ *.vmx

Code: Select all

bios.bootDelay = "10000"
หน่วยเป็น ms
tong
Site Admin
Posts: 2387
Joined: Fri 01 May 2009 8:55 pm

Windows 7: รวมรายการที่ต้องปรับแต่ง 2

Post by tong »

Virtual disk

แบ่งออกเป็นหลายชนิด ตัวอย่างเช่น
  • Single growable virtual disk ข้อมูลจะเก็บอยู่ที่ไฟล์ *.vmdk
  • Growable virtual disk split in 2GB files
  • Preallocated virtual disk ข้อมูลจะเก็บอยู่ที่ไฟล์ *.vmdk และ *-flat.vmdk
  • Preallocated virtual disk split in 2GB files
โดยที่ไฟล์ config จะอยู่ที่ไฟล์ *.vmx

ตัวอย่างแปลงให้เป็น single growable virtual disk

Code: Select all

C:\Program Files\VMware\VMware Workstation>vmware-vdiskmanager.exe -r "W:\old.vmdk"  -t 0  "W:\new.vmdk"
ตัวอย่างแปลงให้เป็น preallocated virtual disk

Code: Select all

C:\Program Files\VMware\VMware Workstation>vmware-vdiskmanager.exe -r "W:\old.vmdk"  -t 2  "W:\new.vmdk"
ไม่สามารถลดขนาดได้ จะต้องใช้เทคนิคดังนี้

1. เพิ่ม virtual disk อีกตัวที่มีขนาดน้อยกว่าเดิมตามต้องการ
2. แล้วใช้ปรแกรม clone
3. จากนั้นจึงลบ virtual disk ตัวเก่าออก
tong
Site Admin
Posts: 2387
Joined: Fri 01 May 2009 8:55 pm

VMware: Activate Windows Vista or Windows 7

Post by tong »

วิธีเพิ่ม SLIC ให้กับ VMware BIOS

Method 1

ให้แก้ไขไฟล์ *.vmx

Code: Select all

SMBIOS.reflectHost = "TRUE"
Method 2

ดาวโหลด BIOS จาก

Code: Select all

http://forums.mydigitallife.info/threads/13029-VMWARE-Bios-Mega-Pack
แล้วแก้ไขไฟล์ *.vmx

Code: Select all

bios440.filename = "Dell.rom" 
Method 3

ใช้ patch tool

Code: Select all

http://forums.mydigitallife.info/threads/11152-VMware-Workstation-%28Multi-Brand%29-Bios-Installer
tong
Site Admin
Posts: 2387
Joined: Fri 01 May 2009 8:55 pm

Re: Windows 7: รวมรายการที่ต้องปรับแต่ง

Post by tong »

Download Certificates
http://forums.mydigitallife.info/thread ... Repository

Windows 7 OEM SLP Key Collection
http://forums.mydigitallife.info/thread ... Collection


Change Certificate

Code: Select all

slmgr.vbs -ilc DELL.XRM-MS
Change Serial Number

Code: Select all

slmgr.vbs -ipk 342DG-6YJR8-X92GV-V7DCV-P4K27
Check Activation Status

Code: Select all

slmgr.vbs -dlv
tong
Site Admin
Posts: 2387
Joined: Fri 01 May 2009 8:55 pm

Re: VMware: รวมรายการที่ต้องปรับแต่ง

Post by tong »

Adding max video resolution

Code: Select all

svga.autodetect = "FALSE"
svga.maxWidth = "1280"
svga.maxHeight = "850"
svga.vramSize = "16777216"
svga.vramSize = "16777216" = 16MB

1280x850x4 is less than 16MB. Good!
tong
Site Admin
Posts: 2387
Joined: Fri 01 May 2009 8:55 pm

Re: VMware: รวมรายการที่ต้องปรับแต่ง

Post by tong »

Set ethernet card for Android

Code: Select all

ethernet0.virtualDev = "vlance"
tong
Site Admin
Posts: 2387
Joined: Fri 01 May 2009 8:55 pm

Re: VMware: รวมรายการที่ต้องปรับแต่ง

Post by tong »

Adding custom Windows 7 resolution

Code: Select all

"C:\Program Files\VMware\VMware Tools\VMwareResolutionSet.exe" 0 1 , 0 0 1280 850
"C:\Program Files\VMware\VMware Tools\VMwareResolutionSet.exe" 0 1 , 0 0 1440 900
"C:\Program Files\VMware\VMware Tools\VMwareResolutionSet.exe" 0 1 , 0 0 1500 900
"C:\Program Files\VMware\VMware Tools\VMwareResolutionSet.exe" 0 1 , 0 0 1600 900
tong
Site Admin
Posts: 2387
Joined: Fri 01 May 2009 8:55 pm

Re: VMware: รวมรายการที่ต้องปรับแต่ง

Post by tong »

Fix error "No 3D support is available from the host. The 3D features of the virtual machine will be disabled."

VMware 12 require D3D10.1 or DX11.
To enable D3D10, specify the following VMX config options.

Code: Select all

mks.enableD3DRenderer = "TRUE"
mks.enableDX11Renderer = "FALSE"
tong
Site Admin
Posts: 2387
Joined: Fri 01 May 2009 8:55 pm

Re: VMware: รวมรายการที่ต้องปรับแต่ง

Post by tong »

What are VMnet0, VMnet1, and VMnet8 ?

To configure the guests using different network types with different capabilities:

Bridged (VMnet0) : The VM uses an IP in the same subnet as the host and is fully visible on this subnet.

Host-Only (VMnet1) : The VM can only connect to the host.

NAT (VMnet8) : The VM can reach subnets outside of the host, but is not seen since the guest IP is natted with the host IP.
Post Reply