Saturday, June 18, 2011

How-To: Change BackTrack 5 root password

Upin the installtion of BackTrack 5, logon to the text-based console as root :
Username : root
Password : toor

Now change the password :
# passwd


Enter your prefer password when asked.

How-TO: 'startx' Backtrack 5 KDE

Upon putting Backtrack 5 (BT5) DVD, the BT5 will boot successfully to the text-based terminal. You are want to install BT5 onto your hard drive now. 


The problem you may encounter next is that when you were told to run 'startx' you fire up the GUI where the installation will take place, you will hit the error of "Shutting down X-Server" which eventually brought you back to the terminal.


Follow the below work around to get yourself ti the BT5 GUI successfully.


# cd /root/.kde/
# find . -type f -iname "*.kcache" -delete
# startx

The BT5 GUI will be loaded successfully in no time

Thursday, May 19, 2011

How-To: Installing Hyper-V Intergration Tool for Centos 5.6

1.   Download Linux Integration Services 2.1 for Windows Server 2008 Hyper-V R2 at http://www.microsoft.com/downloads/en/details.aspx?FamilyID=eee39325-898b-4522-9b4c-f4b5b9b64551
2.       Extract the download file.
3.       Mount the "LinuxIC v21.iso" to the target Centos machine
4.       Start the Centos VM
5.       At the console copy the components into the Centos VM by executing the below commands as root:
#mkdir /mnt/cdrom
#mount /dev/cdrom /mnt/cdrom
#mkdir /opt/linux_ic_v21_rtm
#cp -R /mnt/cdrom/* /opt/linux_ic_v21_rtm
6.       Navigate to the directory where the components copied
           #cd /opt/linux_ic_v21_rtm
7.       Install the components using "make" command
           #make
           #make install
Below screenshot shows when the command executed successfully

8.      Shutdown the VM
9.      Change the network emulate to synthetic network adapter if you have not use synthetic network adapter
10.  Check all integration services


11.  Start the VM. This time the network interface name will change to SETH0 instead of ETH0

If you have issue similar to error "unable to find /usr/kernels/2.6.18-238.9.1.e15_x86_64", you have to check the symlink for the build located at "/lib/modules/kernel/build". make sure it is not broken.