I’ve been using Parallels Desktop for Mac to run a Debian Linux 6.0 virtual machine. I wanted to install the Parallels Tools in the Debian virtual machine so I could take advantage of better integration between the Linux virtual machine and the Mac OS X host computer.
It wasn’t as straightforward as I thought it would be but it wasn’t hard to figure out. I described the procedure I used below.
Start the virtual machine and log in.
In the Parallels menu, select the menu command:
Virtual Machine → Install Parallels Tools
This will mount a CD image on the virtual machine’s desktop that contains the Parallels Tools installer. But, some extra steps are required to install Parallels Tools.
Debian Linux automatically mounts the the Parallels Tools CDROM image when it is “inserted” into the virtual machine. But, for security reasons, the image is mounted in a state where no executable software on the CDROM will run.
We need to unmount the CDROM and then remount it with the execute option enabled using the following commands:
$ umount /media/cdrom $ sudo mount -o exec /media/cdrom
You will be asked to enter your super-user password.
Go to the cdrom folder and run the Parallels Tools install script with the following commands:
$ cd /media/cdrom $ sudo ./install
You will need to enter your super-user password, again.
The Parallels Tools installer will start up. Enter “Yes” to all questions. At the final step, you can restart the virtual machine or you can choose to quit the script and restart later.
If you restart later, unmount the Parallels Tools CD image.
$ sudo umount /media/cdrom
You need to restart the virtual machine for Parallels Tools to work.
Now you can enjoy the functionality provided by Parallels Tools when using this virtual machine.