Apr 26, 2012, 08:25 PM
Ubuntu 12.04 support
Obviously, as of this writing, Ubuntu 12.04 is very new, but I tried installing it anyway in a VM on Parallels Workstation Build 6.0.13950 (Revision 714087; November 24, 2011). Is Ubuntu 12.04 support coming soon?
Host OS = Win 7 Home Premium 64-bit
Guest = Ubuntu 12.04 Desktop 32-bit
As I expected, Parallels Tools failed to install. Here is the relevant parts at the end of the install log:
Thu Apr 26 19:05:48 CDT 2012
Start installation or upgrade of Guest Tools
Installed Guest Tools were not found
Perform installation into the /usr/lib/parallels-tools directory
cat: /usr/lib/parallels-tools/kmods/../version: No such file or directory
Start installation of prl_eth kernel module
make: Entering directory `/usr/lib/parallels-tools/kmods'
cd prl_eth/pvmnet && make
make: Entering directory `/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
make -C /lib/modules/3.2.0-24-generic-pae/build M=/usr/lib/parallels-tools/kmods/prl_eth/pvmnet
make: Entering directory `/usr/src/linux-headers-3.2.0-24-generic-pae'
CC [M] /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.o
/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.c:391:4: error: unknown field ‘ndo_set_multicast_list’ specified in initializer
/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.c:391:4: warning: initialization from incompatible pointer type [enabled by default]
/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.c:391:4: warning: (near initialization for ‘pvmnet_netdev_ops.ndo_open’) [enabled by default]
make: *** [/usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.o] Error 1
make: *** [_module_/usr/lib/parallels-tools/kmods/prl_eth/pvmnet] Error 2
make: Leaving directory `/usr/src/linux-headers-3.2.0-24-generic-pae'
make: *** [all] Error 2
make: Leaving directory `/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
make: *** [all] Error 2
make: Leaving directory `/usr/lib/parallels-tools/kmods'
Error: could not build kernel modules
Error: failed to install kernel modules
2012-04-26T19:05:54-0500: execCmd: ./install --install 
2012-04-26T19:05:54-0500: Error: An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information.
2012-04-26T19:05:59-0500: Exiting with code 1
Apr 28, 2012, 05:57 PM
I've had the same error while installing parallels tools on Ubuntu 12.04 guest.
I was able to come up with a solution.
Tested in my case and it works. Can't give any guarantee but I thinks it's worth of checking:
Here's what I did:
1. Unpack the kmods/prl_mod.tar.gz
2. Edit the file: kmods/prl_eth/pvmnet/pvmnet.c
Change in line 391,
.ndo_set_multicast_list = pvmnet_set_multicast_list,
.ndo_set_rx_mode = pvmnet_set_multicast_list,
3. Repack the prl_mod.tar.gz and launch the installer.
Run the install and now it should pass just fine.
Apr 28, 2012, 07:55 PM
I followed your instructions, and the install of Tools did proceed successfully. It looks like everything works, except for the mouse. There is no mouse access, not even a pointer, in my Ubuntu 12.04 guest at all. Any way to fix that?
Apr 28, 2012, 07:59 PM
Great to hear. But I'm afraid the mouse problem will need to wait for official update of mouse driver from the parallel dev team. It seems that the current one won't work with the Xorg server version in Ubuntu 12.04. I've filed a problem report, you might do the same thing to speed things up.
Apr 28, 2012, 08:11 PM
Apr 28, 2012, 08:12 PM
No problem. Glad I've could help.
How do I install the Parallels Tools for Ubuntu 12.04? This new version of Ubuntu has completely disabled the ability to login to the root user through the opening GUI login screen, and root access is required in order to install Parallels Tools. The other alternative method that I have tried but failed, was in my normal user account, open the terminal and navigate to the "media/Parallels Tools" directory and then try "sudo install". But it just complains that there is a "missing file operand" and won't run the install file. What am I missing?
Open the terminal and type in:
sudo -s -H
then if asked enter Your users password (not root's).
EDIT: Also remember to copy files from the media/Parallels Tools/ to somewhere on your disk.
From my understanding it needs rw access to disk to unpack some tools it needs.
Sorry, I have tried this but does not change the result I reported originally. In the past versions of Ubuntu that would allow me to login to root user through the opening GUI screen, I could simply mount the Parallels Tools iso, double-click on the "Install" file in the main directory of the iso, then click "Run in Terminal", and I would get an easy to follow wizard install program that does the job. I've never had to manually execute the Install file from the terminal first and that's where the problem is.
Originally Posted by JakubL
The error "missing file operand" to my understanding implies there is some needed extra command I need to type in order to launch that same wizard program. Right now, even when logged into root user in the terminal, regardless of if I type "sudo install" or just "install" while in the correct directory, I still get "missing file operand".
May 2, 2012, 06:27 PM
cd /media/Parallels\ Tools/ && ./install
EDIT: Your error means You forgot to add the "./". install is a linux command that's why You get this message. If You give the dot and slash it will launch the file called install instead of linux command.
Last edited by JakubL; May 2, 2012 at 06:31 PM.
May 14, 2012, 04:04 PM
Hey, I tried your solution JakubL and modified the c-file, repackaged it. However, I'm having trouble executing the installer if it is not in the mounted Parallels image.
If I do a "sudo sh '/home/me/pt/install' (or a 'sudo sh ./install'), I get an error that I do not have permission to execute the 'installer.x86_32'. That's weird, since I called the install script with sudo. Do you have an idea?
May 14, 2012, 06:28 PM
Try without the "sh" in commandline.
May 15, 2012, 03:56 AM
I tried, but then I get a "sudo ./install": command not found" error. It only works with sh. If I don't use the terminal, i.e. double-click on "install" on the mounted Parallels image I get asked if I want to launch the file or open it with an editor. I don't get ask if I double-click on the local "install".
Jun 1, 2012, 06:30 PM
Do we know if this is going to get fix anytime soon? (with out having to do the hack)
Jun 4, 2012, 11:54 AM
I'm not aware of any progress.. I'd love to have better Ubuntu support too, without working Parallels tools it's not very comfortable to use.
Jun 19, 2012, 08:17 AM
Seems like the Mac version has it (http://forum.parallels.com/showthread.php?t=259301).
Maybe that counts for something.
Just got an answer for customer support where I asked about plans for Ubuntu 12.04 and just got an answer that Ubuntu 12.04 isn't supported. Seems like the support guy didn't really read my question :P
Jun 19, 2012, 04:45 PM
Well, I can install the Tools again, but it's not really working. If I go to Lion full-screen the resolution is not adjusting etc. A shame :( It worked so well in the beginning...
Jun 19, 2012, 05:23 PM
Strange..are you running Parallels Desktop on Mac or Workstation on Windows/Linux?
Jun 19, 2012, 05:26 PM
I run it on an iMac 27" 2011. I don't know.. I updated Ubuntu to the latest packages just before installing the new Tools, maybe it's broken again. Or there's some old stuff in the way.. is there a way to completely remove the old Parallels Tools and start from scratch?
Originally Posted by Lars-EivindB
Jun 19, 2012, 05:29 PM
I don't know :-\
However - the Mac version (Parallels Desktop) is at version 7, which has experimental support for Ubuntu 12.04.
The Windows/Linux version (Parallels Workstation) is at version 6, which does not have Ubuntu 12.04 support yet :(
These are two different product that do not necessarily support the same things, unfortunately.