If you are running a macOS virtual machine on a Mac with Apple M series chip, you may notice a lack of a cogwheel configuration icon.
This is because currently, adjusting the configuration of such a virtual machine is only possible by editing a configuration file inside the virtual machine package.
Note. You may see a virtual machine configuration cogwheel icon in the Control Center. Please note that the feature to modify configuration using UI is yet to be implemented, hence the icon is grayed out.
The following settings of a macOS virtual machine on a Mac computer with Apple M series Chip can be adjusted:
- number of CPU cores allocated to the virtual machine;
- amount of RAM allocated to the virtual machine;
- network mode (Shared/Bridged);
- virtual machine's display resolution and pixel density;
- sound toggle.
Note: macOS ARM VM's disk size is 60 GB by default. It can be set to a different value during the manual installation process, but once the virtual machine is created, disk size cannot be changed.
To adjust the aforementioned settings, please perform the following steps:
- Shut down your virtual machine.
- Locate the virtual machine .macvm file: click on Parallels icon || > Control Center > right-click on the virtual machine > Show in Finder.
- Right-click .macvm bundle > Show package contents.
- Locate config.ini file. If it doesn't exist, open Terminal (Applications > Utilities > Terminal) and execute the following command:
touch ~/Desktop/config.iniThis will create a config.ini file on your Mac Desktop. Drag and drop it inside the .macvm bundle.
- Open the file in TextEdit: right-click config.ini > Open With > Other, check Enable All Applications select Text Edit, and click Open.
- Add the following text:
[Hardware] vCPU.Count=2 Memory.Size=2147483648 Display.Width=1312 Display.Height=824 Display.DPI=226 Sound.Enabled=1 Network.Type=1
The text above represents a generic configuration. You can change the resolution by adjusting Display.Width and Display.Height values, toggle network mode between Shared and Bridged by changing Network.Type (see KB 128519), change the amount of RAM (in bytes) by adjusting Memory.Size etc.
Once you've made the necessary adjustments, simply press CMD+S to save the changes, and start the virtual machine.
Share Mac files with the virtual machine
File sharing between the main system and a macOS ARM VM is not supported. This includes consequential features such as drag-and-drop. However, you can share files between the virtual machine and the Mac using the native macOS file sharing feature as you would between two physical Mac computers.
Add a secondary virtual hard drive
As an advanced step, you may connect an .dmg or .img disk image as a secondary virtual hard drive.
It may be useful for example to transfer large amounts of data between two macOS ARM virtual machines or when you need to extend the storage capacity of a virtual machine without having to recreate it.
Create an empty image
To create an empty .dmg image, open Terminal (Applications > Utilities > Terminal) and execute the following command:
hdiutil create -size <size_in_bytes> -fs APFS -type UDIF -volname <volume_name> <output_img_path>
hdiutil create -size 20000000 -fs APFS -type UDIF -volname "MyVolume" ~/Desktop/mydisk.dmg
will create a 20-megabyte mydisk.dmg file on the Desktop. When connected, the volume will show up as "MyVolume".
Create a read-only image from a directory
To turn a macOS directory into a read-only .dmg image, open Terminal and execute the following command:
hdiutil makehybrid -hfs -hfs-volume-name <volume_name> -o <output_img_name> <directory_path>
hdiutil makehybrid -hfs -hfs-volume-name "MyVolume" -o ~/Desktop/mydisk1.dmg ~/Desktop/EmailTemplates
To connect such an image, put it inside the .macvm bundle next to the config.ini file, and in the config.ini add the following line:
In the case of the example above, that would be:
Once you run the virtual machine, and it boots up, you will see the image available in the virtual machine's Finder.
And in case of an empty image, you can transfer data to it.
Once the virtual machine is shut down, you can mount the image to your main system by double-clicking on it.
Change the name of the virtual machine
To change the name of your macOS virtual machine open Terminal and execute the command below:
prlctl set "macOS 13" --name "macOS 13 New Name"
where macOS 13 is the current name of your virtual machine.
Additional functionality added in Parallels Desktop 18
Please note that starting with Parallels Desktop 18 you can register your macOS virtual machine in Control Center which will bring additional functionality to the operations with the virtual machine:
- create clones of the VM;
- use prlctl start, stop, register, destroy, and clone commands to work with the virtual machine from Terminal.