VMware Communities > VMTN > Desktop Products > VMware Fusion > Discussions

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
8 Replies Last post: Jul 2, 2008 11:48 AM by etung
Reply

cannot install vmware tools in freeBSD 7

Jun 4, 2008 9:19 AM

Click to view klkempter's profile Novice klkempter 24 posts since
Mar 14, 2008

Hi All;

I've done this:

1) installed freeBSD 7 in vmware fusion (v 1.1.3)

2) selected to install vmware tools from the menu

3) logged into the console as root

4) mounted the vmware virtual cd

5) copied the vmware tools tar.gz file to /tmp

6) expanded the vmware tools tar.gz file in /tmp

7) cd to the new vmware-toold-distrib dir and ran ./vmware-install.pl

Then I get this:

Before running VMware Tools for the first time you need to configure it by invoking the following command: "/usr/local/bin/vmware-config-tools.pl". Do you want this program to invoke the command for you now? yes

/usr/libexec/ld-elf.so.1: Shared object "lib.so.6" not found, required by "vmware-checkvm"

/usr/libexec/ld-elf.so.1: Shared object "lib.so.6" not found, required by "vmware-checkvm"

/usr/libexec/ld-elf.so.1: Shared object "lib.so.6" not found, required by "vmware-checkvm"

This configuration program is to be executed in a virtual machine.

Execution aborted.

I also tried starting KDE and in a Konsole terminal window (as root) running /usr/local/bin/vmware-config-tools.pl and I get the same results

Anyone have any thoughts?

Thanks in advance...


Reply Re: cannot install vmware tools in freeBSD 7 Jun 22, 2008 2:56 PM
Click to view N3NCY's profile Novice N3NCY 10 posts since
May 25, 2006

To get past the VMware Tools installer error while trying to use FreeBSD 7 as a guest:

cd /usr/ports/misc/compat6x
make install clean

FreeBSD 7 is broken badly in VMware. (FreeBSD 6 works ok)
See item # 7 here (look closely at the toolbox screen shots that worked in FreeBSD 6, you may never see them again):
http://www.n3ncy.com/UNIX/FreeBSD/FreeBSD-inside-VMware.htm

The VMware Toolbox won't run on FreeBSD 7:
/usr/X11R6/bin/vmware-toolbox &

Without the toolbox, you can't shrink the FreeBSD volume for optimal VMware appliance distribution.

Also:
I see the current betas of VMware NO LONGER even lists FreeBSD as a guest OS!
It is bad enough that you pulled host support several versions ago, now you are pulling FreeBSD guest support?
VMware Team: Wake up and put FreeBSD 7 support in your VMware Applications.

-Ernie

Reply Re: cannot install vmware tools in freeBSD 7 Jun 24, 2008 10:29 PM
Click to view byebyepc's profile Lurker byebyepc 2 posts since
Jun 24, 2008
I just installed FreeBSD 7 in vmware Fusion on my MacBook Pro and it was terrible but I can guide you in the right direction as I now have full support to start up into Xfce4 and have been working to get the kinks out of the rest of the system. I will probably delete the thing and go native with it but I will share some things i did to get it going. Note: I don't have it start into X because I like my bash.

First install FreeBSD
-I used FTP

Next As root:
cd /usr/ports/misc/compat6x
make install clean

Now create a sym link that will guide vmware tools (because they need hand holding for BSD)
ln -s /usr/local/lib/compat/libc.so.6 /lib

Now Install VMware Tools from menu
mount /cdrom
cd /tmp

Untar the Tools
tar zxpf /cdrom/vmware-freebsd-tools.tar.gz

Run Installer
cd vmware-tools-distrib
./vmware-install.pl

Configure X
startx
ctrl+alt+backspace(a.k.a delete for us mac people)
/usr/local/bin/vmware-config-tools.pl

It may say that you are running remotely and ask to quit but type yes to continue
choose display settings and everything

The driver now is not right as the error will have told you earlier (Pay attention BSD is smart - its not stupid-friendly like Windows)
cd /usr/ports/x11-drivers/xf86-video-vmware
make install clean

Now install Xfce or Gnome or KDE
See handbook for Gnome or KDE http://www.freebsd.org/doc/en/books/handbook/x11-wm.html

Xfce rocks --

cd /usr/ports/x11-wm/xfce4
make install clean
echo "/usr/local/bin/startxfce4" > ~/.xinitrc
startx

YOU ARE DONE

Note: some stuff still needs work and I am working on through the BSD install code and VMware tools to figure it all out.

Note: BSD will increase geek levels to new high and is not for noobies so please read the manual and learn a lot.

We are know for being elitist snobs using it but its only because we have short tempers after all we learned this stuff and so can you.

Reply Re: cannot install vmware tools in freeBSD 7 Jun 25, 2008 4:33 PM
in response to: byebyepc
Click to view N3NCY's profile Novice N3NCY 10 posts since
May 25, 2006

Byebyepc: Great info!

The only question I have for you:

On FreeBSD 7 with the VMware Tools installed can you run the vmware-toolbox?
/usr/X11R6/bin/vmware-toolbox &
See my screen captures under item #7 here:
http://www.n3ncy.com/UNIX/FreeBSD/FreeBSD-inside-VMware.htm

I can run this in FreeBSD 5 and 6, but I can not in FreeBSD 7.

Thank you,

-Ernie

Reply Re: cannot install vmware tools in freeBSD 7 Jun 25, 2008 6:06 PM
in response to: N3NCY
Click to view byebyepc's profile Lurker byebyepc 2 posts since
Jun 24, 2008
I personally don't use the toolbox but I believe this is how I got it to run.

Start the X Windows
startx

Go into an X term
vmware-toolbox &

I think that worked for me but I just got rid of my virtual disk last night because I am going to dual boot it.
Reply Re: cannot install vmware tools in freeBSD 7 Jun 29, 2008 7:44 PM
in response to: byebyepc
Click to view N3NCY's profile Novice N3NCY 10 posts since
May 25, 2006

Nope.

I followed your instructions and and have X Windows working in FreeBSD 7 in VMware 1.06, but no VMware Toolbox.

The VMware Toolbox won't run on FreeBSD 7:
/usr/X11R6/bin/vmware-toolbox &

It tries but always core dumps.

DOES ANYONE HAVE THE VMWARE TOOLBOX WORKING WITH FREEBSD 7?

Please reply here if you do and how you did it!

-Ernie

Reply Re: cannot install vmware tools in freeBSD 7 Jul 2, 2008 6:14 AM
in response to: N3NCY
Click to view etung's profile Guru etung 10,540 posts since
Oct 15, 2006
VMware
Without the toolbox, you can't shrink the FreeBSD volume for optimal VMware appliance distribution.

You don't need Toolbox to shrink, it just gives a nice GUI. To manually shrink, fill up the desired partition with zeros (e.g. "dd if=/dev/zero of=tmpfile; rm tmpfile"), shut the virtual machine down, and use "vmware-vidskmanager -k" on the host to complete the shrink process.

The internal bug on Tools in FreeBSD 7 is marked as fixed. Try it in the next beta of 2.0.
Reply Re: cannot install vmware tools in freeBSD 7 Jul 2, 2008 6:53 AM
in response to: etung
Click to view WoodyZ's profile Guru WoodyZ 9,209 posts since
Apr 22, 2004
etung wrote: You don't need Toolbox to shrink, it just gives a nice GUI. To manually shrink, fill up the desired partition with zeros (e.g. "dd if=/dev/zero of=tmpfile; rm tmpfile"), shut the virtual machine down, and use "vmware-vidskmanager -k" on the host to complete the shrink process.


vmware-vidskmanager in Fusion 1.x does not support the "-k" option.


Usage: vmware-vdiskmanager OPTIONS <disk-name>
Offline disk manipulation utility
Options:
-c : create disk; need to specify other create options
-d : defragment the specified virtual disk
-n <source-disk> : rename the specified virtual disk; need to
specify destination disk-name
-q : do not log messages
-r <source-disk> : convert the specified disk; need to specify
destination disk-type
-x <new-capacity> : expand the disk to the specified capacity

Additional options for create and convert:
-a <adapter> : (for use with -c only) adapter type (ide, buslogic or lsilogic)
-s <size> : capacity of the virtual disk
-t <disk-type> : disk type id

Reply Re: cannot install vmware tools in freeBSD 7 Jul 2, 2008 11:48 AM
in response to: WoodyZ
Click to view etung's profile Guru etung 10,540 posts since
Oct 15, 2006
VMware
vmware-vidskmanager in Fusion 1.x does not support the "-k" option.

Oops - I'm looking at 2.0b1 (which does support "-k") and have been using various internal 2.0 builds for a while so it's easy to forget what's in 1.x.
Actions