Holy cow. 6 hours later this finally worked:
Last login: Tue Sep 3 15:21:15 on ttys000
unknown705681b97031:~ lindsaygrant$ VBoxManage modifyhd VirtualBox\ VMs/WindowsVM/WindowsVM.vdi --resize 35860
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
unknown705681b97031:~ lindsaygrant$
For future users:
Bold is the code you use, but you need to make it specific to your computer/destination/path:
Type "VBoxManage modifyhd", drag the guest .vdi from finder but delete User/<*name*>, then type "resize <*size in mb*>" and push enter. No quotes and spaces or not doesn't matter. Just copy/paste or drag/drop, let it to it's thing and voila.
Now, that just tells the virtual machine that you have 10 gb more available. Next, boot up your virtual machine (I have windows 7, so this is how it works in windows 7), then open disk manager. Right click on your main hdd space and select "extend volume" It will walk you thru the wizard. My wizard automatically selected the extra 10gb space, so just hit next or ok and voila. Done.
SOLVED Error: Resize Guest Windows 7 VM
-
- Posts: 15
- Joined: 21. Apr 2013, 00:14
- Primary OS: Mac OS X other
- VBox Version: OSE other
- Guest OSses: Windows 7
Re: Error: Resize Guest Windows 7 VM
thanks, this was super easy after modifyhd.Perryg wrote:With Windows 7 you don't need Gparted. Just use the disk manager in Windows to extend the primary partition.
Re: SOLVED Error: Resize Guest Windows 7 VM
Thank you @ LindsayEvz Great Stuff
Re: SOLVED Error: Resize Guest Windows 7 VM
Just an update I'm using Virtual Box 5.1.6 and I used this
VBoxManage modifyhd --resize 100000 "C:\Path\to\virtual\machine\windowsvirtualmachine.vdi"
Guest win 7 and host win7
Then went in and changed size in disk management
VBoxManage modifyhd --resize 100000 "C:\Path\to\virtual\machine\windowsvirtualmachine.vdi"
Guest win 7 and host win7
Then went in and changed size in disk management
-
- Posts: 1
- Joined: 13. Aug 2019, 16:27
Re: SOLVED Error: Resize Guest Windows 7 VM
i know this is an old thread but i thought i would update it in case anyone was having issues like I was - what I ended up having to do was similar to what Lindsay did but I had to include a longer path.
Typed in VBoxManage modifyhd, and dragged the guess .vdi from the finder, but DID NOT delete any of the path. It ended up looking like this:
TGC-MAC-84155:~ a206629554$ VBoxManage modifyhd /Users/a206629554/VirtualBox\ VMs/Windows\ 10/Windows\ 10.vdi --resize 100000
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
TGC-MAC-84155:~ a206629554$
Then I opened the virtual machine, which was a windows guest, and extended the disk through disk management.
Typed in VBoxManage modifyhd, and dragged the guess .vdi from the finder, but DID NOT delete any of the path. It ended up looking like this:
TGC-MAC-84155:~ a206629554$ VBoxManage modifyhd /Users/a206629554/VirtualBox\ VMs/Windows\ 10/Windows\ 10.vdi --resize 100000
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
TGC-MAC-84155:~ a206629554$
Then I opened the virtual machine, which was a windows guest, and extended the disk through disk management.
Re: SOLVED Error: Resize Guest Windows 7 VM
Just the check the below command format and you are good to go
VBoxManage modifyhd --resize 70000 /Users/invincible1437/VirtualBox\ VMs/Windows\ 10/Windows\ 10.vdi
VBoxManage modifyhd --resize 70000 /Users/invincible1437/VirtualBox\ VMs/Windows\ 10/Windows\ 10.vdi