{"id":1459,"date":"2015-01-29T05:06:00","date_gmt":"2015-01-28T23:06:00","guid":{"rendered":"http:\/\/techsatwork.com\/blog\/?p=1459"},"modified":"2016-01-07T11:31:02","modified_gmt":"2016-01-07T05:31:02","slug":"expanding-vm-disk-virtual-box","status":"publish","type":"post","link":"https:\/\/techsatwork.com\/?p=1459","title":{"rendered":"Expanding VM disk in Virtual Box"},"content":{"rendered":"<p>I have been using VirtualBox for couple of weeks now and I find it pretty stable. \u00c2\u00a0<a title=\"Virtual Box\" href=\"https:\/\/www.virtualbox.org\" target=\"_blank\">VirtualBox<\/a>\u00c2\u00a0is a free VM engine from Oracle. \u00c2\u00a0It can run pretty much any OS you want as a guest\u00c2\u00a0with Windows, Linux , Solaris and OS X as the host. \u00c2\u00a0I have Windows 8 and Ubuntu as a guest running on my OS X. \u00c2\u00a0But last night I ran out of space in my virtual environment. What I found is unlike VMWare , there is no native GUI app to expand the disk. Either you have to download something like Gpart or use the command line. So I thought I will type up something quick to show how to <del>expand<\/del> \u00c2\u00a0resize the virtual disk.<\/p>\n<p>First of all shutdown the guest OS (virtual image).<br \/>\nThen open a command windows or a terminal window with admin access<br \/>\nType: \u00c2\u00a0vBoxManage modifyhd &lt;&#8216;full path\/vmimage.ext&#8217;&gt; &#8211;resize &lt;size in MB&gt;<br \/>\nIt will take a few seconds to minute to complete.<br \/>\nYou should now see the new size on the Oracle VM VirtualBox Manager<\/p>\n<p>In this example, I am resizing the image to 35 GB<\/p>\n<p><a href=\"https:\/\/techsatwork.com\/blog\/wp-content\/uploads\/2015\/01\/virtualbox.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-1460\" src=\"https:\/\/techsatwork.com\/blog\/wp-content\/uploads\/2015\/01\/virtualbox.jpg\" alt=\"virtualbox\" width=\"1526\" height=\"82\" srcset=\"https:\/\/techsatwork.com\/wp-content\/uploads\/2015\/01\/virtualbox.jpg 1526w, https:\/\/techsatwork.com\/wp-content\/uploads\/2015\/01\/virtualbox-300x16.jpg 300w, https:\/\/techsatwork.com\/wp-content\/uploads\/2015\/01\/virtualbox-1024x55.jpg 1024w, https:\/\/techsatwork.com\/wp-content\/uploads\/2015\/01\/virtualbox-900x48.jpg 900w\" sizes=\"auto, (max-width: 1526px) 100vw, 1526px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been using VirtualBox for couple of weeks now and I find it pretty stable. \u00c2\u00a0VirtualBox\u00c2\u00a0is a free VM engine from Oracle. \u00c2\u00a0It can run pretty much any OS you want as a guest\u00c2\u00a0with Windows, Linux , Solaris and OS X as the host. \u00c2\u00a0I have Windows 8 and Ubuntu as a guest running [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","site-transparent-header":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[358,142,364,275],"tags":[903,906,905,904,902],"class_list":["post-1459","post","type-post","status-publish","format-standard","hentry","category-how-to","category-linux","category-oracle","category-unix","tag-expand-virtual-disk","tag-oracle-vm","tag-resize-disk","tag-vboxmanage","tag-virtualbox"],"_links":{"self":[{"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/posts\/1459","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techsatwork.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1459"}],"version-history":[{"count":1,"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/posts\/1459\/revisions"}],"predecessor-version":[{"id":1461,"href":"https:\/\/techsatwork.com\/index.php?rest_route=\/wp\/v2\/posts\/1459\/revisions\/1461"}],"wp:attachment":[{"href":"https:\/\/techsatwork.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1459"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techsatwork.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1459"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techsatwork.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1459"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}