{"id":488,"date":"2024-07-25T00:54:26","date_gmt":"2024-07-25T00:54:26","guid":{"rendered":"https:\/\/ale.newby.work\/?p=488"},"modified":"2024-10-30T11:38:38","modified_gmt":"2024-10-30T11:38:38","slug":"importing-vms-to-proxmox","status":"publish","type":"post","link":"https:\/\/ale.newby.work\/?p=488","title":{"rendered":"Importing VM&#8217;s to Proxmox"},"content":{"rendered":"\n<p>Unpack the VM archive until you get to the disk image (.vmkd .qcow2 etc and .ovf files)<\/p>\n\n\n\n<p>Transfer the files to the Proxmox Server into somewhere like \/var\/lib\/vz\/template\/<\/p>\n\n\n\n<p>ssh into the server (or from the shell in the web interface) and create a new VM that has the correct specifications.<\/p>\n\n\n\n<p>CD \/var\/lib\/vz\/template and run the following depending on the original disk file:<br>KVM: qm importdisk &#8216;vm-id&#8217; \/var\/lib\/vz\/template\/&#8217;disk name.qcow2&#8242; External (location)<\/p>\n\n\n\n<p>For an OVF first unpack it, extract the .vmkd file and upload it, then do the VMWARE stuff.<br><br>VMWARE: convert first and then import<br>qemu-img convert -f vmdk -O qcow2 &#8216;vmkd-disk-name&#8217;.vmdk &#8216;qcow2-disk-name&#8217;.qcow2<br>qm importdisk &#8216;vm-id&#8217; \/var\/lib\/vz\/template\/&#8217;disk name.qcow2&#8242; External (location)<\/p>\n\n\n\n<p>There should now be a unused disk against that machine that can be attached to it, don&#8217;t forget to add the new disk to the boot order.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Unpack the VM archive until you get to the disk image (.vmkd .qcow2 etc and&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/ale.newby.work\/?p=488\">Read the post<span class=\"screen-reader-text\">Importing VM&#8217;s to Proxmox<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-488","post","type-post","status-publish","format-standard","hentry","category-proxmox","excerpt","zoom","full-without-featured","even","excerpt-0"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Importing VM&#039;s to Proxmox - ALE @ Newby.Work<\/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:\/\/ale.newby.work\/?p=397\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Importing VM&#039;s to Proxmox - ALE @ Newby.Work\" \/>\n<meta property=\"og:description\" content=\"Unpack the VM archive until you get to the disk image (.vmkd .qcow2 etc and&#8230;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ale.newby.work\/?p=397\" \/>\n<meta property=\"og:site_name\" content=\"ALE @ Newby.Work\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-25T00:54:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-30T11:38:38+00:00\" \/>\n<meta name=\"author\" content=\"chris.newby\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"chris.newby\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ale.newby.work\\\/?p=397#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ale.newby.work\\\/?p=397\"},\"author\":{\"name\":\"chris.newby\",\"@id\":\"https:\\\/\\\/ale.newby.work\\\/#\\\/schema\\\/person\\\/e42e06d6eac4394cf94b9d610c81b027\"},\"headline\":\"Importing VM&#8217;s to Proxmox\",\"datePublished\":\"2024-07-25T00:54:26+00:00\",\"dateModified\":\"2024-10-30T11:38:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ale.newby.work\\\/?p=397\"},\"wordCount\":160,\"articleSection\":[\"Proxmox\"],\"inLanguage\":\"en-AU\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ale.newby.work\\\/?p=397\",\"url\":\"https:\\\/\\\/ale.newby.work\\\/?p=397\",\"name\":\"Importing VM's to Proxmox - ALE @ Newby.Work\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ale.newby.work\\\/#website\"},\"datePublished\":\"2024-07-25T00:54:26+00:00\",\"dateModified\":\"2024-10-30T11:38:38+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/ale.newby.work\\\/#\\\/schema\\\/person\\\/e42e06d6eac4394cf94b9d610c81b027\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ale.newby.work\\\/?p=397#breadcrumb\"},\"inLanguage\":\"en-AU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ale.newby.work\\\/?p=397\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ale.newby.work\\\/?p=397#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ale.newby.work\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Importing VM&#8217;s to Proxmox\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ale.newby.work\\\/#website\",\"url\":\"https:\\\/\\\/ale.newby.work\\\/\",\"name\":\"ALE @ Newby.Work\",\"description\":\"Phone system things\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ale.newby.work\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-AU\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/ale.newby.work\\\/#\\\/schema\\\/person\\\/e42e06d6eac4394cf94b9d610c81b027\",\"name\":\"chris.newby\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-AU\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4fdb11a55edd13be2a46ccc78c7b6af81e5dcebb84f925d4b8e748a862ab1fb9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4fdb11a55edd13be2a46ccc78c7b6af81e5dcebb84f925d4b8e748a862ab1fb9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4fdb11a55edd13be2a46ccc78c7b6af81e5dcebb84f925d4b8e748a862ab1fb9?s=96&d=mm&r=g\",\"caption\":\"chris.newby\"},\"sameAs\":[\"https:\\\/\\\/ale.newby.work\"],\"url\":\"https:\\\/\\\/ale.newby.work\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Importing VM's to Proxmox - ALE @ Newby.Work","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:\/\/ale.newby.work\/?p=397","og_locale":"en_US","og_type":"article","og_title":"Importing VM's to Proxmox - ALE @ Newby.Work","og_description":"Unpack the VM archive until you get to the disk image (.vmkd .qcow2 etc and&#8230;","og_url":"https:\/\/ale.newby.work\/?p=397","og_site_name":"ALE @ Newby.Work","article_published_time":"2024-07-25T00:54:26+00:00","article_modified_time":"2024-10-30T11:38:38+00:00","author":"chris.newby","twitter_card":"summary_large_image","twitter_misc":{"Written by":"chris.newby","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ale.newby.work\/?p=397#article","isPartOf":{"@id":"https:\/\/ale.newby.work\/?p=397"},"author":{"name":"chris.newby","@id":"https:\/\/ale.newby.work\/#\/schema\/person\/e42e06d6eac4394cf94b9d610c81b027"},"headline":"Importing VM&#8217;s to Proxmox","datePublished":"2024-07-25T00:54:26+00:00","dateModified":"2024-10-30T11:38:38+00:00","mainEntityOfPage":{"@id":"https:\/\/ale.newby.work\/?p=397"},"wordCount":160,"articleSection":["Proxmox"],"inLanguage":"en-AU"},{"@type":"WebPage","@id":"https:\/\/ale.newby.work\/?p=397","url":"https:\/\/ale.newby.work\/?p=397","name":"Importing VM's to Proxmox - ALE @ Newby.Work","isPartOf":{"@id":"https:\/\/ale.newby.work\/#website"},"datePublished":"2024-07-25T00:54:26+00:00","dateModified":"2024-10-30T11:38:38+00:00","author":{"@id":"https:\/\/ale.newby.work\/#\/schema\/person\/e42e06d6eac4394cf94b9d610c81b027"},"breadcrumb":{"@id":"https:\/\/ale.newby.work\/?p=397#breadcrumb"},"inLanguage":"en-AU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ale.newby.work\/?p=397"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ale.newby.work\/?p=397#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ale.newby.work\/"},{"@type":"ListItem","position":2,"name":"Importing VM&#8217;s to Proxmox"}]},{"@type":"WebSite","@id":"https:\/\/ale.newby.work\/#website","url":"https:\/\/ale.newby.work\/","name":"ALE @ Newby.Work","description":"Phone system things","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ale.newby.work\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-AU"},{"@type":"Person","@id":"https:\/\/ale.newby.work\/#\/schema\/person\/e42e06d6eac4394cf94b9d610c81b027","name":"chris.newby","image":{"@type":"ImageObject","inLanguage":"en-AU","@id":"https:\/\/secure.gravatar.com\/avatar\/4fdb11a55edd13be2a46ccc78c7b6af81e5dcebb84f925d4b8e748a862ab1fb9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4fdb11a55edd13be2a46ccc78c7b6af81e5dcebb84f925d4b8e748a862ab1fb9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4fdb11a55edd13be2a46ccc78c7b6af81e5dcebb84f925d4b8e748a862ab1fb9?s=96&d=mm&r=g","caption":"chris.newby"},"sameAs":["https:\/\/ale.newby.work"],"url":"https:\/\/ale.newby.work\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/ale.newby.work\/index.php?rest_route=\/wp\/v2\/posts\/488","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ale.newby.work\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ale.newby.work\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ale.newby.work\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ale.newby.work\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=488"}],"version-history":[{"count":2,"href":"https:\/\/ale.newby.work\/index.php?rest_route=\/wp\/v2\/posts\/488\/revisions"}],"predecessor-version":[{"id":499,"href":"https:\/\/ale.newby.work\/index.php?rest_route=\/wp\/v2\/posts\/488\/revisions\/499"}],"wp:attachment":[{"href":"https:\/\/ale.newby.work\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=488"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ale.newby.work\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=488"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ale.newby.work\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}