Did you mount the cd where the vmware tools are located ?
I have been trying to figure this 1 out for the last couple of hours. I have searched the forums & google and come accross a few different tutorials with all the commands but i still cant get VMWare tools for Workstation 7 to install.
I get to this pointThen it just wont let me go any further, saying it cant find vmware tools, ive also triedCode:cp -rf /mnt/cdrom/VMwareTools-7.8.5-156735.tar.gz /tmp/Not working either.Code:cp -rf /mnt/cdrom/VMwareTools*.tar.gz /tmp/
This is what i did
- Created my VM
- Installed the system using the install.sh script
- Setup my network settings
- Then clicked install Vmware Tools inside the vmware menu
- Then tried the follow below
This is one of the methods i have tried
Thats were it fails, it says cannot find that file or directory even though i did do the mkdir and mount steps beforehand.Code:mkdir /mnt/cdrom mount /dev/cdrom3 /mnt/cdrom cp -rf /mnt/cdrom/VMwareTools-7.8.5-156735.tar.gz /tmp/ cd /tmp/ tar zxpf VMwareTools-7.8.5-156735.tar.gz wget ww.offensive-security.com/tools/vmware-tools-patch-backtrack4-7.8.5-2_6_29.tar tar zxpf vmware-tools-patch-backtrack4-7.8.5-2_6_29.tar ./vmwaretools.sh
They both worked although the mount command came back saying it was read only because it was write protected, im assuming that is not causing the issue although it may? Im not sure.
So basically i was wondering am i missing a step before this? ive searched through all my BT4 directory's on the ISO Image and through the root folders in my VM and can find nothing even remotely related to vmware tools.
I read this aswell but it completely destroyed my VM and i had to rebuild and start again.
Are you working as root and not a user or with su/sudo.
I know the two may seem to be silly or trivial questions but I use a vm image and didn't have problems with this. So I am wondering if that is the problem.
Also there really is no need for the -rf in the cp command.
tar should look like this tar xvfz
Code:# cp /media/cdrom/VMwareTools.tar.gz /tmp/ # cd /tmp # tar xvfz VMwareTools.tar.gz # cd vmware-tools-distrib/ # ./vmware-install.pl
Logged in as Root.
As soon as i try and do
It says " No such file or directory "Code:cp /media/cdrom/VMwareTools.tar.gz /tmp/
I must be missing something... can you think of any reason why the file would not be in that location. Or is there something that i missed to make it write there once i click install vmware tools ?
Ive also checked the dir of /media/cdrom, cdrom0 & cdrom1 and they all have nothing
Check where exactly the cdrom device is mounted to which mount point and check to see if there's anything inside the mounted directory which is pointing to the cdrom device.
You can't follow the instructions word for word from internet. What may work on one's setup may work differently on another setup. That is where you figure out and substitute whatever necessary to accomplish the same task.
If you type man mount, it'll give you a pointer for starters.