{"id":4665,"date":"2015-01-03T13:31:59","date_gmt":"2015-01-03T17:31:59","guid":{"rendered":"http:\/\/www.dr-chuck.com\/csev-blog\/?p=4665"},"modified":"2015-01-03T13:31:59","modified_gmt":"2015-01-03T17:31:59","slug":"moving-virtual-box-images-from-mac-internal-hard-drive-to-external-drive","status":"publish","type":"post","link":"https:\/\/www.dr-chuck.com\/csev-blog\/2015\/01\/moving-virtual-box-images-from-mac-internal-hard-drive-to-external-drive\/","title":{"rendered":"Moving Virtual Box Images from Mac Internal Hard Drive to External Drive"},"content":{"rendered":"<p>There seem to be a lot of posts that show how to move a VirtualBox or Boot2Docker image to a new hard drive the hard way using the command line. I just came across an easy way to move a virtual box image to an external hard drive to free up space on my main hard drive. As I start playing more with docker I cannot affort to fill my main hard drive up with docker \/ virtualbox images. Here is the trick.<\/p>\n<p><a href=\"http:\/\/www.dr-chuck.com\/csev-blog\/wp-content\/uploads\/2015\/01\/virtualbox-prefs.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-medium wp-image-4666\" src=\"http:\/\/www.dr-chuck.com\/csev-blog\/wp-content\/uploads\/2015\/01\/virtualbox-prefs-300x128.png\" alt=\"virtualbox-prefs\" width=\"300\" height=\"128\" srcset=\"https:\/\/www.dr-chuck.com\/csev-blog\/wp-content\/uploads\/2015\/01\/virtualbox-prefs-300x128.png 300w, https:\/\/www.dr-chuck.com\/csev-blog\/wp-content\/uploads\/2015\/01\/virtualbox-prefs.png 564w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>Go to Virtual Box Preferences and change the Default Machine Folder to be on your external drive.<\/p>\n<p>Then control-click on the image that is stored on your main disk and clone it.   Since the default is now your external drive it will clone it to your external drive. <\/p>\n<p>Then boot your cloned VM to make sure it is OK and then delete your original VM from the VirtualBox UI.  Then just to be doubly sure it still works.<\/p>\n<p>As an added bonus, if you make new VM&#8217;s (i.e. perhaps you downloaded and installed boot2docker) they will be placed on the external drive as that is now the location where all new VMs get created.<\/p>\n<p>Of course it means that you need to plug in your external drive whenever you do anything with boot2docker of VirtualBox.   But you have a bunch o disk freed up on your main hard drive.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There seem to be a lot of posts that show how to move a VirtualBox or Boot2Docker image to a new hard drive the hard way using the command line. I just came across an easy way to move a virtual box image to an external hard drive to free up space on my main [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4665","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/4665","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/comments?post=4665"}],"version-history":[{"count":3,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/4665\/revisions"}],"predecessor-version":[{"id":4669,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/4665\/revisions\/4669"}],"wp:attachment":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/media?parent=4665"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/categories?post=4665"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/tags?post=4665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}