Not Enough Memory

Discussions related to using VirtualBox on Linux hosts.
Post Reply
charles
Posts: 5
Joined: 25. Feb 2009, 16:29

Not Enough Memory

Post by charles »

I made the mistake of allocating only 3.3 GB of non-dynamic harddisk memory of my /home partition to VirtualBox. I didn't have much more to give! And I didn't think things were going to really work, anyway! But they do and greatly!!

Since then I moved the VDI directory to a separate logical partition on the same physical drive with more room. I symlinked it to a VDI link on my /home; or so it seems.The host OS is booting. Now I would like to expand the VirtualBox memory or change the setting to Dynamic.

I thought I would be able to do that.

I can't figure out how to change the allocated memory size without reinstalling what seems to be a perfectly functioning VirtualBox2.1 with USB.

Any solutions :?:
polki
Posts: 49
Joined: 17. Dec 2008, 14:58

Post by polki »

Please read the FAQ. It's got a section on VDI-resizing...
charles
Posts: 5
Joined: 25. Feb 2009, 16:29

Can't Find it!

Post by charles »

I'm having trouble finding it, can you please provide a link. FAQ? HOWTO?
polki
Posts: 49
Joined: 17. Dec 2008, 14:58

Post by polki »

charles
Posts: 5
Joined: 25. Feb 2009, 16:29

VBoxManage

Post by charles »

Okay. Great resource. Thanks! But, I didn't want to use gparted. Can't I just use "VBoxManage modifyhd sttype normal" to set the existing harddisk storage to "dynamic" from it's current "static" state?? Or some VBoxManage command to do the same???

Using gparted on my /home I was always warned was a little dangerous.

I'll keep looking; thanks for the link.
polki
Posts: 49
Joined: 17. Dec 2008, 14:58

Post by polki »

Well, static or dynamic makes no difference in your case. Dynamic just means that the space the VDI takes on the host is allocated dynamically. But it won't exceed the maximum size of the VDI you specified during creation.
So if you are already at this maximum size, static or dynamic will have no difference at all...
charles
Posts: 5
Joined: 25. Feb 2009, 16:29

Post by charles »

Is the fact that a new symlink is in the /home partition and points to the new VDI location (mv VDI): the VDI now located in the "other physical drive" mean anything?

Or is my host OS being fooled?

And, so there's no way of increasing the original specified size of the VDI other than gparted? VBoxManage won't do it?
polki
Posts: 49
Joined: 17. Dec 2008, 14:58

Post by polki »

charles wrote:And, so there's no way of increasing the original specified size of the VDI other than gparted? VBoxManage won't do it?
Right...
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

Post by Sasquatch »

Oh, Gparted isn't really needed, but it is recommended. Afterall, when you're done with CloneZilla, you still need to increase the partition size. Gparted is free, as where other tools like Paragon Partition Manager (Partition Magic is too old these days, or to much junk) are licensed.
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.
Post Reply