VMWARE WKS 10 and / or VMPlayer 6 on ROSA Marathon and Fresh

Guides, tutorials & docs
Post Reply
User avatar
NicCo
Amministratore
Amministratore
Posts: 4739
Joined: 6 December 2007, 19:54

VMWARE WKS 10 and / or VMPlayer 6 on ROSA Marathon and Fresh

Post by NicCo »

VMWARE 10 Workstation > http://www.vmware.com/it/products/works ... tures.html
VMWARE Player 6.0 Plus > http://www.vmware.com/it/products/player/
Last edit> September 26, 2013: 21:30 pm
This Guide is only a first draft, I'll complete it ASAP (especially for the perfect Apple audio part, video accell...)

This Guide is posted also to ROSA Forum > http://forum.rosalab.ru/viewtopic.php?f=15&t=2453

I remind You that to use VMWare fully, you need a cpu supporting VT, and having it enabled in your Bios,
and that the Apple part has been tested by me only with different Intel cpus (some centrino, core2, i3/i5/i7)
more generally, all the Intel cpu supporting VT and with VT enabled can use with satisfaction this software.


About new VMWare 10 and/or VMPlayer 6.0, I have to say ...

I've installed and tested on both ROSA Marathon and Fresh

It works really great! :Yahoo!:



In the new VMWare 10 there are a lot of new features, many of those are really great:
for example the support of sersors for new windows, the support of USB3 to load VMS from, ecc...

the speed of the VM is increased, both as I / O transfers, much more reactive to open
folders, as well as the network as well as refresh rate of the windows and play videos



You can install:
- as new user, a first time installation mode
- as update, if you have already installed the previous version wks 9 or vmplayer 5,
you do not need the manual uninstall of old version,
because the installer for version 10 provides to uninstall the previous version first

You can enter the your serial number when installing or even after

works well on both, now I write a feedback on MIB and ROSA Forums

In my experience, Marathon must disable pcscd service as suggested in the errata for Marathon,
otherwise the boot can lasts more than 5 minutes...

Issue: (this may only happens with Marathon, Fresh does NOT suffers the issue!)
http://wiki.rosalab.ru/en/index.php/Err ... arathon_X1
Very long boot time with VMWARE installed
In case your boot takes very long time you can try disabling pcscd service in your host system. It can be done via drakxservices, or by executing command

Code: Select all

# systemctl disable pcscd.service
from root user.


After installing vmware, you need to manual add vmci module, if not, no VMs can start
You can install immediately with the command (from root)

Code: Select all

# modprobe vmci
To have this module loaded permanently, you can edit

Code: Select all

# mcedit /etc/modprobe.preload
adding simply the text

Code: Select all

vmci
then Save the file



Then I rebooted my ROSA OS to check if everything was working after a fresh reboot, out of the box...
and I can confirm that, after those operations I suggested above, everything is working like a charm



VMWare Store and Virtual Apps
https://solutionexchange.vmware.com/store/

Virtual appliances are ready-to-run virtual machines packaged with an operating system and software application.
You can search, find, download and testdrive pre-packaged applications from:
https://solutionexchange.vmware.com/sto ... appliances

Other Info:
https://solutionexchange.vmware.com/sto ... _and_vapps
Read our white paper on virtual appliances and vApps (pdf) to learn more.
https://vmware-partnerpedia-shared.s3.a ... epaper.pdf

http://www.vmware.com/it/workforce-mobi ... id-desktop
http://www.vmware.com/it/company/news/releases/vam.html



ANDROID Devices
you can try, download from there:
http://androvm.org/blog/download/




APPLE MAC OSX
(from all my experimental tests, this kind of virtualization with vmware is much faster than virtualbox...)

Apple VMs are NOT officially supported, but all the code is hidden in the core of installed linux version:
using a patch called "unlocker", you can unhide these features...

patching with unlocker 1.2.0, the existing VMs apple start fine, you can download here:
http://www.insanelymac.com/forum/topic/ ... -unlocker/

you can also avoid to subscribe to insanelymac.com, i found a copy of same file here:
the most recent version is called > unlock-all-v120
- http://rghost.net/48860299
- http://www.mrxuri.com/2013/10/04/instal ... chine.html
I remind You to read all the readme, i.e., an important step is your need to make the scripts as executable,
before trying to execute...

About the Apple VMs, in the Web you can download a lot of pre-installed OSX VMs (many torrents are available):
there are many version starting from 10.6 (Snow Leopard), 10.7 (Lion), 10.8 (Mountain Lion), 10.9 DPx (Mavericks beta)

after downloading, you simply need to extract into the destination folder, and launch clicking on the .vmx
(these ready VMs only start if you have patched with unlocker, if NOT you can see a rotating wheel forever...)

Suggestion:
if your VM has been prepped with previous VMWare products (for example with vmware 9.x):
when you run an existing OSX image it seems to boot but then all you see is the grey apple,
the solution is easy, you need absolutely to upgrade the virtual hardware to 10 compatiblity!




Mac OSX Hardware Drivers:
You need to install the vmware tools (guest addictions), here are contained in a virtual iso called darwin.iso:

You can download from here, where this is extracted from the Apple Fusion 6.0):
http://www.insanelymac.com/forum/files/ ... darwiniso/
it sends you to this direct address
http://softwareupdate.vmware.com/cds/vm ... op/fusion/
from where you must select the latest version, that actually is 6.0

You can find the darwin.iso, containing all the guest addiction drivers, also from this root path

Code: Select all

/usr/lib/vmware/isoimages
You can replace in Optical device, the direct path of darwin.iso, so you can install the drivers, and reboot
then you can remove the iso images, with the default phisical optical device address

After all these operations, everything should work fine, video resolutions, mouse, shared folders, network, NOT the audio part...




Mac OSX Audio driver: this part must apply only if you can NOT hear audio stream from your Vms
to have a perfect audio play, without hicups and or noises, we need to make some other few operations.

You must download & install the proper driver from:
http://sourceforge.net/projects/vmsvga2/files/Audio/

Download the proper audio driver for your MacOSX ver, and install it from the Mac OSX, and shutdown it.




At this point you need to modify the driver into the vmware VM configuration.
Enter the OSX VM folder, search the file ending with .vmx, you must edit it:

change from:

Code: Select all

sound.virtualDev = "hdaudio"
to this:

Code: Select all

sound.virtualDev = "es1371"
then Save all that

You can Reload your OSX VM and test the audio, now it should work, you might listen noises and/or interruptions




Getting Better Sound/Video Playback in VMWare
Distorted, crackling video and audio playback in vmWare?

Shut down your VM, edit your .vmx configuration file to add these entries:

Code: Select all

sound.virtualDev = "es1371"
pciSound.playBuffer = "80"
sound.maxLength = "2048"
sound.smallBlockSize = "1024"
sound.highPriority = "TRUE"
sound.bufferTime = "100"
"For even better quality playback adjust the value of "pciSound.playBuffer" to different values between 60 and 100 until you get the results you want.
- Test your new settings with a fresh YouTube video or MP3 file.
- If for any reason this crashed your sound driver in OS X... try removing the "sound.virtualDev" line from the config."




To have a perfect audio, sometimes you may need using the audio from DSP, so it can have the full access to "audio",
the DSP requires that you have previously installed the "aoss" driver, if you have not, now you can:

Code: Select all

# urpmi aoss
then you must lauch aoss "snd-pcm-oss", and I suggest also "snd-seq" to enable the MIDI play

Code: Select all

# modprobe snd-pcm-oss
# modprobe snd-seq
to avoid executing every times these command, you can put they both in the modules autostart

you can edit from root:

Code: Select all

# mcedit /etc/modprobe.preload
add the names of modules only, so

Code: Select all

snd-pcm-oss
snd-seq
then Save the modifies to file




Starting again your OSX Vm, this time, the Audio should play, probably with some noises and hicups:
but we have already prepared the DSP to help us with its new devices /dev/dsp or /dev/audio, and so
to avoid these bad thing and having a perfect audio quality, you must change, from the VMWare gui:
Sound Card from

Code: Select all

Audo detect (or Alsa / Pulse)
to

Code: Select all

/dev/dsp
write it, then Save

Beware:
1>it may happen that the enabled device is named /dev/dsp1 instead than /dev/dsp, I suggest to verify into /dev contents
2>it may happen that vmware gui saves a wrong config in .vmx and then the /dev/dsp results as not available or not existant, edit it
and replace the wrong text, for example:

Code: Select all

sound.fileName = "OSS: /dev/dsp"
with

Code: Select all

sound.fileName = "/dev/dsp"
removing the "OSS:" text part




Restart again your OSX VM, launch for example ITunes, choose a preferred Radio channel, click on it, and listen...
Is good enough? I hope yes... :)




WARNING: when you Mac OSX will use audio, Linux cant use, becasue the DSP is occupied
SOLUTION? Yes, certainly, there is one!
You can add a secondary audio card, this can also be a chip USB audio stick (about 10 euro)
When a secondary card is correctly plugged, you should have in /dev > /dev/dsp and /dev/dsp1
so, you can assign /dev/dsp1 to Mac OSX, leaving the embedded audio card for the linux host,
with two different audio outputs, or with a mixer, you can choose which audio you want listen,
because now Mac OSX and Linux (or also WIN VMs) can play simultaneously audio streams...




Mac OSX 2D/3D Video Acceleration > VMsvga2
To obtain better video perfs, I suggest to install this driver (the proper driver for OSX version)

VMware SVGA II display driver for OS X, v1.2.5
http://www.insanelymac.com/forum/topic/ ... os-x-v125/

You must download & install the proper driver from:
http://sourceforge.net/projects/vmsvga2/files/Display/




VMware SVGA II display driver: Video Memory
Info: http://kb.vmware.com/selfservice/micros ... nalId=1003

If you desire to change the video memory amount from "autodetect" mode to "specific" values,
you can edit your .vmx file, in the following way > Try adding: svga.autodetect = "FALSE"

and use one of these values:
svga.vramSize = "16777216" #VRAM 16MB
svga.vramSize = "33554432" #VRAM 32MB
svga.vramSize = "67108864" #VRAM 64MB
svga.vramSize = "134217728" #VRAM 128MB
It works only 16-128MB (128MB maximum.)

example, to configure the max of 128Mb VRam, you must add this text

Code: Select all

svga.autodetect = "FALSE"
svga.vramSize = "134217728" #VRAM 128MB
More VRAM can help reduce "thrashing" in the guest,
we may obtain a meaningful performance improvement

More Info about "trashing" issue
http://it.wikipedia.org/wiki/Memoria_virtuale#Thrashing
http://en.wikipedia.org/wiki/Virtual_memory#Thrashing




Mac OSX Video: FIt guest / Autofit Guest > guestd_patches.pkg

from Zenith432 words:
"In order to use fit-guest/autofit-guest with vmsvga2, you have to additionally install guestd_patches.pkg, which is found in the same download location. I split the installation package a long time ago - because the two components change at an unrelated pace - and it was a hassle to keep a single installer for both.
That said, the fit-guest support is broken under 10.9DP8. So stay tuned."

You must download & install the proper driver from:
http://sourceforge.net/projects/vmsvga2/files/Display/




Mac OSX Flash Player plugin:
After you've installed VMware SVGA II and rebooted, you can also install and/or use Adobe Flash Player:
you only need to disable the hardware accelleration, otherwise it would be impossible to play any videos

How do I disable or enable hardware acceleration?
http://forums.adobe.com/thread/891337

now you should be able to play and watch the most of videos also in the "full screen" mode...




How to compact your VMDK (It's the Virtual HD file with MacOSX contents)
Question: >>> http://www.insanelymac.com/forum/topic/ ... anup-vmdk/
Since VMware Workstation can't compress/reclaim space/cleanup HFS+ VMDKs, how would one get the space back without having to start over?

Answer: You need to zero unused sectors before compressing. When compressing a vmdk, it eliminates sectors only if they're all zero. Otherwise it can't know if the sector is occupied or not.

So go to any folder on the volume in the guest and run (open a Konsole / Terminal and execute the below command)

Code: Select all

cat /dev/zero >zero.fill; sleep 1; sync; sleep 1; /bin/rm -f zero.fill
Then shutdown the guest and run VMware's compression on the vmdk.
( >>> GoTo > Virtual Machine Settings > Hard Disk (SCSI) > click on "Utilities" box > choose "Compact" > Wait upto 100%
Your VM should has been successful compacted, you can verify the space used by the VM folder asking for Properties!)

Edit: note that it is not perfect, because there's some discarded space inside HFS metadata - like free inodes and such that are no longer used - but will not be zeroed with this. Not sure whether there's a tool for HFS to free unused metadata space.


Another method was suggested (this is not yet tested by me), in the same Forum topic, I'll forward it below:
I use Disk Utility to "Erase Free Space", select your virtual hard disk in DU select the Erase tab and click on the "Erase Free Space..." button I leave the default setting of "Fastest" and click on the "Erase Free Space" button and wait for the Erasing Free space to complete, it will take some time. Once complete shutdown the OS X VM, and edit Virtual Machine Settings, select the Hard Disk and select "Compact" from the "Utilities" pull down menu, a progress bar will appear to indicate the "Compacting virtual disk..." has started, again this will take some time, but at the end of the process the hard drive VMDK should have shrunk in size.


An interesting resource, with a lot of "kext" (mac kernel drivers) is here:
http://www.mediafire.com/zackehsoul

About software installing different than from Store
http://www.mcvsd.org/tips/powerteacher/ ... opers.html



All that I've suggested above has been tested and verified upto latest development Mac OSX version (Mavericks DP8)
and between Snow Leopard, Lion, M Lion and Mavericks, the best working are: Lion (10.7) and Mavericks beta (10.9)

Let me know if you like or find usefull this Guide..., if is clear, or if there are obscure parts that I can fix /enhance
https://wiki.archlinux.org/index.php/Pu ... _crackling
# echo load-module module-udev-detect tsched=0 >> /etc/pulse/default.pa
# pulseaudio -k ; pulseaudio --start

bye, NicCo
.
--- Professional experience ---
Kernel designer, engineer, maintainer and tester for ROSA Desktop and OpenMandriva Lx O.S.

--- currently I'm playing with ---
LTS Kernels > Linux 4.1.12-nrjQL <<< Linux 3.18.17-nrjQL <<< Linux 3.14.46-nrjQL
EOL Kernels > Linux 3.19.8-nrjQL <<< Linux 3.17.8-nrjQL <<< Linux 3.15.10-nrjQL

User avatar
ninarello19
Utente
Utente
Posts: 222
Joined: 4 March 2009, 15:56
OpenMandriva: 2010.2
Kernel: 2.6.38.2-desktop-nrj
Desktop: KDE 4.5.5

Re: VMWARE WKS 10 and / or VMPlayer 6 on ROSA Marathon and F

Post by ninarello19 »

Per quelli che non conosciamo l'inglese gradiremmo che ogn tanto ci sarebbe una guida anche nella nostra madre lingua che si chiama :
ITALIANO !!!!
Grazie
Ninarello19
ninarello19
=========
RosaDesktop.Fresh 2012.1 R1 - arch. x86_64 - KDE 4.10.4 MIB - Kernel 3.10.15-nrjQL-desktop-69rosa #1 SMP PREEMPT
O.S. alternativi su VMware workstation 10.0.0>>> Ubuntu, Windows XP Pro, Windows Seven e Mac come Macchine VIrtuali

User avatar
NicCo
Amministratore
Amministratore
Posts: 4739
Joined: 6 December 2007, 19:54

Re: VMWARE WKS 10 and / or VMPlayer 6 on ROSA Marathon and F

Post by NicCo »

ninarello19 wrote:Per quelli che non conosciamo l'inglese gradiremmo che ogn tanto ci sarebbe una guida anche nella nostra madre lingua che si chiama :
ITALIANO !!!!
L'area si chiama > Guides & Tutorials
se fosse prevalentemente in italiano il suo titolo sarebbe stato > Guide e Manuali

Purttroppo, non ho tempo si scrivere la stessa anche in Italiano:
se qualcuno che ha tempo e la vuole tradurre, è il benvenuto...

intanto consiglio di aggiornare spesso la pagina, perchè la Guide è ancora WIP e viene aggiornata spesso,
per esempio stamattina sono statti aggiunti due nuove parti per spiegare come su Mac OSX:
1>l'Accellerazione Video 2D, e 2>la corretta configurazione per il funzionamento di Flash Player
.
--- Professional experience ---
Kernel designer, engineer, maintainer and tester for ROSA Desktop and OpenMandriva Lx O.S.

--- currently I'm playing with ---
LTS Kernels > Linux 4.1.12-nrjQL <<< Linux 3.18.17-nrjQL <<< Linux 3.14.46-nrjQL
EOL Kernels > Linux 3.19.8-nrjQL <<< Linux 3.17.8-nrjQL <<< Linux 3.15.10-nrjQL

User avatar
NicCo
Amministratore
Amministratore
Posts: 4739
Joined: 6 December 2007, 19:54

Re: VMWARE WKS 10 and / or VMPlayer 6 on ROSA Marathon and F

Post by NicCo »

Here are two screenshots in 1024x768 taken from vmplayer 6.0 on ROSA Fresh x86_64

Host software: ROSA Linux Fresh x64 with Kernel 3.10.12
Host hardware: Asus H81M-A equipped with Intel I3 (4130)

Two examples of running VMs:
  • Stable Apple Mac OSX Lion (10.7.5) running in a window of ROSA Linux
  • Latest beta of new Apple Mac OSX 10.9 DP8 Mavericks, in "full screen"
Everything is working, audio, video, network, shared folders (you can see ROSA Fresh Home folders), all apps, ecc...


Mac OSX Lion (10.7.5) in a ROSA Window

immagine ridotta %



Mac OSX Mavericks (10.9 DP8) in full screen

immagine ridotta %
.
--- Professional experience ---
Kernel designer, engineer, maintainer and tester for ROSA Desktop and OpenMandriva Lx O.S.

--- currently I'm playing with ---
LTS Kernels > Linux 4.1.12-nrjQL <<< Linux 3.18.17-nrjQL <<< Linux 3.14.46-nrjQL
EOL Kernels > Linux 3.19.8-nrjQL <<< Linux 3.17.8-nrjQL <<< Linux 3.15.10-nrjQL

User avatar
NicCo
Amministratore
Amministratore
Posts: 4739
Joined: 6 December 2007, 19:54

Re: VMWARE WKS 10 and / or VMPlayer 6 on ROSA Marathon and F

Post by NicCo »

Editing in progress...
Please, Update this msg often, to see the updated text contents...
The above Guide needed a big update, now vmware has different ver.
This update is valid, has been tested, also for OpenMandriva Lx2014

The current version of VMware WorkStation and Player is 12.1
> VMware® Workstation 12 Pro - 12.1.0 build-3272444
> VMware® Workstation 12 Player - 12.1.0 build-3272444
  • ATTENTION:
    for ROSA R6 we suggest to use the previous version of vmware 12.0.1

    currently there are run problems with vmware 12.1 and the latest rosa glib update :(
    > from another Topic
    with ROSA R6 updated : VMware 12.1 does not start anymore...
    viewtopic.php?f=53&t=4651
  • for OpenMandriva 2014, we suggest to use the current and newest vmware 12.1

APPLE MAC OSX
(from all my experimental tests, this type of virtualization with the vmware is much faster than with virtualbox...)

Updated Tips:

1>
Apple OsX VMs are NOT officially supported, but all the code is hidden in the core of installed linux version:
using a patch called "unlocker", you can unhide amd enable these features...

Get the unlocker 2.0.8 script and install it, this is necessary to unlock the VMware hidden Mac emulation part
patching with unlocker 2.0.8, the existing VMs apple start fine, you can download it from here:
http://www.insanelymac.com/forum/topic/ ... nlocker-2/

you can also avoid to subscribe to insanelymac.com, there is a copy of same file that you can get immediatley, from here:
the most recent version is called > unlocker 2.0.8
- http://www.daveparsons.net/downloads/unlocker208.zip

I remind You to read all the readme, i.e., an important step is your need to make the scripts as executable,
before trying to execute... [/quote]


2>
About the Apple VMs, in the Web you can find a lot of pre-installed OSX VMs (many resources are available):
there are many different versions starting from
10.6 (Snow Leopard), 10.7 (Lion), 10.8 (Mountain Lion), 10.9 (Mavericks), 10.10 (Yosemite), 10.11 (El Capitan)

after downloading, you simply need to extract into the destination folder, and launch clicking on the .vmx
(these ready VMs only start if you have patched with unlocker, if NOT you can see a rotating wheel forever...),
then you can choose the location, language, keyboard, apple id, and so on, up to completing your installation.


3>
VMware made a good job improving a lot the drivers, after installing the drivers from the current darwin.iso,
we need no more to install the 3rd party drivers for video and audio, as the supplied drivers work just fine...,

from VMware CDS Repository, here the proper OSx drivers suited for VMware 12.1:
https://softwareupdate.vmware.com/cds/v ... /packages/
you can download this archive:
https://softwareupdate.vmware.com/cds/v ... in.zip.tar
open the zip file, into a folder called "payload" there is "darwin.iso", mount this iso in the Settings > CD/DVD > Use ISO Image
when the MacOSx start will propose you a window with the vmware guest extensions, you must install these asap, then reboot


4>
Ignore all the previous suggestions on Video and Audio, now those must be considered old / obsolete, not working too!

Now Graphics and Video emulation is better with the official vmware drivers from darwin.iso

If you suffer a bad performance for a slow rate of video playing and refresh (only with Yosemite (10.10) and EL Capitan (10.11))
you can solve with the installation of a little tool called BeamOff

Suggestions for BeamOff, download link and install, from here:
http://www.insanelymac.com/forum/topic/ ... -unusable/

More Info:
https://derflounder.wordpress.com/2014/ ... re-fusion/
http://www.ryadel.com/os-x-yosemite-e-v ... risolvere/


5>
Audio now is finally working, out of the box, and with an High Quality 24bit audio driver,
you can select it from VMware Settings (I just choosed: ALSA: HDA Intel PCH)
- Audio streams can be played also concurrently (Linux Host with the OSX guest vm)
with no more need to enable the AOSS with /dev/dsp (locking audio to vmaware only)

I noticed that, at least this is true with my laptop, that we can obtain better audio quality:
configuring the same PulseAudio and MacOSx audio mode: 24bit mode / 96K bit rate

Code: Select all

How to sync the audio resource from Linx Host and Mac OSx guest vm...

I am testing this trick only with my lapttop (it may not work with a different hw),
soon I'll try the same changes, also on a desktop PC...

Linux, if you are using the Pulse Audio, can be improved, changing the PA defaults,
from it's configuration file (Openmandriva uses 16bit audio / 44.1Khz as defaults)

Edit the file (root mode)
/etc/pulse/daemon.conf

Save a backup of the default configuration, so you will be able to go back, if any problem...

I changed it, in this way:

from
; default-sample-format = s16le
; default-sample-rate = 44100
; alternate-sample-rate = 48000

to:
default-sample-format = s24le
default-sample-rate = 96000
alternate-sample-rate = 96000

Save the modified file 
/etc/pulse/daemon.conf

Kill the PulseAudio daemon, with
# killall pulseaudio

then PA, after about one minute, will restart itself automatically, using our new saved config


In the Mac OSx vm, you need to go to: 
LaunchPad > Other > Config MIDI and audio...

Integrated Output > Output >  you can try...
96000.0  Hz --- 2scan - 24bit (Integer num.)

-----------------------
Congrats:
now you have the same configs for Linux Host and Mac OSx guest

- You may need to restart everything 
(close youir Osx vm then call for a Linux Host reboot)
- If the audio is still popping, crackling, with distortion, you may need:
GoTo OsX: System Preferences > Sound > Output
then switch: from Earphone > to Output, > to Earphone (again)
or you can try to change the VMware Kmix volume from down to  up

with this little trick (it may need only once for an emulation session)

6>
Mac OSX Flash Player plugin:
After you've installed VMware SVGA II and rebooted, you can also install and/or use Adobe Flash Player:
you only need to disable the hardware accelleration, otherwise it would be impossible to play any videos

How do I disable or enable hardware acceleration?
http://forums.adobe.com/thread/891337

now you should be able to play and watch the most of videos also in the "full screen" mode...


7>
How to Resize and Expand Partitions on Mac OS X on VMware
https://www.youtube.com/watch?v=qIINnuBRsmg


8>
How to compact your VMDK (It's the Virtual HD file with MacOSX contents)
Question: >>> http://www.insanelymac.com/forum/topic/ ... anup-vmdk/
Since VMware Workstation can't compress/reclaim space/cleanup HFS+ VMDKs, how would one get the space back without having to start over?

Answer: You need to zero unused sectors before compressing. When compressing a vmdk, it eliminates sectors only if they're all zero. Otherwise it can't know if the sector is occupied or not.

So go to any folder on the volume in the guest and run (open a Konsole / Terminal and execute the below command)

Code: Select all

cat /dev/zero >zero.fill; sleep 1; sync; sleep 1; /bin/rm -f zero.fill
Then shutdown the guest and run VMware's compression on the vmdk.
( >>> GoTo > Virtual Machine Settings > Hard Disk (SCSI) > click on "Utilities" box > choose "Compact" > Wait upto 100%
Your VM should has been successful compacted, you can verify the space used by the VM folder asking for Properties!)

If this does not shrink/compress your vmdk as expected, you can try the command:

Code: Select all

$ vmware-vdiskmanager -k "/home/user/full-path-to-vmdk/OS X 10.11 El Capitan.vmdk"
Edit: note that it is not perfect, because there's some discarded space inside HFS metadata - like free inodes and such that are no longer used - but will not be zeroed with this. Not sure whether there's a tool for HFS to free unused metadata space.

Other discussions:
> http://www.insanelymac.com/forum/topic/ ... os-x-vmdk/
> http://blog.oshim.net/2013/01/shrink-sp ... -os-x.html

9>
An interesting resource, with a lot of "kext" (mac kernel drivers) is here:
http://www.mediafire.com/zackehsoul

About software installing different than from Store
http://www.mcvsd.org/tips/powerteacher/ ... opers.html


10>
An interesting source of Tutorial:
https://plus.google.com/+TechReviewschannel

for example:
Install OS X El Capitan 10.11 Retail on VMware on Windows PC (Download links)
https://www.youtube.com/watch?v=wodqGvug6e0

interesting:
How to Resize and Expand Partitions on Mac OS X on VMware
https://www.youtube.com/watch?v=qIINnuBRsmg


11>
If you have skips or crackling on audio, you can try:
https://wiki.archlinux.org/index.php/Pu ... _crackling

# echo load-module module-udev-detect tsched=0 >> /etc/pulse/default.pa
$ killall pulseaudio ; pulseaudio --start


12>
All that I have suggested above has been tested and verified up to the latest Mac OSX version (El Capitan 10.11)

Let me know if you like or find usefull this Guide..., if is clear, or if there are obscure parts that I can fix / enhance
https://wiki.archlinux.org/index.php/Pu ... _crackling
# echo load-module module-udev-detect tsched=0 >> /etc/pulse/default.pa
# pulseaudio -k ; pulseaudio --start
.
--- Professional experience ---
Kernel designer, engineer, maintainer and tester for ROSA Desktop and OpenMandriva Lx O.S.

--- currently I'm playing with ---
LTS Kernels > Linux 4.1.12-nrjQL <<< Linux 3.18.17-nrjQL <<< Linux 3.14.46-nrjQL
EOL Kernels > Linux 3.19.8-nrjQL <<< Linux 3.17.8-nrjQL <<< Linux 3.15.10-nrjQL

Post Reply