Increasing the guest HD Size

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
sonicyellow
Posts: 1
Joined: 13. Jul 2010, 16:36
Primary OS: Mac OS X other
VBox Version: OSE other
Guest OSses: Vista

Increasing the guest HD Size

Post by sonicyellow »

So at risk of getting flamed, I ask because I was unable to find anything about this in the help section or these boards - I installed vista on a 20GB virtual file, and of course, vista now needs more space (specifically to install SP2).

Can anyone point me in the right direction on this? Is it not possible? During the install process I specifically chose 20GB because it said it could be expanded later - I suspect now that it was referring to the accrual space it was using vs the absolute max.

Thanks!
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Increasing the guest HD Size

Post by Sasquatch »

Please see the VirtualBox FAQ for help on that. If you have a Windows machine available or you have Wine installed on your Mac, you can use CloneVDI (see the sticky in Windows Hosts section) to grow the VDI file.
You can also create a new VDI and clone the current one to the new one using CloneZilla (or similar tools).

The size that you provide when creating the VDI is the max size of said VDI. It will grow to that size when you select dynamic, it will occupy the full space on your hard drive when you select fixed. The difference is explained in the manual ;).
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
P_V
Posts: 9
Joined: 7. Jul 2010, 15:40
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: Fedora 13

Re: Increasing the guest HD Size

Post by P_V »

Hallo all,
I have a very naive question about this topic.
If the size of the virtual HD grows up to the selected amount it seems that it could be increased just by changing the "size" parameter of the VDI file.
Why isn't it so simple?

cheers,
Paolo
towo
Posts: 84
Joined: 19. Dec 2007, 10:59

Re: Increasing the guest HD Size

Post by towo »

Can you increase a real HD?
P_V
Posts: 9
Joined: 7. Jul 2010, 15:40
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: Fedora 13

Re: Increasing the guest HD Size

Post by P_V »

Hardware is different from software, so why do you ask?
cheers,
Paolo
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Increasing the guest HD Size

Post by Sasquatch »

P_V wrote:Hardware is different from software, so why do you ask?
cheers,
Paolo
It's all documented, so why do you ask?
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
P_V
Posts: 9
Joined: 7. Jul 2010, 15:40
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: Fedora 13

Re: Increasing the guest HD Size

Post by P_V »

Hallo,

The point is that you _can_ decide the size of the virtual HD
but it is difficult to change it after you write something.
( while it is not possible to change the size of a real HD...).

Moreover, since the size of the VDI file increases with the usage it means:
1) that in the code there must be a parameter which sets the size limit
2) when you write something on the virtual drive it doesn't necessary need
all the space on the HD.

One reason could be that the "HD size parameter" modifies the position of the memory blocks.
I suppose that the difficulty is this one, but that's all I could understand from the documentation.

I asked because (for non experts, like me) it is not so simple to understand,
even with the documentation.

cheers,
Paolo
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: Increasing the guest HD Size

Post by ChipMcK »

The file systems of an operating system manage the space within a partition that resides on a hard drive.
The file systems of an operating system do not manage the space on the hard drive.
Post Reply