{"id":1701,"date":"2017-05-13T06:27:59","date_gmt":"2017-05-13T05:27:59","guid":{"rendered":"http:\/\/cdblog.cdstealer.com\/?p=1701"},"modified":"2017-05-13T06:29:02","modified_gmt":"2017-05-13T05:29:02","slug":"expand-virtualbox-vdi-drive","status":"publish","type":"post","link":"https:\/\/cdblog.cdstealer.com\/?p=1701","title":{"rendered":"Expand VirtualBox VDI drive"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1249\" src=\"http:\/\/cdblog.cdstealer.com\/wp-content\/uploads\/2016\/09\/Virtualbox_logo-300x300.png\" alt=\"\" width=\"300\" height=\"300\" srcset=\"https:\/\/cdblog.cdstealer.com\/wp-content\/uploads\/2016\/09\/Virtualbox_logo-300x300.png 300w, https:\/\/cdblog.cdstealer.com\/wp-content\/uploads\/2016\/09\/Virtualbox_logo-150x150.png 150w, https:\/\/cdblog.cdstealer.com\/wp-content\/uploads\/2016\/09\/Virtualbox_logo.png 512w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>This process is very easy. \u00a0Obviously I'll be using \u00a0a Linux host, but the process should be the same for a windows host.<\/p>\n<h4>Windows Guest:<\/h4>\n<p>First thing is to detach the vdi from the VM we wish to expand.<\/p>\n<p>Open the VirtualBox Manager GUI.<\/p>\n<p>Open the settings for the VM to modify.<\/p>\n<p>Click Storage on the left<\/p>\n<p>Right click the VDI to change and select Remove Attachment.<\/p>\n<p>Now open a terminal and enter the following command (change for your details)<\/p>\n<pre>VBoxManage modifymedium \"\/path\/to\/win10\/win10.vdi\" --resize 50000<\/pre>\n<p>(The resize value is in MB)<\/p>\n<p>As soon as you press enter, the vdi will be expanded.<\/p>\n<p>Now re-attach the vdi to the VM<\/p>\n<p>Open the settings for the VM to modify.<\/p>\n<p>Click Storage on the left<\/p>\n<p>Right click on the Controller and select Add Hard Disk<\/p>\n<p>Then Choose existing disk<\/p>\n<p>Browse to the VDI file.<\/p>\n<p>Now we need to configure windows to use the new space.<\/p>\n<p>Start up the VM.<\/p>\n<p>Right click on the Start button and select Disk Management<\/p>\n<p>Right click on the drive you want to expand and select Extend Volume.<\/p>\n<p>Click Next a few times.<\/p>\n<p>Done. \u00a0That's it!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This process is very easy. \u00a0Obviously I'll be using \u00a0a Linux host, but the process should be the same for a windows host. Windows Guest: First thing is to detach the vdi from the VM we wish to expand. Open the VirtualBox Manager GUI. Open the settings for the VM to modify. Click Storage on &hellip; <a href=\"https:\/\/cdblog.cdstealer.com\/?p=1701\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Expand VirtualBox VDI drive<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[293,292,294,290,291,238],"class_list":["post-1701","post","type-post","status-publish","format-standard","hentry","category-gentoo","tag-expand","tag-extend","tag-storage","tag-vbox","tag-vboxmanage","tag-virtualbox"],"_links":{"self":[{"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/posts\/1701","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1701"}],"version-history":[{"count":2,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/posts\/1701\/revisions"}],"predecessor-version":[{"id":1703,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/posts\/1701\/revisions\/1703"}],"wp:attachment":[{"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1701"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}