{"id":645,"date":"2007-10-14T13:09:21","date_gmt":"2007-10-14T18:09:21","guid":{"rendered":"http:\/\/www.bytebot.net\/blog\/archives\/2007\/10\/14\/how-to-clone-a-virtual-machine-with-vmware-server"},"modified":"2008-01-11T03:39:16","modified_gmt":"2008-01-11T08:39:16","slug":"how-to-clone-a-virtual-machine-with-vmware-server","status":"publish","type":"post","link":"https:\/\/www.bytebot.net\/blog\/archives\/2007\/10\/14\/how-to-clone-a-virtual-machine-with-vmware-server","title":{"rendered":"How to clone a virtual machine with VMWare Server"},"content":{"rendered":"<p>There didn&#8217;t seem like a clear way to make a copy (or clone) of a virtual machine with VMWare Server. Not with the 1.0.3 build-44356 which comes standard with the Ubuntu Commercial repository (one of the good virtues of Ubuntu).<\/p>\n<p>So, I fired up the console, and did:<br \/>\n<tt>cp -ax Centos\\ 5\/ Centos\\ 5-new<\/tt><\/p>\n<p>It took 4m5.643s to copy this on my laptop hard disk (only 1.5GB). I loaded it into VMWare, via their <strong>Open a virtual machine<\/strong> option, renamed it in the inventory, powered my new virtual machine on and was asked if I&#8217;d like to create a new UUID for it. I&#8217;d advise you to create one, and once that was done, my virtual machine is ready to go.<\/p>\n<p align=\"center\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/bytebot.net\/shots\/create-new-uuid-vmware.png\" \/><br \/>\n<em>Create a new UUID, and you&#8217;re set<\/em><\/p>\n<p>Exactly what I like. Not re-installing CentOS everytime. Just create a &#8220;golden&#8221; image and start cloning from there. Maybe with some slack\/puppet integration in the future, if I end up using a lot of VMs.<\/p>\n<p>Technorati Tags: <a href=\"http:\/\/technorati.com\/tag\/linux\" class=\"performancingtags\" rel=\"tag\">linux<\/a>, <a href=\"http:\/\/technorati.com\/tag\/virtualization\" class=\"performancingtags\" rel=\"tag\">virtualization<\/a>, <a href=\"http:\/\/technorati.com\/tag\/vmware\" class=\"performancingtags\" rel=\"tag\">vmware<\/a>, <a href=\"http:\/\/technorati.com\/tag\/vmware%20server\" class=\"performancingtags\" rel=\"tag\">vmware server<\/a>, <a href=\"http:\/\/technorati.com\/tag\/cloning%20an%20image\" class=\"performancingtags\" rel=\"tag\">cloning an image<\/a>, <a href=\"http:\/\/technorati.com\/tag\/image\" class=\"performancingtags\" rel=\"tag\">image<\/a>, <a href=\"http:\/\/technorati.com\/tag\/clone\" class=\"performancingtags\" rel=\"tag\">clone<\/a>, <a href=\"http:\/\/technorati.com\/tag\/testing\" class=\"performancingtags\" rel=\"tag\">testing<\/a>, <a href=\"http:\/\/technorati.com\/tag\/testbed\" class=\"performancingtags\" rel=\"tag\">testbed<\/a>, <a href=\"http:\/\/technorati.com\/tag\/test%20environment\" class=\"performancingtags\" rel=\"tag\">test environment<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There didn&#8217;t seem like a clear way to make a copy (or clone) of a virtual machine with VMWare Server. Not with the 1.0.3 build-44356 which comes standard with the Ubuntu Commercial repository (one of the good virtues of Ubuntu). So, I fired up the console, and did: cp -ax Centos\\ 5\/ Centos\\ 5-new It [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-645","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p4vJD-ap","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/645","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/comments?post=645"}],"version-history":[{"count":0,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/645\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=645"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=645"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=645"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}