Virtual Box : How to Increase Disk Size - Windows

preview_player
Показать описание
How to increase disk size or disk storage in oracle virtual box

the command you have to use:
Рекомендации по теме
Комментарии
Автор

Hi, there is actually now an EASIER way to do this:
1. Select 'File' in the top left of the VirtualBox Manager
2. Select 'Virtual Media Manager...'
3. Pick the Hard Disk .vdi you wish to increase
4. Right Click and select 'Properties' (or just select the properties option above)
5. View the 'Attribute' tab at the bottom of the window
6. Now you can move the slider for the size you wish to select to change your hard disk to
7. Select 'Apply'
Done.

theonlyrealdante
Автор

worked beautifully for me using Windows 10 with Ubuntu 18.04 VM and VirtualBox 6.0. You need to do sudo apt-get install gparted in order to extend the disk. Open gparted from the terminal or from the dashboard

carloscarrillo
Автор

Thanks, that was absolutely perfect.
Just a couple of notes for people trying this method...
1) Also works perfectly for those using the VHD extension (instead of VDI).
2) I was using windows 7, so at 02:00 I only got the option to open 'Powershell' and not 'command window'. Powershell will not work with this method. Instead go to your Start Menu and type CMD and Select 'Command Prompt". Before continuing you will need to navigate to the VirtualBox directory so for the example above you will need to type "C:\Program Files\Oracle\VirtualBox" (without quotes) and enter. Then just continue as normal.

mustaffaleak
Автор

Perfect, this is perfect example how things should be explained !

vvictoria
Автор

WOW! I was reviewing all kinds of command line gibberish and stumbled on this hands on, detailed explanation. I wrote notes and my versions were a little different but was amazed at the ease. Thank you very much for a seamless tutorial.

girohead
Автор

February 2020 and this worked fine for me.

Only thing I would mention is that "Open command prompt here" is not the standard on Windows 10, so I just opened up a cmd window from the Start menu (I selected "Run as Administrator") and navigate to the correct folder. From then on it all "just worked" as described here.

I notice another comment below that the actual physical space as reported by the host (Win 10 in my case) does not seem to report an increase in physical disk space (I increased my disk from 26GB to 40GB but host Win10 still says it is 26GB). *This is correct* The file will expand as required. My client system (Win7) "thinks" it has all 40Mb available but actual physical space will only be used as required. You can see this in the "Settings" for the machine:
Virtual size: 40GB
Actual Size: 24.90 GB

Thanks for a very clear and descriptive "How To".

RalphBacon
Автор

Worked great for me, thank you for the detailed video. I had one issue. Please note, if you have any snapshots of your VM, Disk Management will not show you the unallocated space. You must delete your snapshots, then the unallocated space will be available and you can extend the volume size.

toddbroceus
Автор

You did a really good job at being straightforward and understandable in this video. All the steps in this video still work as of March 30, 2019.

Great job, Safaa!

bryanlazores
Автор

Dude, what if hard disk has fixed size? I get error : Progress state: VBOX_E_NOT_SUPPORTED
VBoxManage.exe: error: Resize medium operation for this format is not implemente
d yet!

doobip
Автор

Sincer thanks, Safaa Al-Hayali! For once I could actually follow your CLEAR SIMPLE instructions and . . . to my surprise, EVERYTHING ACTUALLY WORKED. I am extremely grateful!

detentionriver
Автор

Thank you! Struggled with this using written guides but needed your visual guide to help me out. Keep up the great vids

derrickunger
Автор

Excellent tutorial. I spent more than an hour going through different website tutorials unsuccessfully, this video explained my problem and how to solve it in less than 5

Tolkien
Автор

Thank you. Very clear and easy to follow.

I am a Linux guru, so all this Windows stuff is a little uncomfortable. This guid showed me just what I needed to do.

AdrianChallinor
Автор

Thank you! It worked! I have a Windows 7 virtual machine and a Windows 10 real one so i used ".\vboxmanage.exe modifyhd "[vdi location]" --resize [overall amount of the space you want your VM HD to have]

TheManinBlack
Автор

Thank you for your great tutorial. On the latest update to windows 10, Microsoft has changed the default context menu command to "open PowerShell window here" just for your information.

oldsoulrebel
Автор

Thanks. If anyone is using VirtualBox 4.x then the command is: VBoxManage modifyhd .... not modifymedium

Superkuh
Автор

Thanks a lot for sharing this info, this saved lot of time. I was afraid of doing it but it worked quite well for resizing my Virtual storage of a virtual Ubuntu. My laptop is a Windows10 (Host), VirtualBox 6.0, Ubuntu 18.04.02. After resizing my virtual storage from 10G to 50G, I had to resize the Ubuntu ext4 partition with the new available space. I used the gparted tool for resizing the partition and this was quite easy.

Again thank you for the sharing.

philippecarre
Автор

Worked perfectly. Very clear tutorial. How anyone would give this a thumbs down makes me question their ability to follow simple clear directions. Great video. Thanks.

bocamax
Автор

I did not even know about this command line tricks,
very well explained, and additionally a calming voice tone.

technicaluserco
Автор

Saffaa I didn't even watch the video once I just did this as you were doing it and pausing. It worked! yay!
Thank you my good man! Your instructions were not garbled and nice and clear!
I will look at your other stuff and subscribe!

batman