Hello,
Here we will see how to install the vmware tools in vmware fusion. It is considered that you have installed BackTrack linux operating system (latest version ) and have install the VMware fusion (latest version)
First thing you will have to do is choose the username and the passwrod you have set during the installation.
Then you will need to be the super user of the system, this can be done by using the following command
now you will need to set the password by typing the word of your choice
example
To set the password correct you will have to enter it twice.
Now replacing the packages
And for splash , type this in your terminal
Now this will ask to replace the initrd.gz file, you have to answer it yes.
Reboot the system by using the following command
Again become the super user and start the networking and X11
following this command
Once you see that the X window has been loaded, start the vm-tools installation for which you will have to navigate the the vmware menu.
Now in the terminal window as a root user
Code:
mkdir /mnt/cdrom
mount /dev/cdrom3 /mnt/cdrom
cp /mnt/cdrom/VMwareTools-x.x.x.tar.gz /tmp
umount /mnt/cdrom
You can also install the vmware tools with wget, default download manger in linux. If you need to cancel the current installation you will need to navigate to the virtual machine menu.
Now
Code:
wget xxx.offensive-security.com/tools/vmware-tools-patch-backtrack4-x.x.x.tar
tar -xf VMwareTools-x.x.tar.gz
tar -xf vmware-tools-patch-backtrack4-x.x.tar
You will hav to edit some of the entries now
Code:
cp /tmp/vmware-tools-distrib/lib/modules/source/vmsync.tar /tmp/vmsync.tar
tar -xf vmsync.tar
cd vmsync-only
Edit the Makefile and change this line
Code:
$(EXTRA_CFLAGS) -Iinclude2/asm/mach-default \
To read
Code:
$(EXTRA_CFLAGS) -Iinclude2/asm/mach-default -I$(HEADER_DIR)\
save and quit now
Code:
cd ../
tar -cf vmsync.tar vmsync-only
cp /tmp/vmsync.tar /tmp/vmware-tools-distrib/lib/modules/source/vmsync.tar
edit the file vmwaretools-x.x.patch
and remove these entries
Code:
vm_check_build = $(shell if $(CC) $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) \
$(CPPFLAGS) $(CFLAGS) $(CFLAGS_KERNEL) \
- $(EXTRA_CFLAGS) -Iinclude2/asm/mach-default \
+ $(EXTRA_CFLAGS) -Iinclude2/asm/mach-default -I$(HEADER_DIR) \
-DKBUILD_BASENAME=\"$(DRIVER)\" \
-Werror -S -o /dev/null -xc $(1) \
> /dev/null 2>&1; then echo "$(2)"; else echo "$(3)"; fi)
Finally save the file and run the following command in the terminal
This will start the vmware fusion with all the tools installed. I hope this will help you.
Bookmarks