VMware Communities
JLadd
Contributor
Contributor

Installing VMWare Tools in Damn Small Linux 3.4 VM

I would like to install the VMWare Tools in Damn Small Linux 3.4 - how do I go about this? When I click the Install command in the VMWare Fusion menu bar, nothing happens. Thanks in advance.

Reply
0 Kudos
8 Replies
admin
Immortal
Immortal

DSL is missing a lot of the header files and apps necessary to compile Tools, and it's an obscure enough distro that we don't have precompiled modules for it. I like the idea of a really thin guest and tried a couple times to get Tools installed in DSL, but not successfully (either that or I had to get so many packages it defeated the point of a small install, I don't remember).

As a side note, on Linux, nothing obvious normally happens when you select Install VMware Tools, just like on Windows if you have autorun disabled. You have to manually run the installer.

Reply
0 Kudos
JLadd
Contributor
Contributor

Thanks, etung, for your prompt reply and sorry I did not reply sooner. I am enjoying exploring the DSL virtual machine as it is...I guess I'll just accept it for that!

Reply
0 Kudos
rschramm
Contributor
Contributor

Also having difficulty installing VMTools w/RedHat enterprise 5. As etung mentions, 'nothing obvious happens when you select Install VMware Tools' How do complete this step. (RHE 5) on a macbook pro with Fusion 1.0 installed from cd.) Ive started my vm and logged in as root at run level 3... ( VMware RH install docs say dont start X until you have installed VMTools) Makes no difference if the Fusion CD is in the drive or out-nothing happens, no error msgs etc.

Reply
0 Kudos
admin
Immortal
Immortal

Help > VMware Fusion Help, then search for "tools" and use the first link.

Once the Tools CD is recognized, you need to install tools, then configure them. RH is RPM based, so do "sudo rpm -i /path/to/cdrom/whatever-the-tools-rpm-is-called.rpm", then run vmware-config-tools.pl. I assume you already have the proper kernel headers installed (not sure if RHEL5 comes with them or not).

Reply
0 Kudos
rcardona2k
Immortal
Immortal

DSL is a Knoppix-derivative. It works great for getting a quick, decent Linux VM up and running. I would not try to extend it too much. I've had getting the Tools running on DSL as a background task for about two months now. If I get it working, I'll let you know.

Reply
0 Kudos
Michelle_Laveri
Virtuoso
Virtuoso

@rcardona2k

Any update to report on getting VMware Tools running in DSL? I'm on 4.4.10 myself using vSphere5.1

Regards

Mike


Regards
Michelle Laverick
@m_laverick
http://www.michellelaverick.com
Reply
0 Kudos
tembenite
Contributor
Contributor

I got this running today.

Installation Steps:

1) Figure out what version of GCC was used to compile your kernel, 'cuz this same version will be needed to compile the Vmware-tools modules. If you don't have this match than Vmware will say gcc doesn't exist, even though it does. You can figure out what version the kernel was compiled with by looking at the output from the following command from the terminal:

cat /proc/version

2) Install the appropriate version of GCC for your kernel. For the latest DSL RC 4.11 RC1, this is 2.95. As a result I installed the following from MyDSL:
gcc1-with-libs.dsl

gcc-2.95.dsl

3) Change the symbolic link for gcc to point to the version of gcc you need. For example:
rm /usr/bin/gcc

ln -s /usr/bin/gcc-2.95 /usr/bin/gcc

4) Install the kernel source/headers for your kernel. If you're running the Linux Kernel 2.4.26, then the MyDSL package kernelsource.dsl currently has that kernel. If you're running 2.4.31 like I am, the following thread:
http://www.damnsmalllinux.org/f/topic-3-33-19468-15.html

Has a link at the bottom to the 2.4.31 kernel source:
http://homepages.vype.de/Peter.Misch/kernelsource-2.4.31.dsl

If you're not running either of the kernels, then check out that thread anyway as it gives information on how to extract the kernel information and pull it together.

5) Click "Install Vmware Tools" within Vmware then run the following commands to mount, copy and extract the contents.

mount /mnt/cdrom

cd /tmp

tar -xzvf /mnt/cdrom/VMWareTools*

cd vmware-tools-distrib

6) Edit the vmware-install.pl to fix a problem the install script has with the version of df within DSL:
e.g.
nano vmware-install.pl

CTRL+W (Search For: check_disk_space {)

Find the line that says:
return ($dstSpace - $srcSpace);

And right before it put:
return 999999999999999999999;

7) Run the vmware-install.pl file like normal and everything *should* work properly with it finding the appropriate version of gcc & kernel headers.

Reply
0 Kudos
Michelle_Laveri
Virtuoso
Virtuoso

This great - you didn't by chance make an OVF image of the DSL with VMware Tools installed did you?

Regards

Mike

Regards
Michelle Laverick
@m_laverick
http://www.michellelaverick.com
Reply
0 Kudos