{"id":1140,"date":"2010-01-29T15:33:44","date_gmt":"2010-01-29T08:33:44","guid":{"rendered":"https:\/\/engineerball.com\/?p=1140"},"modified":"2010-01-29T15:33:44","modified_gmt":"2010-01-29T08:33:44","slug":"move-ubuntu-vm-host","status":"publish","type":"post","link":"https:\/\/engineerball.com\/blog\/2010\/01\/29\/move-ubuntu-vm-host.html","title":{"rendered":"Move Ubuntu (VM) to Another Host"},"content":{"rendered":"<p>On Virtual Box is a great software of Virtualization (free and support many guest).\u00a0 If you want to move a virtual machine under Virtual Box to another host, you can do it by the easy way :<\/p>\n<p><a href=\"https:\/\/engineerball.com\/wp-content\/uploads\/2010\/01\/Picture-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1144\" title=\"Picture 2\" src=\"https:\/\/engineerball.com\/wp-content\/uploads\/2010\/01\/Picture-2.png\" alt=\"\" width=\"485\" height=\"235\" srcset=\"https:\/\/engineerball.com\/blog\/wp-content\/uploads\/2010\/01\/Picture-2.png 485w, https:\/\/engineerball.com\/blog\/wp-content\/uploads\/2010\/01\/Picture-2-300x145.png 300w\" sizes=\"(max-width: 485px) 100vw, 485px\" \/><\/a><\/p>\n<p>Choose your virtual machine to export and location to save file, and wait until it finish \ud83d\ude42<\/p>\n<p>An another host you can add the virtual machie as the same way too :<\/p>\n<p><a href=\"https:\/\/engineerball.com\/wp-content\/uploads\/2010\/01\/Picture-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1145\" title=\"Picture 3\" src=\"https:\/\/engineerball.com\/wp-content\/uploads\/2010\/01\/Picture-3.png\" alt=\"\" width=\"486\" height=\"235\" srcset=\"https:\/\/engineerball.com\/blog\/wp-content\/uploads\/2010\/01\/Picture-3.png 486w, https:\/\/engineerball.com\/blog\/wp-content\/uploads\/2010\/01\/Picture-3-300x145.png 300w\" sizes=\"(max-width: 486px) 100vw, 486px\" \/><\/a>Locate your location of virtual machine (&#8220;ovf&#8221; file is information about your virtual machine), wait until it finish<\/p>\n<p>You done!\u00a0 Start a virtual machine<\/p>\n<p>The mostly problem I found are the network card or network interface can&#8217;t start up if you try to start it you will see this message<\/p>\n<blockquote><p># ifconfig eth0 up<br \/>\neth0: ERROR while getting interface flags: no such device<\/p>\n<p># ifconfig eth1 up<br \/>\neth1: ERROR while getting interface flags: no such device\n<\/p><\/blockquote>\n<p>Damn what wrong?<\/p>\n<p>OK\u00a0 let&#8217;s solve it.<\/p>\n<p>The first thing you must to do is check the ethernet card driver of your virtual machine<\/p>\n<blockquote><p># lspci | grep &#8220;Ethernet&#8221;<\/p><\/blockquote>\n<p>[code lang=&#8221;text&#8221; gutter=&#8221;false&#8221;]<br \/>\n00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)<br \/>\n00:08.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 40)<br \/>\n00:09.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 40)<br \/>\n00:0a.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 40)<br \/>\n[\/code]<br \/>\nYes we have the driver, what wrong?<\/p>\n<p>Let&#8217;s check this file, it generated from net-persistent you can modify \ud83d\ude42<\/p>\n<blockquote><p># nano \/etc\/udev\/rules.d\/70-persistent-net.rules<\/p><\/blockquote>\n<p>[code lang=&#8221;text&#8221; gutter=&#8221;false&#8221;]<br \/>\n# PCI device 0x1022:0x2000 (pcnet32)<br \/>\nSUBSYSTEM==&quot;net&quot;, ACTION==&quot;add&quot;, DRIVERS==&quot;?*&quot;, ATTR{address}==&quot;08:00:27:d6:14:a1&quot;, ATTR{type}==&quot;1&quot;, KERNEL==&quot;eth*&quot;, NAME=&quot;eth0&quot;<\/p>\n<p># PCI device 0x1022:0x2000 (pcnet32)<br \/>\nSUBSYSTEM==&quot;net&quot;, ACTION==&quot;add&quot;, DRIVERS==&quot;?*&quot;, ATTR{address}==&quot;08:00:27:56:5d:af&quot;, ATTR{type}==&quot;1&quot;, KERNEL==&quot;eth*&quot;, NAME=&quot;eth1&quot;<br \/>\n[\/code]<\/p>\n<p style=\"text-align: center;\">I recommended you to remember of <em>ATTR{address}==&#8221;xx:xx:xx:xx:xx:xx&#8221;,<\/em> jot it and shut down your virtual machine.\u00a0 Go to settings of this virtual machine, focus on Network<a href=\"https:\/\/engineerball.com\/wp-content\/uploads\/2010\/01\/Picture-5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1152  aligncenter\" title=\"Picture 5\" src=\"https:\/\/engineerball.com\/wp-content\/uploads\/2010\/01\/Picture-5.png\" alt=\"\" width=\"465\" height=\"340\" srcset=\"https:\/\/engineerball.com\/blog\/wp-content\/uploads\/2010\/01\/Picture-5.png 664w, https:\/\/engineerball.com\/blog\/wp-content\/uploads\/2010\/01\/Picture-5-300x219.png 300w\" sizes=\"(max-width: 465px) 100vw, 465px\" \/><\/a><\/p>\n<p style=\"text-align: center;\">Look at this!\u00a0 It&#8217;s not match with a &#8220;70-persistent-net.rules&#8221; file.\u00a0 OK change em up!<a href=\"https:\/\/engineerball.com\/wp-content\/uploads\/2010\/01\/Picture-41.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1142  aligncenter\" title=\"Picture 4\" src=\"https:\/\/engineerball.com\/wp-content\/uploads\/2010\/01\/Picture-41.png\" alt=\"\" width=\"465\" height=\"340\" srcset=\"https:\/\/engineerball.com\/blog\/wp-content\/uploads\/2010\/01\/Picture-41.png 664w, https:\/\/engineerball.com\/blog\/wp-content\/uploads\/2010\/01\/Picture-41-300x219.png 300w\" sizes=\"(max-width: 465px) 100vw, 465px\" \/><\/a><\/p>\n<p style=\"text-align: left;\">If you done, start the virtual machine again<br \/>\nconfig your network address<\/p>\n<blockquote><p># nano \/etc\/network\/interface<\/p><\/blockquote>\n<p>[code lang=&#8221;text&#8221; gutter=&#8221;false&#8221;]<br \/>\nauto eth0<br \/>\n    inet eth0 inet static<br \/>\n    address YOURADDRESS<br \/>\n    netmask YOURNETMASK<br \/>\n[\/code]<\/p>\n<p style=\"text-align: left;\">save and restart the network<\/p>\n<blockquote><p># \/etc\/init.d\/networing restart<\/p><\/blockquote>\n<p style=\"text-align: left;\">check the eth0 interface<\/p>\n<blockquote><p># ifconfig et0<\/p><\/blockquote>\n<p style=\"text-align: left;\">It could show the information which you config above.  And you can work with your virtual machine again<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On Virtual Box is a great software of Virtualization (free and support many guest).\u00a0 If&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/engineerball.com\/blog\/2010\/01\/29\/move-ubuntu-vm-host.html\">Read the post<span class=\"screen-reader-text\">Move Ubuntu (VM) to Another Host<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_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","enabled":false}}},"categories":[2,5,11,12,14],"tags":[365,359,362,226,363],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Move Ubuntu (VM) to Another Host - EngineerBALL<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/engineerball.com\/blog\/2010\/01\/29\/move-ubuntu-vm-host.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Move Ubuntu (VM) to Another Host - EngineerBALL\" \/>\n<meta property=\"og:description\" content=\"On Virtual Box is a great software of Virtualization (free and support many guest).\u00a0 If&#8230;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/engineerball.com\/blog\/2010\/01\/29\/move-ubuntu-vm-host.html\" \/>\n<meta property=\"og:site_name\" content=\"EngineerBALL\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/engineerball\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/troueblemaker.khunpech?ref=tn_tnmn\" \/>\n<meta property=\"article:published_time\" content=\"2010-01-29T08:33:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/engineerball.com\/wp-content\/uploads\/2010\/01\/Picture-2.png\" \/>\n<meta name=\"author\" content=\"ball\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@engineerball\" \/>\n<meta name=\"twitter:site\" content=\"@engineerball\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ball\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/engineerball.com\/blog\/2010\/01\/29\/move-ubuntu-vm-host.html\",\"url\":\"https:\/\/engineerball.com\/blog\/2010\/01\/29\/move-ubuntu-vm-host.html\",\"name\":\"Move Ubuntu (VM) to Another Host - EngineerBALL\",\"isPartOf\":{\"@id\":\"https:\/\/engineerball.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/engineerball.com\/blog\/2010\/01\/29\/move-ubuntu-vm-host.html#primaryimage\"},\"image\":{\"@id\":\"https:\/\/engineerball.com\/blog\/2010\/01\/29\/move-ubuntu-vm-host.html#primaryimage\"},\"thumbnailUrl\":\"https:\/\/engineerball.com\/wp-content\/uploads\/2010\/01\/Picture-2.png\",\"datePublished\":\"2010-01-29T08:33:44+00:00\",\"dateModified\":\"2010-01-29T08:33:44+00:00\",\"author\":{\"@id\":\"https:\/\/engineerball.com\/blog\/#\/schema\/person\/415320d0da2d392375528001aa6ea53e\"},\"breadcrumb\":{\"@id\":\"https:\/\/engineerball.com\/blog\/2010\/01\/29\/move-ubuntu-vm-host.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/engineerball.com\/blog\/2010\/01\/29\/move-ubuntu-vm-host.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/engineerball.com\/blog\/2010\/01\/29\/move-ubuntu-vm-host.html#primaryimage\",\"url\":\"https:\/\/engineerball.com\/wp-content\/uploads\/2010\/01\/Picture-2.png\",\"contentUrl\":\"https:\/\/engineerball.com\/wp-content\/uploads\/2010\/01\/Picture-2.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/engineerball.com\/blog\/2010\/01\/29\/move-ubuntu-vm-host.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/engineerball.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Move Ubuntu (VM) to Another Host\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/engineerball.com\/blog\/#website\",\"url\":\"https:\/\/engineerball.com\/blog\/\",\"name\":\"EngineerBALL\",\"description\":\"Damn Those Sweet Memories\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/engineerball.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/engineerball.com\/blog\/#\/schema\/person\/415320d0da2d392375528001aa6ea53e\",\"name\":\"ball\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/engineerball.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d8d00c01f55942d7c8f2dbc70a9cefe0?s=96&d=monsterid&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d8d00c01f55942d7c8f2dbc70a9cefe0?s=96&d=monsterid&r=g\",\"caption\":\"ball\"},\"description\":\"Teerapat Khunpech Live, Tech, Beers, Bike, Cafe Racer, Docker, Devops, Eco-System\",\"sameAs\":[\"https:\/\/engineerball.com\",\"https:\/\/www.facebook.com\/troueblemaker.khunpech?ref=tn_tnmn\",\"https:\/\/twitter.com\/engineerball\"],\"url\":\"https:\/\/engineerball.com\/blog\/author\/ball\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Move Ubuntu (VM) to Another Host - EngineerBALL","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/engineerball.com\/blog\/2010\/01\/29\/move-ubuntu-vm-host.html","og_locale":"en_US","og_type":"article","og_title":"Move Ubuntu (VM) to Another Host - EngineerBALL","og_description":"On Virtual Box is a great software of Virtualization (free and support many guest).\u00a0 If&#8230;","og_url":"https:\/\/engineerball.com\/blog\/2010\/01\/29\/move-ubuntu-vm-host.html","og_site_name":"EngineerBALL","article_publisher":"https:\/\/www.facebook.com\/engineerball","article_author":"https:\/\/www.facebook.com\/troueblemaker.khunpech?ref=tn_tnmn","article_published_time":"2010-01-29T08:33:44+00:00","og_image":[{"url":"https:\/\/engineerball.com\/wp-content\/uploads\/2010\/01\/Picture-2.png"}],"author":"ball","twitter_card":"summary_large_image","twitter_creator":"@engineerball","twitter_site":"@engineerball","twitter_misc":{"Written by":"ball","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/engineerball.com\/blog\/2010\/01\/29\/move-ubuntu-vm-host.html","url":"https:\/\/engineerball.com\/blog\/2010\/01\/29\/move-ubuntu-vm-host.html","name":"Move Ubuntu (VM) to Another Host - EngineerBALL","isPartOf":{"@id":"https:\/\/engineerball.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/engineerball.com\/blog\/2010\/01\/29\/move-ubuntu-vm-host.html#primaryimage"},"image":{"@id":"https:\/\/engineerball.com\/blog\/2010\/01\/29\/move-ubuntu-vm-host.html#primaryimage"},"thumbnailUrl":"https:\/\/engineerball.com\/wp-content\/uploads\/2010\/01\/Picture-2.png","datePublished":"2010-01-29T08:33:44+00:00","dateModified":"2010-01-29T08:33:44+00:00","author":{"@id":"https:\/\/engineerball.com\/blog\/#\/schema\/person\/415320d0da2d392375528001aa6ea53e"},"breadcrumb":{"@id":"https:\/\/engineerball.com\/blog\/2010\/01\/29\/move-ubuntu-vm-host.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/engineerball.com\/blog\/2010\/01\/29\/move-ubuntu-vm-host.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/engineerball.com\/blog\/2010\/01\/29\/move-ubuntu-vm-host.html#primaryimage","url":"https:\/\/engineerball.com\/wp-content\/uploads\/2010\/01\/Picture-2.png","contentUrl":"https:\/\/engineerball.com\/wp-content\/uploads\/2010\/01\/Picture-2.png"},{"@type":"BreadcrumbList","@id":"https:\/\/engineerball.com\/blog\/2010\/01\/29\/move-ubuntu-vm-host.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/engineerball.com\/blog"},{"@type":"ListItem","position":2,"name":"Move Ubuntu (VM) to Another Host"}]},{"@type":"WebSite","@id":"https:\/\/engineerball.com\/blog\/#website","url":"https:\/\/engineerball.com\/blog\/","name":"EngineerBALL","description":"Damn Those Sweet Memories","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/engineerball.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/engineerball.com\/blog\/#\/schema\/person\/415320d0da2d392375528001aa6ea53e","name":"ball","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/engineerball.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d8d00c01f55942d7c8f2dbc70a9cefe0?s=96&d=monsterid&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d8d00c01f55942d7c8f2dbc70a9cefe0?s=96&d=monsterid&r=g","caption":"ball"},"description":"Teerapat Khunpech Live, Tech, Beers, Bike, Cafe Racer, Docker, Devops, Eco-System","sameAs":["https:\/\/engineerball.com","https:\/\/www.facebook.com\/troueblemaker.khunpech?ref=tn_tnmn","https:\/\/twitter.com\/engineerball"],"url":"https:\/\/engineerball.com\/blog\/author\/ball"}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3Nmbl-io","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/engineerball.com\/blog\/wp-json\/wp\/v2\/posts\/1140"}],"collection":[{"href":"https:\/\/engineerball.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/engineerball.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/engineerball.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/engineerball.com\/blog\/wp-json\/wp\/v2\/comments?post=1140"}],"version-history":[{"count":0,"href":"https:\/\/engineerball.com\/blog\/wp-json\/wp\/v2\/posts\/1140\/revisions"}],"wp:attachment":[{"href":"https:\/\/engineerball.com\/blog\/wp-json\/wp\/v2\/media?parent=1140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/engineerball.com\/blog\/wp-json\/wp\/v2\/categories?post=1140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/engineerball.com\/blog\/wp-json\/wp\/v2\/tags?post=1140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}