You are not logged in.

#1 2006-08-12 12:33:56

headhunter
Member
Registered: 2006-07-18
Posts: 38

Solved - Vmware Tools

Hallo,

I'd like to request a vmware-tools package.
This would allow it easily to make nice ArchLinux VMWares.
Instlaling by hand is not so easy possible, the install script needs patching.

Having this package would be cool, because it would make it easier for ppl to try ArchLinux in a VMWare. At work, I am doing some linux programming and we always share VMWares (which includes the entire development environement) for working together. Being able to give my co-workers ArchLinux installations with VMWare tools would be surely great smile

Offline

#2 2006-08-13 00:45:04

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: Solved - Vmware Tools

AFAIK vmware-tools comes doesn't come as a separate product, but is included with (and possibly tailored to) their products.

Although i'm more used to runnings MS products in a vm under archlinux, i have installed wmware toools for a linux guest (archlinux/tar and Suse/rpm) twice.
Both times i used the instructions in the vmware workstation manual without problems, although i don't remember details since it's been over 6 months ago.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2006-08-13 01:06:31

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: Solved - Vmware Tools

VMWare tools (for Linux) is a plain ISO image (or rather one ISO per OS), which is included in the VMWare workstation and VMware server packages... just grab it from there, mount it and run it.


Microshaft delenda est

Offline

#4 2006-08-13 08:56:12

headhunter
Member
Registered: 2006-07-18
Posts: 38

Re: Solved - Vmware Tools

Hello,

I know how the VMWare Tools work.
How did you install them? I always extracted the tarball to a temporary directory and ran the install.pl file - though this file fails because Arch Linux doesn't have an init.d boot system.

So, if I am doing something wrong: What's the right way to install the tools?

Offline

#5 2006-08-13 13:58:06

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: Solved - Vmware Tools

Try following  the instructions in Installing_archlinux_in_VMWare  (archlinux wiki).


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2006-08-13 17:40:28

headhunter
Member
Registered: 2006-07-18
Posts: 38

Re: Solved - Vmware Tools

Thank you, I will try that.

Offline

#7 2006-08-15 06:48:43

headhunter
Member
Registered: 2006-07-18
Posts: 38

Re: Solved - Vmware Tools

Hello,

compiling the module doesn't work:

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

The kernel defined by this directory of header files does not have the same
address space size as your running kernel.

This issue is being reported in the wiki too - it also happens when you try to install the VMWare Workstation/Player package without the any-Patches applied.

How can I fix this?

Offline

#8 2006-08-15 07:01:54

headhunter
Member
Registered: 2006-07-18
Posts: 38

Re: Solved - Vmware Tools

Well - I kinda found a hack to circumvent the sanity check of the vmware config script. This change allows you to compile the vmware tools inside arch linux. The compiler message are a little odd though, I'm not sure if my way results in a "clean" tools install.

Anyway, if anybody wants to test my approach (please do!), heres the patch:

[root@arch bin]# diff vmware-config-tools.pl vmware-config-tools-new.pl
1975,1983c1975,1983
<     if (defined($gSystem{'page_offset'}) and
<         not (lc($header_page_offset) eq lc($gSystem{'page_offset'}))) {
<       if ($source eq 'user') {
<         print wrap('The kernel defined by this directory of header files does '
<                    . 'not have the same address space size as your running '
<                    . 'kernel.' . "nn", 0);
<       }
<       return '';
<if> #        not (lc($header_page_offset) eq lc($gSystem{'page_offset'}))) {
> #      if ($source eq 'user') {
> #        print wrap('The kernel defined by this directory of header files does '
> #                   . 'not have the same address space size as your running '
> #                   . 'kernel.' . "nn", 0);
> #      }
> #      return '';
> #    }

Offline

#9 2006-08-18 23:20:36

lietuva
Banned
Registered: 2005-09-30
Posts: 36

Re: Solved - Vmware Tools

is that all correct, or should there be a new line after <if ?
Also, how would i use that patch?


The password to this account is lietuvis

Offline

#10 2006-08-19 08:14:25

headhunter
Member
Registered: 2006-07-18
Posts: 38

Re: Solved - Vmware Tools

Hello,

you can use the "patch" Tool to apply the patch.

If you're not familiar with that, you might look at line ~1975 and comment the checks I commented.
All i basically did was removing the sanity checking of the script.
Though I'm not totally convinced this is a 100% solution ..

Offline

Board footer

Powered by FluxBB