Adding Virtual Disks to a Linux Virtual Machine in VMWare

In the earlier post (click here to read the post) I talked about adding a virtual disk to a Windows virtual machine. This post is going to focus on adding a virtual disk to a Linux virtual machine.

The initial steps that you need to follow in adding a virtual disk to the Linux machine is the same as for the windows machine. What differs is how the new disk is mounted and used in each OS. So you need to follow all the steps in my previous post right up to the point where you boot the guest operating system.

From here things are a bit different. Below are the steps you will need to follow to get the new virtual disk up and running

  • Once the guest operating system has booted up, login as root or any user that has sudo privileges. Remember that in Linux the first SCSI drive is sda, the second sdb etc… Let’s assume that this was the second SCSI drive we added to the system, so the device will be  known (available for use) as /dev/sdb
  • Once that is sorted out, we need to use the fdisk utility to initialize the virtual disk as a partition. The command is fdisk /dev/sdb
  • Enter the command n to create a new partition and enter 1 for first cylinder to mention that we will be using the whole disk
  • Once this is done we need to write a new partition table to this newly created partition. For that enter w which writes the new table and exits fdisk.
  • Now that we have created the partition, we need to format it. I am going to use the ext3 file system for this new disk. Therefore the command to format the new partition is mkfs -t ext3 /dev/sdb1.
  • Now let’s mount the partition. I am going to name this partition usr2. So first of all I go to the root directory (cd /) and use the command mkdir usr2. mkdir will create a folder by the name of usr2 and we are going to mount the partition on to this directory.
  • To mount the partition we run the command mount -t ext3 /dev/sdb1 /software. If you need to verify that the partition has been mounted, run the command df –h.
  • Now this mount will work until the virtual OS is restarted and we will have to manually mount it again.  So to make sure that the partition mounts every time the machine reboots, we need to add an entry in /etc/fstab.
  • So open the fstab file using the vi editor and add a new line as follows,
  • So once the fstab has been written, the partition (drive) will be mounted and un-mounted whenever the machine is started or shutdown.

Adding Virtual Disks to a Windows Virtual Machine in VMWare

As you may know virtual disks are stored in files on the host computer, be it SCSI or IDE. Adding a virtual disk to an existing virtual machine is not that difficult once you know how it is done specially on a windows based virtual machine. So let’s assume that the current virtual hard disk size has been set at 6GB. As time goes on the free space dwindles to the point where you really need some additional space. There are two possible options available for you …
Click Here to Read the Full Post →

Creating an Email Server with Sendmail and Dovecot – Part 1

I had this requirement for deploying an email system with IMAP. I already had a bit of experience with postfix and cyrus IMAP. But I wanted something different this time. So I started searching for a server which was capable of working with sendmail. Sendmail was already running on the server I was working on and I was not keen on installing another SMTP server from scratch (lazy me). The server OS was Red Hat Linux. After some research I came across Dovecot.

Sendmail is a general purpose internetwork email routing facility that supports many kinds of mail-transfer and -delivery methods, including the Simple Mail Transfer Protocol (SMTP) used for email transport over the Internet.

Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems, written primarily with security in mind. Developed by Timo Sirainen, Dovecot was first released in July 2002. Dovecot primarily aims to be a lightweight, fast and easy to set up open source mailserver.

Dovecot can work with standard mbox, Maildir, and its own experimental native high-performance dbox formats. It is fully compatible with UW IMAP and Courier IMAP servers’ implementation of them, as well as mail clients accessing the mailboxes directly. Dovecot also includes a Mail delivery agent (called Local delivery agent in Dovecot’s documentation), with optional Sieve filtering support.

Ok now to the technical part

What do we need?


Click Here to Read the Full Post →

Google Chrome 5 Browser Offline Installer Download

Hey guys,

The latest chrome browser, what may be the beginning of what will be released as Google Chrome version 5 is out for windows. Google Chrome v5 now officially supports NoScript-like behavior, where you can stop all javascript from running, except the scripts you authorize. This new version also lets you selectively choose which cookies, images, plug-ins and pop-ups are allowed as well.

With the new release, all Google Chrome users on PCs can access many new features, through their new extension system. Extensions are little programs, created by developers, which add useful functionality to the browser and to the websites you visit. Check out the available extensions here https://chrome.google.com/extensions?hl=en-US

Another feature that I find useful is Bookmark Sync. Bookmark Sync makes it easy to keep the same set of bookmarks on multiple computers. When you enable sync, your bookmarks will get stored online in your Google Account. Each additional computer on which you enable sync will receive the same bookmarks.

Finally I get to the point of trying to download the offline installer as I like to keep an installation copy just in case I need it later on. I have posted an article here which shows you how to download the offline installer. But there is a problem, the download page is not updated with the latest offline installer. If you check the download you will see that it downloads the old Google Chrome v3 Browser.Seems like Google are not keen on updating the Chrome offline installer download page with the latest browser.

Anyhow I have managed to figure out the link from which you can download the latest v5 Chrome browser.


Click Here to Read the Full Post →