Increasing hard disk space allocation?

Discussions related to using VirtualBox on Mac OS X hosts.

Increasing hard disk space allocation?

Postby MauriceIRL » 13. Mar 2009, 18:22

How do I increase the VM hard disk space allocation, please?
MauriceIRL
 
Posts: 13
Joined: 25. Aug 2008, 14:18

Re: Increasing hard disk space allocation?

Postby TerryE » 13. Mar 2009, 19:03

You have to move your partition(s) to a larger VDI. See my tutorial All about VDIs for more info.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
TerryE
Volunteer
 
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS

Re: Increasing hard disk space allocation?

Postby MauriceIRL » 14. Mar 2009, 13:41

Many thanks, Terry, for your prompt and really comprehensive answer, which I really appreciate.

I was going to try increasing my disk space allocation to see if it would solve a particular problem, but on reflection it seems like a sledgehammer to crack a nut, as I have used my VM very little yet. I'd be very grateful if you could tell me how to fix this problem, which is that I can't carry out updates within the VM (XP on OS X 10.5.6, with 1GB memory [4GB total] and 10GB disk space), e.g. AVGfree update attempt produces the following error message:
    <Update failed.
    General error - not enough free memory, write error.>
Similar messages appear if I try to to a Windows update.

Your help would be much appreciated, as a January post produced no response.
Kind regards.
Maurice
MauriceIRL
 
Posts: 13
Joined: 25. Aug 2008, 14:18

Re: Increasing hard disk space allocation?

Postby TerryE » 14. Mar 2009, 14:32

Maurice, sorry about the no-response in January. Anyway, to your problem. The easiest work-around is to add a second VDI to your XP VM. Don't forget to use My Computer -> Manage -> Disk Management to format the drive and allocate partition letter(s). There is a Microsoft SysInternals tool to allow you to Symlink directories to the new partition. Also remember to clean up your old drive (%temp%, internet cache, old c:\windows\$NtUninstallKB* directories). Use My Computer -> Properties -> Advanced -> Performance Settings to move your pagefile to the new drive. Also make sure that you have XP hibernation disabled (you don't need this since you can savestate your VM instead). Then defrag the C drive and try again.
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
TerryE
Volunteer
 
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS

Re: Increasing hard disk space allocation?

Postby MauriceIRL » 15. Mar 2009, 21:37

Thanks again, Terry, for your prompt and comprehensive reply. I'll try doing what you suggest, although I don't understand all the technical terms - yet! But I realise I need to learn about this new world of virtualisation.
Maurice
MauriceIRL
 
Posts: 13
Joined: 25. Aug 2008, 14:18

Re: Increasing hard disk space allocation?

Postby MauriceIRL » 8. Apr 2009, 23:51

Terry:
Having added a second VDI (called Local Disk E:, E: being the first default partition letter available), do I not need to make the new partition the System partition (C:) eventually to solve my problem? If so, how?
Maurice
MauriceIRL
 
Posts: 13
Joined: 25. Aug 2008, 14:18


Replacing problem VDI

Postby MauriceIRL » 9. Apr 2009, 12:14

Thanks, vbox4me2 (great alias!), for you prompt reply.
However, I need to replace/repair my first VDI (and enlarge it, too), as I can't write to it. Details are in my earlier posting.
Maurice
MauriceIRL
 
Posts: 13
Joined: 25. Aug 2008, 14:18

Re: Increasing hard disk space allocation?

Postby vbox4me2 » 9. Apr 2009, 13:22

There are several linux live CD's that can do that repair for you. After that you can clone/enlarge it.
vbox4me2
Volunteer
 
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam


Return to VirtualBox on Mac OS X Hosts

Who is online

Users browsing this forum: Google [Bot] and 12 guests