LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-31-2009, 03:44 AM   #1
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
How to add another drive image to an existing VM using VirtualBox?


Hi all! I have an issue with VirtualBox. My current setup is a machine running Fedora 10 with 1 Tb of disk space. I installed VirtualBox and created a fixed size disk image of 50 Gb for a virtual Windows XP64 OS. Now I require more disk space with additional 100 Gb. Is there a way to add another partition to the virtualized OS as if I added a new hard drive to the system?

In other words, I'd like to create another disk image by using additional space from the same physical drive and mount it under Windows XP in VirtualBox. Is this possible? Thank you.
 
Old 08-31-2009, 03:59 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
This question sounds too easy; perhaps I have misunderstood.

You can't add a partition to the VM (because real hardware doesn't present partitions, only HDDs so that's all the OS is designed to work with) so you have to add a virtual HDD and then the guest OS can partition it as required.

To add a virtual HDD, a .vdi file:
  1. Start the VirtualBox configuration window (Applications, System, Sun VirtualBox or similar).
  2. Ensure the Windows VM not running.
  3. If more than one VM in the left panel then click on the Windows VM.
  4. Click on "Hard Disks" and follow the on-screen prompts (+ to create new .vdi file).
.
 
Old 08-31-2009, 04:38 AM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Original Poster
Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by catkin View Post
This question sounds too easy; perhaps I have misunderstood.
Nope, you understood correctly! The question was not easy for me until I have read your solution. I didn't notice that one can click on the Hard Disk title in the list of facilities. I've just followed your instructions and now the system is formatting a new virtual disk. Tank you a lot, catkin!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to create an image from Virtualbox windows drive andextract itto real? nadavvin Linux - General 2 04-12-2008 09:07 AM
how to add new drive to existing software RAID 0 without losing the data? superbo Linux - Hardware 2 06-12-2007 09:04 AM
How do you add another drive to your existing system? blkcamarozr28 Fedora 3 08-14-2006 03:28 AM
How to add a hard drive existing Linux system a1ntsk33r3d Linux - Hardware 5 06-28-2005 02:20 PM
Add a new hard drive to existing RH 7.2 guanyu Linux - Software 1 02-27-2002 10:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration