Page 2 of 2
Re: virtualbox 4.1.12 vdi expansion failed
Posted: 2. Feb 2013, 17:36
by mpack
I don't know what your linked blog said - I don't follow offsite links.
Your questions are starting to get very basic. I don't intend to provide tuition on such low level subjects as how to copy files on OS X. I think the instructions I gave already should be quite clear if you add some common sense.
Re: virtualbox 4.1.12 vdi expansion failed
Posted: 6. Feb 2013, 19:13
by elchap1n
Just a follow up - have not heard any more on my questions -
What did you think about this article since this is what i used:
By the way i followed this URL:
http://www.gubatron.com/blog/2011/08/29 ... ve-on-mac/
Re: virtualbox 4.1.12 vdi expansion failed
Posted: 6. Feb 2013, 20:57
by elchap1n
Hello,
I was able to bring up the clone. So at this point, what are the proper directions to increase the size of the VDI and the OS. Please advice since the instruction on the website were wrong per your comments so please let me know.
Since you don't follow outside links here is paste of the website:
These are the website instructions:
Step 0. Backup your current drive (optional)
$ VboxManage clonehd <path to your original drive> <path of the copy>
Step 1. Resize!
$ VBoxManage modifyhd <path to your vdi> --resize <new size in megabytes>
Step 2. (Re)Start VirtualBox
After you’ve physically resized your drive, both VirtualBox and your OS should know about the changes.
Step 3. Let your OS know the new logical size of the drive
Storage > Disk Management > Right Click on the partition you want to extend.
Select the option that says “Extend”, a Wizard will open, just hit Next until it ends if you want to use the whole space.
After you’re done, if you refresh your “Computer” on the File explorer the resized drive should show right away
I followed the above commands step by step, but something went wrong after the resize so please let me know what the proper step are to resize windows7,thanks.
Re: virtualbox 4.1.12 vdi expansion failed
Posted: 6. Feb 2013, 21:55
by mpack
Start by making a copy (not a clone) of the VM folder to secondary disk - this is your backup in case things go wrong again.
The procedure for resizing is the same as you tried before, i.e. use "VBoxManage modifyhd --resize". If you prefer you can try installing Wine/WineBottler so that you can run CloneVDI and use that to resize the disk. Once the disk (hardware) is enlarged then you need to use Disk Management inside the Win7 guest to resize the system partition.
Re: virtualbox 4.1.12 vdi expansion failed
Posted: 6. Feb 2013, 22:00
by elchap1n
Sure, I can do that also:
Since you don't follow outside links here is paste of the website:
These are the website instructions:
Step 0. Backup your current drive (optional)
$ VboxManage clonehd <path to your original drive> <path of the copy>
Step 1. Resize!
$ VBoxManage modifyhd <path to your vdi> --resize <new size in megabytes>
Step 2. (Re)Start VirtualBox
After you’ve physically resized your drive, both VirtualBox and your OS should know about the changes.
Step 3. Let your OS know the new logical size of the drive
Storage > Disk Management > Right Click on the partition you want to extend.
Select the option that says “Extend”, a Wizard will open, just hit Next until it ends if you want to use the whole space.
After you’re done, if you refresh your “Computer” on the File explorer the resized drive should show right away
I followed the above commands step by step, but something went wrong after the resize so please let me know what the proper step are to resize windows7,thanks.
Re: virtualbox 4.1.12 vdi expansion failed
Posted: 6. Feb 2013, 22:38
by elchap1n
Oh by the way, doing just a 'cp' i get this error when I try to use the vdi that was copied:
Failed to open the hard disk
/Volumes/Data/VBOX/Windows7.vdi
Cannot register the hard disk
'/Volumes/Data/VBOX/Windows7.vdi'
{....some long UUID number...} because a hard disk '/Volumes/Data/VBOX/Win7-clone.vdi with {...some long UUID number..} already exists.
How is this issue resolved?
Re: virtualbox 4.1.12 vdi expansion failed
Posted: 6. Feb 2013, 22:50
by mpack
You asked for instructions and I gave them. Why are you still referring to that blog?
Re: virtualbox 4.1.12 vdi expansion failed
Posted: 6. Feb 2013, 23:00
by elchap1n
You mentioned that the instructions I followed were wrong so I listed what I followed and get your feedback on what is wrong, so I just wanted to make sure I have the correct instructions (step by step) on the proper virtualbox procedure to increase the size of the vdi/os disk?
Re: virtualbox 4.1.12 vdi expansion failed
Posted: 6. Feb 2013, 23:56
by ChipMcK
elchap1n wrote: I just wanted to make sure I have the correct instructions (step by step)
perhaps these references will be of assistance
viewtopic.php?f=1&p=167076
viewtopic.php?f=2&p=177034
viewtopic.php?f=7&p=191854
Re: virtualbox 4.1.12 vdi expansion failed
Posted: 7. Feb 2013, 00:08
by elchap1n
Those seem to be instruction for xp, ubuntu and linux. But I just want to make sure I have the correct instructions for MacOS. I'm trying to have the correct procedure as I don't want to loose data. Is the following procedure correct (i'm still unclear about a couple of items - see inline questions):
Step 0. Start by making a copy (not a clone) of the VM folder to secondary disk (per mpack)
$ cp <path to your original VDI File> <path of the copied VDI file>
Step 1. Resize!
$ VBoxManage modifyhd <path to your vdi> --resize <new size in megabytes>
Step 2. (Re)Start VirtualBox
--After the resize, does virtualbox pick up the changes automatically or do I need to do something in virtual box?
Step 3. Let your OS know the new logical size of the drive
Storage > Disk Management > Right Click on the partition you want to extend.
Select the option that says “Extend”, a Wizard will open, just hit Next until it ends if you want to use the whole space.
After you’re done, if you refresh your “Computer” on the File explorer the resized drive should show right away
Re: virtualbox 4.1.12 vdi expansion failed
Posted: 19. Jun 2013, 10:15
by Doccus
[quote="elchap1n"]Sure, I can do that also:
Since you don't follow outside links here is paste of the website:
These are the website instructions:
Step 0. Backup your current drive (optional)
$ VboxManage clonehd <path to your original drive> <path of the copy>
Step 1. Resize!
$ VBoxManage modifyhd <path to your vdi> --resize <new size in megabytes>
Step 2. (Re)Start VirtualBox
After you’ve physically resized your drive, both VirtualBox and your OS should know about the changes.
Step 3. Let your OS know the new logical size of the drive
Storage > Disk Management > Right Click on the partition you want to extend.
Select the option that says “Extend”, a Wizard will open, just hit Next until it ends if you want to use the whole space.
After you’re done, if you refresh your “Computer” on the File explorer the resized drive should show right away
========================
I also followed these instructions, however I got only a "new partition" until I realized this I kept trying to figure out why the drive was not reported as the new size..inconvenient, as I need to reinstall the programs onto the new partition, to have the paths correctly recognized, but acceptable.. is it simply a limitation in win 2000 that there is no "extend" option? I also have an XP install that needs a larger HD, but that one really does need the main HD enlarged.. IS the "extend" option not a function of Virtual Box at all, but simply a windows option?
THX
Re: virtualbox 4.1.12 vdi expansion failed
Posted: 19. Jun 2013, 11:05
by noteirak
IS the "extend" option not a function of Virtual Box at all, but simply a windows option?
That is correct.