Create a raw disk redirection vmdk in Virtualbox

Original Post here. VBoxManage internalcommands createrawvmdk -filename d:\VMs\gCFRAW.vmdk -rawdisk \\.\PhysicalDrive4 C:\Program Files\Oracle\VirtualBox>VBoxManage internalcommands createrawvmdk -filename d:\VMs\gCFRAW.vmdk -rawdisk \\.\PhysicalDrive4 Oracle VM VirtualBox Command Line Management Interface Version 3.2.8 (C) 2005-2010 Oracle Corporation All rights reserved. RAW host disk access VMDK file d:\VMs\gCFRAW.vmdk created successfully. You can also access specific partitions of host physical disk from VirtualBox,…

mkpasswd on Centos 6.x

I happened to need mkpasswd command in CentOS 6.3 minimal: While there is no package for the tool it can be found in expect command. So run as shown : yum install expect

Install Exim on centOS

Exim is no longer available as a standard package, but as with most pieces of Linux software, it’s still only a few commands away. If you want to install Exim to use, or just to try, all you need do is: Install the EPEL (Extra Packages for Enterprise Linux) repository: wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm rpm -i epel-release-6-5.noarch.rpm…

Disable IPv6 in centOS

Edit /etc/sysconfig/network and set “NETWORKING_IPV6” to “no” For 5.4 and later, replace in /etc/modprobe.conf   alias ipv6 off by options ipv6 disable=1 Alternative (which might be easier and works on any release with /etc/modprobe.d): # touch /etc/modprobe.d/disable-ipv6.conf # echo "install ipv6 /bin/true" >> /etc/modprobe.d/disable-ipv6.conf For CentOS 5.3 or older, add the following to /etc/modprobe.conf :…

Linux prompt tweak ..

Just a note for my favorite : add to the  ~/.bash_profile PS1="\[\033[35m\]\t\[\033[m\]-\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ " result :  

Troubleshooting network connection failures VMWare Workstation

Symptoms You are experiencing these issues: No network connectivity for a virtual machine Cannot connect to the Internet from the guest operating system Bridged, Host-only or Network Address Translation (NAT) networking fails Purpose This article helps you to determine the cause of networking problems affecting one or more virtual machines. The steps in this article…

Booting into Single User Mode – (Password Recovery)

Many occasions during commissioning of servers we need to reboot especially to freshen hardware re-configurations. (ain’t that still a bitch). Single user mode is there to help. Booting into single user mode At the GRUB splash screen at boot time, press any key to enter the GRUB interactive menu. Select CentOS with the version of the kernel…