{"id":491,"date":"2012-04-16T23:08:53","date_gmt":"2012-04-16T21:08:53","guid":{"rendered":"http:\/\/blog.ulrichard.ch\/?p=491"},"modified":"2012-04-16T23:08:53","modified_gmt":"2012-04-16T21:08:53","slug":"installing-to-an-external-harddisk-with-qemu","status":"publish","type":"post","link":"https:\/\/ulrichard.ch\/blog\/?p=491","title":{"rendered":"Installing to an external harddisk with qemu"},"content":{"rendered":"<p>The harddisk of my aunt&#8217;s pc was broken, and I had an old disk around that I could use for replacement. Now I wanted to install it prior to go there. Of course there is the option to take my harddisk out, and use my PC to install her harddisk. But I wanted to use my machine for other things during that time. So I checked, if I can configure VirtualBox to use an external harddrive connected with an IDE to USB converter. I didn&#8217;t find such an option. So I read up a bit on qemu. I used qemu before, and quite liked it. Qemu is fully commandline which is cool sometimes, while other times I like to have a GUI such as with VirtualBox. This time it didn&#8217;t matter, I only needed to be able to install an iso onto the external harddisk. And it&#8217;s as easy as this:<\/p>\n<pre class=\"brush: bash; gutter: false; first-line: 1\">sudo qemu -boot d -cdrom ~\/Downloads\/linuxmint-12-gnome-dvd-32bit.iso -hda \/dev\/sdc -m 512<\/pre>\n<p>The sudo is only required because as a regular user I don&#8217;t have write permissions on \/dev\/sdc.<\/p>\n<h4>edit 5.Aug 2012:<\/h4>\n<p>On Ubuntu 12.04 replace qemu with qemu-system-i386 or qemu-system-x86_64<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The harddisk of my aunt&#8217;s pc was broken, and I had an old disk around that I could use for replacement. Now I wanted to install it prior to go there. Of course there is the option to take my harddisk out, and use my PC to install her harddisk. But I wanted to use [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,1],"tags":[135,179,235],"class_list":["post-491","post","type-post","status-publish","format-standard","hentry","category-projects","category-uncategorized","tag-linux","tag-qemu","tag-virtualization"],"_links":{"self":[{"href":"https:\/\/ulrichard.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/491","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ulrichard.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ulrichard.ch\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ulrichard.ch\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ulrichard.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=491"}],"version-history":[{"count":0,"href":"https:\/\/ulrichard.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/491\/revisions"}],"wp:attachment":[{"href":"https:\/\/ulrichard.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ulrichard.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ulrichard.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}