{"id":2450,"date":"2011-05-25T14:12:10","date_gmt":"2011-05-25T12:12:10","guid":{"rendered":"https:\/\/www.gambaru.de\/blog\/?p=2450"},"modified":"2011-05-25T14:12:10","modified_gmt":"2011-05-25T12:12:10","slug":"virtualbox-vdi-zu-raw-image-konvertieren","status":"publish","type":"post","link":"https:\/\/gambaru.de\/blog\/2011\/05\/25\/virtualbox-vdi-zu-raw-image-konvertieren\/","title":{"rendered":"Virtualbox: Vdi- in Raw-Image konvertieren"},"content":{"rendered":"<p>Als ich das offizielle Handbuch zu <a href=\"http:\/\/www.virtualbox.org\/\">Virtualbox<\/a> durchst\u00f6berte, entdeckte ich zuerst nicht, wie man ein Vdi-Image ohne Qemu in ein Raw-Image umwandeln kann, welches ich danach mit dd auf eine Festplatte schreiben konnte.<br \/>\nVirtualbox bietet mit dem Kommandozeilenprogramm vboxmanage und der Option <a href=\"http:\/\/www.virtualbox.org\/manual\/ch08.html#idp14129072\">convertfromraw<\/a> die einfache M\u00f6glichkeit ein Rohabbild in das eigene Format .vdi umzuwandeln. Doch wie geht es in die andere Richtung?<br \/>\nEine Suche im Internet brachte mich dann auf <a href=\"http:\/\/en.wikibooks.org\/wiki\/QEMU\/Images#Exchanging_images_with_VirtualBox\">wikibooks.org<\/a>, wo ich fand, was ich suchte.<\/p>\n<blockquote><p>vboxmanage internalcommands  converttoraw file.vdi file.raw<\/p><\/blockquote>\n<p>oder<\/p>\n<blockquote><p>vboxmanage clonehd -format RAW file.vdi file.raw<\/p><\/blockquote>\n<p>Als Alternative bietet sich auch weiterhin das fantastische <a href=\"https:\/\/www.gambaru.de\/blog\/?p=1052\">Qemu<\/a> an:<\/p>\n<blockquote><p>qemu-img convert -O raw file.vdi file.raw<\/p><\/blockquote>\n<p>Ist das Abbild danach umgewandelt, l\u00e4sst es sich direkt mit dd auf eine Festplatte (hier: sda) schreiben oder auch mit Qemu betrachten.<br \/>\n<code>dd if=file.raw of=\/dev\/sda<\/code><br \/>\noder<br \/>\n<code>qemu file.raw<\/code><br \/>\nManchmal f\u00fchren eben doch mehrere Wege nach Rom. \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Als ich das offizielle Handbuch zu Virtualbox durchst\u00f6berte, entdeckte ich zuerst nicht, wie man ein Vdi-Image ohne Qemu in ein Raw-Image umwandeln kann, welches ich danach mit dd auf eine Festplatte schreiben konnte. Virtualbox bietet mit dem Kommandozeilenprogramm vboxmanage und der Option convertfromraw die einfache M\u00f6glichkeit ein Rohabbild in das eigene Format .vdi umzuwandeln. Doch &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/gambaru.de\/blog\/2011\/05\/25\/virtualbox-vdi-zu-raw-image-konvertieren\/\" class=\"more-link\"><span class=\"screen-reader-text\">\u201eVirtualbox: Vdi- in Raw-Image konvertieren\u201c<\/span> weiterlesen<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[53,160,202,212,213],"_links":{"self":[{"href":"https:\/\/gambaru.de\/blog\/wp-json\/wp\/v2\/posts\/2450"}],"collection":[{"href":"https:\/\/gambaru.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gambaru.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gambaru.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gambaru.de\/blog\/wp-json\/wp\/v2\/comments?post=2450"}],"version-history":[{"count":0,"href":"https:\/\/gambaru.de\/blog\/wp-json\/wp\/v2\/posts\/2450\/revisions"}],"wp:attachment":[{"href":"https:\/\/gambaru.de\/blog\/wp-json\/wp\/v2\/media?parent=2450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gambaru.de\/blog\/wp-json\/wp\/v2\/categories?post=2450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gambaru.de\/blog\/wp-json\/wp\/v2\/tags?post=2450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}