ComTech: IT Support Stirling
TwitterFacebookGoogle

How to add a second hard disk to a virtual machine in Virtualbox

ComTech: IT Support Stirling


Today I will show you how to add a second hard drive to your virtual machine using Virtualbox.  If your first hard drive is slowly filling up this is a very easy way to expand your storage.

Time to fire up Virtualbox.

For the purpose of this tutorial I will use the Windows 7 virtual machine (make sure it is powered off first!!) and add a second sata hard drive of 20Gb.

Time to change those settings so click on Settings.

We now need to click on Storage, locate the Sata controller (as shown above) and click on the Add hard disk icon (shown above).  You will then get the message below.

If you already have a disk set up click Choose Existing Disk but for the purpose of this tutorial click Create new disk.

This will now start the Virtual Disk Creation Wizard.  On the first page make sure you choose the VDI format for your hard drive and click next.

The next page of the wizard is Virtual Disk Storage Details.  You can either choose a dynamic disk or a fixed size disk.  Dynamic disks slowly grow over time to the maximum value you set whereas fixed is just that – a fixed size.  Fixed are faster to use but take longer to create.  Let’s create a fixed size of 20 Gb.

Next we have to decide where to store this new virtual disk.  Personally I don’t store any virtual disks on the same hard drive as the host operating system.  This means that in the event of the host disk dying my virtual machines are kept separate.  I can then quickly retrieve them and get them back up with little time lost.

The final page is the Summary page.  Review your configuration options and when you are happy click create.  Your second hard drive will now be created and attached to your virtual machine.

All that is left to do is fire up your virtual machine and check if you have a second hard drive of 20 Gb available.  On a Windows machine you will need to go to:

Start – Control panel – Administrative Tools – Disk Management

and format the drive with a filesystem and drive letter.  Only then will Windows recognise it as another hard drive.

About the Author

P1020114

Hi I’m Chris Wakefield the owner of ComTech IT Support. I provide Windows, Mac and Linux based IT Support to small businesses in Stirling, Alloa and Falkirk.

Follow @Comtech247 on Twitter

 

 

2 thoughts on “How to add a second hard disk to a virtual machine in Virtualbox

  1. Nice… What about Linux? My system drive is full. It’s part of an LVM. How can I swap the contents of the old disk?

    George…

Leave a comment

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Current day month ye@r *

CyberChimps
Follow

Get every new post delivered to your Inbox

Join other followers

WordPress SEO fine-tune by Meta SEO Pack from Poradnik Webmastera
WP Like Button Plugin by Free WordPress Templates