Linux on VM!

I wonder why many software programers like Linux. I like it too. I think the greatest thing about Linux is free on top of its stability. For me, linux shell scripting allow automation of many processes required for bioinformatic analysis. For someone who wants to start using Linux, using virtual machine is a great way to start. You don’t have to worry about partitioning of the drives and file transfers are pretty easy once it is set up.

Installation of VM can be done from here. Click the download on the left panel, and select your operating system. Installation should be straight forward. Once you installed VM, you need to select what kind of operating system you want to use.  In this case, I pick ubuntu for Linux OS.  Then you need to set up memory, storage space, CPU (threads) and etc. You can play around, but what is most important is to mount the CD/DVD drive correctly with image file. Let’s get the file first.

Here you can download the latest ubuntu.

http://www.ubuntu.com/start-download?distro=desktop&bits=32&release=latest

If you click the link, your browser (most likely) starts downloading image file (iso) for the latest ubuntu. You need to unzip this big file (800MB). I use  7-zip to extract files (it is free).

Then you can move this iso file wherever you want-, I would put it in somewhere in VM directory. Next you need to mount the image file on your CD/DVD drive for your new ubuntu. This part is essential. If you don’t do it right, you see this error message.

Screen Shot 2013-06-30 at 4.42.14 PM

In order to mount your drive correctly, first you go settings on your VM, and select storage. You will see controller:IDE and Controller:SATA.

Screen Shot 2013-06-30 at 4.38.25 PM

If click the controller: IDE, you see two + buttons at the bottom of the screen. Click the left + button, then select Add CD/DVD drive. It will ask if you want it to leave empty or choose disk. So select choose disk, then locate the iso file you saved.  If this part is done correctly, you should see the .iso file in the controller:IDE box.

Screen Shot 2013-06-30 at 4.39.40 PM

OK, you are almost done. Now you hit ok, and then start the ubuntu. The VM will start the new OS and installation window appears. Congratulations! The installation of ubuntu should be straight forward, so I will not discuss about it here.

Screen Shot 2013-06-30 at 4.30.53 PM

About bioinfomagician

Bioinformatic Scientist @ UCLA

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: