Troubble installing Parallels Tools in ubuntu 11.10

Discussion in 'Linux Virtual Machine' started by Ramy1989, Nov 3, 2011.

  1. Ramy1989

    Ramy1989 Bit poster

    Messages:
    9
    Hi, I'm using a virtual machine of ubuntu 11.10 from my Mac, bit I fail to install Parallel Tools.
    I select from "virtual machine" the option "install parallels tools", then I move to /media/"Parallels Tools" and I execute the install comand.The install GUI starts, but then it says that the installation has failed.It also says to go to "/var/log/parallels-tools-install.log" for more info.Where I find a lot of info, I can't understand so much from there.I post the file, it's too long so I use pastebin:
    http://pastebin.com/bEgwYycx
    Someone can help me?
     
  2. JEarles

    JEarles Hunter

    Messages:
    119
    You are running Parallels Tools 6.0.12094. Ubuntu 11.10 is based on Linux 3.0.x, which Parallels Tools (in version 6) does not officially support. What you are seeing are compile errors because of the incompatibility.

    In the forums you'll find steps to apply a patch file that I created (http://forum.parallels.com/showpost.php?p=457288&postcount=17) that worked for earlier versions of Parallels 6. At the time I was also running 6.0.12094, but I am now on Parallels 7 (which supports Ubuntu 11.10, and Linux 3.0.x, out-of-the-box) so I cannot provide any guarantee on how well it works with later builds. FYI: Steps after 12 are not required if you are happy using Unity.
     
    Last edited: Nov 3, 2011
  3. Ramy1989

    Ramy1989 Bit poster

    Messages:
    9
    I'm at step 10: apply patch.
    I have downloaded the patch, now I have a working directoy witht he content of parallels tools's cd, I have unzipped the content of kmods directory, and the patch .txt file is in the working directory.
    But how to apply the patch ? It's a txt file...
     
  4. JEarles

    JEarles Hunter

    Messages:
    119
    Run this from the terminal, in the root of your working directory:

    sudo patch -p1 < parallels_patch.txt

    You should see something like:

    if you don't have patch, first run:

    sudo apt-get install patch
     
    Last edited: Nov 3, 2011
  5. Ramy1989

    Ramy1989 Bit poster

    Messages:
    9
    I applied the patch, if I run the installer it says:
    ./install: line 451: ./installer/installer.x86_32: Permission denied
     
  6. JEarles

    JEarles Hunter

    Messages:
    119
    The installer must be run as root:

    sudo ./install
     
  7. Ramy1989

    Ramy1989 Bit poster

    Messages:
    9
    Yes, I run it as root.
    I don't know what's wrong, I tell you again what I have in the working directory:
    Folders: installer, kmods, resources, tools
    Files: install, parallel_patch.txt, version

    I applied the patch, into kmods folders files are unzipped.
    And still getting that error when trying to run the installer with sudo ./install
     
  8. JEarles

    JEarles Hunter

    Messages:
    119
    if you switch to the installer directory and do:

    ls -Al

    Do you see an installer.x86_32 file? What are the permissions on it? Who is the owner?

    In my environments I (not root) am the owner. If root owns those files, you might want to try and run chown to change the owner to yourself.
     
    Last edited: Nov 4, 2011
  9. Ramy1989

    Ramy1989 Bit poster

    Messages:
    9
    Ok so I did guess the problem was that installer.x86_32 didin't have the executable bit.So I activated the executable bit and tried again to run the installer.
    New round, new error:
    An error occurred when downloading required components for Parallels Tools installation.
    -make
    -kernel sources
    Install these components and try again.
     
  10. JEarles

    JEarles Hunter

    Messages:
    119
    Strange... I thought those should have already been installed in Ubuntu.

    sudo apt-get install gcc make linux-headers
     
    Last edited: Nov 4, 2011
  11. Ramy1989

    Ramy1989 Bit poster

    Messages:
    9
    It says that GCC is already the newest version (same for make).
     
  12. Ramy1989

    Ramy1989 Bit poster

    Messages:
    9
    If I buy Paralells Desktop 7, will I have to reinstall the ubuntu vm to install Parallels Tools ?
     
  13. JEarles

    JEarles Hunter

    Messages:
    119
    If you update any VMs are converted. You'll just need to update Parallels Tools in each VM.
     
  14. Ramy1989

    Ramy1989 Bit poster

    Messages:
    9
    Ok so I solved that out updating to parallels desktop 7.
    Thanks anyway for the help, and for the patience.
     
  15. TobiasWeh

    TobiasWeh Bit poster

    Messages:
    1
    I got the same problem with Parallels 5 is it possible to fix it. I tried the pachting solution but it doesn’t work because the patch package doesn’t find the patches to patch …
     

Share This Page