I installed VirtualBox, got Windows 7 up and running, and of course installed all of the updates, Comodo anti-virus, and Firefox. Bare minimal installation. Then I installed Sketchup and went to work. Hours of watching and pausing YouTube, repeating the process in Sketchup, and I'm starting to get excited about the prospect of having actual, real dimensions printed out with my woodworking plans in multiple views, angles, etc.
Tenons for a mobile planer cart
The planer cart
Sander caddy with paper storage
Next up: Windows strikes again and is running out of space.
Out of space!
How is that even possible? I dynamically allocated 25GB on my hard drive just for Windows. It's a very minimal installation, yet here I am with a red bar below my C:\ drive, and it stating I have 941MB left of my initial 25GB. Seriously? I am reminded once again why I switched years ago to Linux.
- Shut down Windows
- Close VirtualBox
- sudo VBoxManage modifyhd "/path/to/vdi/Windows 7.vdi" --resize <size in MB>
- In my case: sudo VBoxManage modifyhd "/mnt/Media/VBox/Windows 7.vdi" --resize 30000
- Note: the quotes are only required if there is a space in the path (or use the \ modifier, whatever suits you best).
- Open VirtualBox, but don't start Windows just yet
- Right Click the Windows instance > Settings
- Go to Storage in the left pane and click on your VDI file
- Verify the Virtual Size is what you requested
- Close out of settings and start Windows
- Since Windows won't automatically add the new space to your drive, open Disk Management (Control Panel > Administrative Tools > Create and Format hard disk partitions
- Right click on your Windows volume > Extend Volume
- Change options as you see fit. I left everything as-is, because I want all 5GB additional space allocated to this volume.
- Next > Finish
- Your Disk Management should now show that you have increased the size of your Windows volume
- Open Windows Explorer and verify your hard drive now shows your new storage space
- For me, it still showed the old amount because I was in the My Computer view before resizing. If this is your case, simply click on some other place in Windows Explorer, and go back to Computer view and it should update.
And Wa La! Back to the happy blue color.
I hope this helps out someone. If you run into problems, review the documentation. While researching, I ran across a post on the Ubuntu forums that if it is a fixed disk instead of dynamically allocated - meaning your original VDI file was the full size of the disk instead of gradually growing as needed over time - this process will not work. There is, however, a VirtualBox utility out there that will supposedly copy your fixed VDI file to a dynamic one while resizing it. I believe it is a Windows utility so I didn't pay much attention to it.
Good luck, and if there are any discrepancies please let me know in the comments.