BT4 in VMWare (with VMWare USB Install too)
Quote:
Originally Posted by
5p4wn
Not working for me. :(
I have a BT4 running in a vmware machine, after I did this kernel update following the steps in the blog, the machine has been having slow downs, the mouse pointer moves too slow and I can't type neither.
Any help?
I did this:
xxxx:// xxx.offensive-security.com/videos/backtrack-security-training-video/up-and-running-backtrack.html
then this, to repair Postgresql and update everything:
xxxx:// longjidin.wordpress.com/2009/10/03/error-with-postgresql-in-backtrack-4-pre-final/
(with these mods)
cd /etc/ssl/certs/
make-ssl-cert generate-default-snakeoil -force-overwrite
apt-get update
apt-get install -d linux-image
cd /var/cache/apt/archives/
cp -R --preserve=all /lib/modules/2.6.30.7/kernel /lib/modules/2.6.30.7/kernel.old
dpkg -i --force all linux-image-2.6.30.7_2.6.30.7-10.00.Custom_i386.deb
apt-get dist-upgrade
apt-get install madwifi-drivers
reboot
fix-splash
Now I used VMWare's "Install VMWare Tools" (Ver.: 7.8.6 build-185404) to mount the CD and copied the .tar.gz file.
tar -xzf VMwareTools-7.8.6-185404.tar.gz
cd vmware-tools-distrib/
./vmware-install.pl
/usr/bin/vmware-user
exit
Everything seems to work fine for me ...
PS: Hate the Grub Bootscreen since the selected line is not highlited.
Nokii
VMware installation in bt4 pre-final kernel 2.6.30.7 problem
Hello,
@Nokii, thanks for the write up.
It works for me.
However,my VMware seems doesn`t work.. It complains about not having kernel headers. So I follow a tutorial from here ...
hxxp://forums.remote-exploit.org/backtrack-4-howto/26710-howto-make-vmtools-autofit-guest-work-new-kernel.html
until I got "VMware Blocking Filesysytem" not working
After following the Nokii`s solution, I did the following:
Code:
apt-get install linux-source-2.6.30.7
cd /usr/src/
tar jxvf /usr/src/linux-source-2.6.30.7.tar.bz2
rm -f /usr/src/linux
ln -s /usr/src/linux-source-2.6.30.7 /usr/src/linux
cd /usr/src/linux
zcat /proc/config.gz > .config
make scripts
make bzImage
ln -s /usr/src/linux /lib/modules/2.6.30.7/build
#I also did:
cd linux-source-2.6.30.7
zcat /proc/config.gz > .config
make menuconfig
make
make modules
make modules_install
mkinitramfs -o /boot/initrd.img-2.6.30.7 2.6.30.7
Here is the snapshot:
hxxp://img687.imageshack.us/img687/3245/snapshot2v.png
The content of the log is: (cat /tmp/vmware-root/setup-13742.log)
Code:
Nov 01 09:56:10.629: app| Log for VMware Workstation pid=5508 version=6.5.2 build=build-156735 option=Release
Nov 01 09:56:10.629: app| Host codepage=UTF-8 encoding=UTF-8
Nov 01 09:56:10.629: app| Logging to /tmp/vmware-root/setup-5508.log
Nov 01 09:56:22.694: app| Extracting the sources of the vmmon module.
Nov 01 09:56:22.836: app| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.30.7/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.3.2
Nov 01 09:56:33.122: app| The vmmon module loads perfectly in the running kernel.
Nov 01 09:56:33.122: app|
Nov 01 09:56:33.173: app| Registering file: /usr/lib/vmware/installer/vmware-installer --register-file vmware-player regular /lib/modules/2.6.30.7/misc/vmmon.o
Nov 01 09:56:34.727: app| Registering file: /usr/lib/vmware/installer/vmware-installer --register-file vmware-player regular /lib/modules/2.6.30.7/misc/vmmon.ko
Nov 01 09:56:43.216: app| Extracting the sources of the vmnet module.
Nov 01 09:56:43.317: app| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmnet-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.30.7/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.3.2
Nov 01 09:56:53.404: app| The vmnet module loads perfectly in the running kernel.
Nov 01 09:56:53.404: app|
Nov 01 09:56:53.410: app| Registering file: /usr/lib/vmware/installer/vmware-installer --register-file vmware-player regular /lib/modules/2.6.30.7/misc/vmnet.o
Nov 01 09:56:53.675: app| Registering file: /usr/lib/vmware/installer/vmware-installer --register-file vmware-player regular /lib/modules/2.6.30.7/misc/vmnet.ko
Nov 01 09:56:54.411: app| Extracting the sources of the vmblock module.
Nov 01 09:56:54.470: app| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmblock-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.30.7/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.3.2
Nov 01 09:56:56.277: app| Extracting the sources of the vmci module.
Nov 01 09:56:56.371: app| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmci-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.30.7/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.3.2
Nov 01 09:57:03.316: app| The vmci module loads perfectly in the running kernel.
Nov 01 09:57:03.316: app|
Nov 01 09:57:03.324: app| Registering file: /usr/lib/vmware/installer/vmware-installer --register-file vmware-player regular /lib/modules/2.6.30.7/misc/vmci.o
Nov 01 09:57:03.603: app| Registering file: /usr/lib/vmware/installer/vmware-installer --register-file vmware-player regular /lib/modules/2.6.30.7/misc/vmci.ko
Nov 01 09:57:04.408: app| Extracting the sources of the vmci module.
Nov 01 09:57:04.425: app| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmci-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.30.7/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.3.2
Nov 01 09:57:06.646: app| The vmci module loads perfectly in the running kernel.
Nov 01 09:57:06.646: app|
Nov 01 09:57:06.655: app| Registering file: /usr/lib/vmware/installer/vmware-installer --register-file vmware-player regular /lib/modules/2.6.30.7/misc/vmci.o
Nov 01 09:57:07.049: app| Registering file: /usr/lib/vmware/installer/vmware-installer --register-file vmware-player regular /lib/modules/2.6.30.7/misc/vmci.ko
Nov 01 09:57:07.769: app| Extracting the sources of the vsock module.
Nov 01 09:57:07.858: app| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vsock-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.30.7/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.3.2
Nov 01 09:57:11.106: app| The vsock module loads perfectly in the running kernel.
Nov 01 09:57:11.106: app|
Nov 01 09:57:11.114: app| Registering file: /usr/lib/vmware/installer/vmware-installer --register-file vmware-player regular /lib/modules/2.6.30.7/misc/vsock.o
Nov 01 09:57:11.445: app| Registering file: /usr/lib/vmware/installer/vmware-installer --register-file vmware-player regular /lib/modules/2.6.30.7/misc/vsock.ko
Nov 01 09:57:43.476: app| Extracting the sources of the vmblock module.
Nov 01 09:57:43.494: app| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmblock-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.30.7/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.3.2
Any thoughts?
Thank you