how to increase storage for guest machine

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
me88
Posts: 9
Joined: 23. Aug 2011, 04:02
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: other

how to increase storage for guest machine

Post by me88 »

hi

how do i increase the storage for the guest machine on my virtualbox on mac os x? i already have the guest operating system already installed
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: how to increase storage for guest machine

Post by Perryg »

See Chapter 8.22 VBoxManage modifyhd and --resize in your VirtualBox users guide.
me88
Posts: 9
Joined: 23. Aug 2011, 04:02
Primary OS: Mac OS X Leopard
VBox Version: OSE other
Guest OSses: other

Re: how to increase storage for guest machine

Post by me88 »

that is no help to me!! i don't understand what it is telling me!!! i need a better explanation!!!!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: how to increase storage for guest machine

Post by Perryg »

You do this in a terminal window on the host.
VBoxManage modifyhd <filename> --resize <megabytes>
You must use the absolute path and file name including the extension for the <filename>
Since the --resize value will be in megabytes you need to specify the new size accordingly.

Example: You want to increase a 20GB drive to 40GB. you would use --resize 40960

After you have increased the size of the HDD you still need to tell the guest OS to use the rest of the new drive. You can use the guests drive manager if it is Windows Vista or newer or you boot the guest with Gparted and adjust the size with that.

I would strongly suggest that you copy the original file to a safe location before you start this (called making a backup).
Post Reply