Can I increase the disk size?

Discussions about using Windows guests in VirtualBox.
Post Reply
jek11
Posts: 17
Joined: 27. Feb 2013, 21:41

Can I increase the disk size?

Post by jek11 »

I have searched on "disk size" to try and find a thread about increasing the size of the disk in VM but am not finding one that helps me or I just am not understanding. Can I increase the size of the disk of an existing VM or machine or am I "out of luck" and have to start over creating a new machine and building the Win7/Office 2013 machine as I need it?

Thanks,

jek11
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Can I increase the disk size?

Post by loukingjr »

OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
jek11
Posts: 17
Joined: 27. Feb 2013, 21:41

Re: Can I increase the disk size?

Post by jek11 »

Thank you very much loukingjr! :D

jek11
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Can I increase the disk size?

Post by loukingjr »

you're welcome.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
jek11
Posts: 17
Joined: 27. Feb 2013, 21:41

Re: Can I increase the disk size?

Post by jek11 »

I am entering the command as shown in the screen shot of the cmd window and getting the error(s?) that I do. The first seems to be in the name of the file. I am including a screen shot of the windows explorer window showing the path and file name. What am I doing wrong?

Now I know how to "paste" screen shots :roll:

Thanks,

jek11
Attachments
The command window error screen shot
The command window error screen shot
VBoxError.JPG (51.1 KiB) Viewed 3125 times
The Windows Explorer screen shot showing the path info and file name.
The Windows Explorer screen shot showing the path info and file name.
VBoxPath.JPG (46.09 KiB) Viewed 3125 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Can I increase the disk size?

Post by mpack »

'*' can't be part of a path name. That part of the path is "VirtualBox VMs".
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Can I increase the disk size?

Post by Perryg »

And the name is "Test Win7.vdi " not just Test.vdi
jek11
Posts: 17
Joined: 27. Feb 2013, 21:41

Re: Can I increase the disk size?

Post by jek11 »

Okay, I entered the path with all spaces in each folder/file name as it is in the Explorer window and I got back

Syntax error: Invalid parameter 'VMs\Win7Admin\Test'

That is why I was trying to use the wild card *

Thanks,

jek11
Attachments
VBoxError2.JPG
VBoxError2.JPG (50.37 KiB) Viewed 3115 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Can I increase the disk size?

Post by Perryg »

Any time there are spaces in the command line you need to wrap it in quotes " "
jek11
Posts: 17
Joined: 27. Feb 2013, 21:41

Re: Can I increase the disk size?

Post by jek11 »

Wrap just the places that have a space, folder or file name or wrap the entire line? Also in the Test Win7.vdi would the trailing quote be before the dot or after the vdi? Gee, can you tell I am not a programmer???

Thanks for all the help everyone :)

jek11

Edit:

I think I got it! I just ran it with the entire path enclosed in quotes and got a return line of 10% 20% ... 100%. Now I will see if the file is bigger! WooT!!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Can I increase the disk size?

Post by Perryg »

That was step one. Now you need to extend the primary partition to use the new size. Disk management in Windows 7 can achieve this for you.
jek11
Posts: 17
Joined: 27. Feb 2013, 21:41

Re: Can I increase the disk size?

Post by jek11 »

My last post seems to have evaporated. I said I was doing the happy dance! I did you disk management and extended the disk into the new empty space so I now have a disk with space again :) .

Thanks to all for your help!!!

jek11
Post Reply