Search the Community: Showing results for tags 'vmdk'.
Found 3 results
Simple steps to create macOS Installer for Vmware on Linux or Windows This guide describes how you can create a Vmware image (vmdk) for installing macOS in Vmware. Most tutorials about this topic require an ISO installer file that was typically created in macOS or you have to download some preinstalled image file from unknown source. None of them are ideal. But if you follow the steps below, you will not need to access macOS and will use official and trusted sources. First of all download gibMacOS from here and set up https://github.com/corpnewt/gibMacOS Run the script to download the full macOS installer: on Linux: gibMacOS.command on Windows: gibMacOS.bat Install qemu-img converter on Linux (Debian or Ubuntu): install qemu-tools package on Windows use this installer: https://qemu.weilnetz.de/w64/ when you run the installer, it is enough to select the "tools" and "dll library". Convert the downloaded BaseSystem.dmg to Vmware image run the following commmand in that directory where BaseSystem.dmg was downloaded (somewhere here: gibMacOS-master/macOS Downloads/publicrelease/061-44387 - 10.15.3 macOS Catalina) on Linux: qemu-img convert -O vmdk -o compat6 BaseSystem.dmg recovery.vmdk on Windows: c:\"Program Files"\qemu\qemu-img convert -O vmdk -o compat6 BaseSystem.dmg recovery.vmdk Use the previously created image to install macOS in Vmware I assume you have a patched and working Vmware already. If not, find another guide but in nutshell: - confirm the VT-x is supported on your Intel machine (if you are on AMD you may not able to virtualize macOS or you need to do more work) - install VMware Workstation or VMware Workstation Player (free for non-commercial use) - use an unlocker to patch the Vmware to support macOS guest currently this works well: https://github.com/BDisp/unlocker/ So when you are here you have a patched Vmware and a Vmware image (recovery.vmdk). Run Vmware and create a new virtual machine by choosing macOS guest. But add another hard disk as well with selecting to use an existing virtual disk. Browse the recovery.vmdk. You will get a warning about the image is not in the latest format but choose to keep the existing format. After you installed the macOS, install the vmware tools as well. Tested on Windows 10 with macOS Catalina 10.15.3 in Vmware 15.5 Player Comments are welcome.
How to shrink os x .vmdk in vmware workstation 12 As most people probably notice is that .vmdk file expands and never shrinks down back again it just gets bigger and bigger. The solution to fix this in vmware workstation 12 is this: Open terminal on your guest os OS X machine and run this command: Macintosh\ HD is the name of your harddrive so it might not be Macinthosh \HD for you so check that you type the correct name for your HardDrive. Use "sudo" instead of "su" if its yosemite or newer su diskutil secureErase freespace 0 Macintosh\ HD It will take some time and when it goes 90+% it will give you an error message that it ran out space and failed just ignore that and let it finish. When it has finished shutdown the Guest os and run this command in CMD (command prompt) as administrator on the main OS. path-of-vmware-folder\ vmware-vdiskmanager.exe -k path-of-virtual-machine\guest-name.vmdk Exampel of the one i had to use and dont forget the " " or you will get an error message and it wont start. C:\"Program Files (x86)\VMware\VMware Workstation\vmware-vdiskmanager.exe" -k "E:\Virtual Machines\OS X 10.9 Mavericks\OS X 10.9 Mavericks.vmdk" This will take some time also so but when its done your .vmdk will now be shrinked down to its real and correct size. I have added and changed so many files on my os x that it became 70gb+ in size but after running this it shrinked back down to just 10,4gb. The information was gathered from this blog but the commands he had didnt make vmware workstation 12 so it will look different from the blog and he didnt add su to the command and without it will stop. http://blog.oshim.net/2013/01/shrink-sparse-disk-image-of-mac-os-x.html
I'm running Ubuntu 11 and have Lion installed to a vmdk and running in VirtualBox. I have an unformatted 30gb partition that I want to move the installation to. How can I format that partition HFS+ and copy the contents of my vmdk to it? The main step is to dd something to that partition, right? A couple of caveats: I don't have a USB flash drive to help. I do have an install DVD with Chameleon on it, but it won't get further than the bootloader. But if, for now, I need it for now to actually boot from that partition, that's OK. Thanks for your wisdom!