<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" > <channel><title>Comments on: How-to grow any Qemu system image</title> <atom:link href="http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/feed/" rel="self" type="application/rss+xml" /><link>http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/</link> <description>Free software engineer &#38; wannabe videomaker</description> <lastBuildDate>Sun, 29 Jan 2012 13:35:17 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>By: kev</title><link>http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/comment-page-1/#comment-8942</link> <dc:creator>kev</dc:creator> <pubDate>Mon, 01 Aug 2011 08:13:25 +0000</pubDate> <guid isPermaLink="false">http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/#comment-8942</guid> <description>@cat: no, the &lt;code&gt;cat&lt;/code&gt; command is good in my original article. The use of &lt;code&gt;cat&lt;/code&gt; there is convoluted, but good. If you&#039;re looking for a better &lt;code&gt;cat&lt;/code&gt; command, look at those proposed in the comments above.</description> <content:encoded><![CDATA[<p>@cat: no, the <code>cat</code> command is good in my original article. The use of <code>cat</code> there is convoluted, but good. If you&#8217;re looking for a better <code>cat</code> command, look at those proposed in the comments above.</p> ]]></content:encoded> </item> <item><title>By: cat</title><link>http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/comment-page-1/#comment-8922</link> <dc:creator>cat</dc:creator> <pubDate>Fri, 29 Jul 2011 11:06:59 +0000</pubDate> <guid isPermaLink="false">http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/#comment-8922</guid> <description>you should really change that &lt;code&gt;cat&lt;/code&gt; command, this will overwrite the second file. you need to use &lt;code&gt;&gt;&gt;&lt;/code&gt; instead of &lt;code&gt;&gt;&lt;/code&gt;</description> <content:encoded><![CDATA[<p>you should really change that <code>cat</code> command, this will overwrite the second file. you need to use <code>&gt;&gt;</code> instead of <code>&gt;</code></p> ]]></content:encoded> </item> <item><title>By: QEMU qcow2 free_clusters failed 問題排除 &#171; Jamyy&#039;s Weblog</title><link>http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/comment-page-1/#comment-8416</link> <dc:creator>QEMU qcow2 free_clusters failed 問題排除 &#171; Jamyy&#039;s Weblog</dc:creator> <pubDate>Mon, 21 Feb 2011 07:22:56 +0000</pubDate> <guid isPermaLink="false">http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/#comment-8416</guid> <description>[...] 把一些沒用到的、系統隱藏的軟體給移除掉, 勉強清出一些空間 另外參考了這篇文章, 把虛擬機器的硬碟空間擴增 2GB, [...]</description> <content:encoded><![CDATA[<p>[...] 把一些沒用到的、系統隱藏的軟體給移除掉, 勉強清出一些空間 另外參考了這篇文章, 把虛擬機器的硬碟空間擴增 2GB, [...]</p> ]]></content:encoded> </item> <item><title>By: Adam Dyga</title><link>http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/comment-page-1/#comment-7721</link> <dc:creator>Adam Dyga</dc:creator> <pubDate>Fri, 10 Dec 2010 11:06:55 +0000</pubDate> <guid isPermaLink="false">http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/#comment-7721</guid> <description>Probably the easiest way to grow a raw disk image is: [code lang=&quot;shell&quot;] truncate -size new_image_size disk.raw [/code] where &lt;code&gt;new_image_size&lt;/code&gt; is larger than existing &lt;code&gt;disk.raw&lt;/code&gt;.</description> <content:encoded><![CDATA[<p>Probably the easiest way to grow a raw disk image is:</p><pre class="brush: bash; title: ; notranslate">
truncate -size new_image_size disk.raw
</pre><p>where <code>new_image_size</code> is larger than existing <code>disk.raw</code>.</p> ]]></content:encoded> </item> <item><title>By: Mark Tomich</title><link>http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/comment-page-1/#comment-7142</link> <dc:creator>Mark Tomich</dc:creator> <pubDate>Wed, 12 May 2010 17:58:17 +0000</pubDate> <guid isPermaLink="false">http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/#comment-7142</guid> <description>There&#039;s a better way to do the data append than by creating huge files and cat&#039;ing them together...try this to use sparse files and save a bunch of space: [code lang=&quot;shell&quot;] dd if=/dev/zero of=system.raw bs=1 count=1 seek=$((  - 1 )) conv=notrunc [/code]</description> <content:encoded><![CDATA[<p>There&#8217;s a better way to do the data append than by creating huge files and cat&#8217;ing them together&#8230;try this to use sparse files and save a bunch of space:</p><pre class="brush: bash; title: ; notranslate">
dd if=/dev/zero of=system.raw bs=1 count=1 seek=$((  - 1 )) conv=notrunc
</pre>]]></content:encoded> </item> <item><title>By: Le Repaire du Sanglier des Ardennes » Blog Archive &#187; [Kvm] Convertir une image virtuelle.</title><link>http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/comment-page-1/#comment-6362</link> <dc:creator>Le Repaire du Sanglier des Ardennes » Blog Archive &#187; [Kvm] Convertir une image virtuelle.</dc:creator> <pubDate>Sun, 06 Sep 2009 19:57:13 +0000</pubDate> <guid isPermaLink="false">http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/#comment-6362</guid> <description>[...] http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/   Cet article a été publié le Jeudi 3 septembre 2009 à 22 h 46 min et est classé dans Kvm, [...]</description> <content:encoded><![CDATA[<p>[...] <a href="http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/" rel="nofollow">http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/</a> Cet article a été publié le Jeudi 3 septembre 2009 à 22 h 46 min et est classé dans Kvm, [...]</p> ]]></content:encoded> </item> <item><title>By: tartanandsnarly</title><link>http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/comment-page-1/#comment-4618</link> <dc:creator>tartanandsnarly</dc:creator> <pubDate>Mon, 03 Nov 2008 20:49:57 +0000</pubDate> <guid isPermaLink="false">http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/#comment-4618</guid> <description>Hi, Just to say that I accomplished this on windows by replacing the dd and cat steps - with the windows type command.....I created the raw image: [code lang=&quot;shell&quot;] CMD&gt; qemu-img convert disk.qcow -O raw rawdisk1.raw [/code]then created a copy of that: [code lang=&quot;shell&quot;] CMD&gt; copy rawdisk1.raw rawdisk2.raw [/code]then used that to create a 3rd disk: [code lang=&quot;shell&quot;] CMD&gt; type rawdisk1.raw rawdisk2.raw &gt; rawdisk3.raw [/code]&lt;code&gt;rawdisk3&lt;/code&gt; could then boot normally both using qemu (in which case it was in the same condition as &lt;code&gt;rawdisk1&lt;/code&gt;) and using the gparted iso - in which case the extra space could be seen.I manipulated the partitions using gparted and grew the disk....as they say in Scotland - nae bother!</description> <content:encoded><![CDATA[<p>Hi,<br /> Just to say that I accomplished this on windows by replacing the dd and cat steps &#8211; with the windows type command&#8230;..</p><p>I created the raw image:</p><pre class="brush: bash; title: ; notranslate">
CMD&gt; qemu-img convert disk.qcow -O raw rawdisk1.raw
</pre><p>then created a copy of that:</p><pre class="brush: bash; title: ; notranslate">
CMD&gt; copy rawdisk1.raw rawdisk2.raw
</pre><p>then used that to create a 3rd disk:</p><pre class="brush: bash; title: ; notranslate">
CMD&gt; type rawdisk1.raw rawdisk2.raw &gt; rawdisk3.raw
</pre><p><code>rawdisk3</code> could then boot normally both using qemu (in which case it was in the same condition as <code>rawdisk1</code>) and using the gparted iso &#8211; in which case the extra space could be seen.</p><p>I manipulated the partitions using gparted and grew the disk.</p><p>&#8230;as they say in Scotland &#8211; nae bother!</p> ]]></content:encoded> </item> <item><title>By: mjs</title><link>http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/comment-page-1/#comment-3796</link> <dc:creator>mjs</dc:creator> <pubDate>Thu, 22 May 2008 01:55:50 +0000</pubDate> <guid isPermaLink="false">http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/#comment-3796</guid> <description>Install a qemu guest with linux and do it :PSerious (or not) do not know!Great tutorial btw, thanks</description> <content:encoded><![CDATA[<p>Install a qemu guest with linux and do it <img src='http://kevin.deldycke.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /></p><p>Serious (or not) do not know!</p><p>Great tutorial btw, thanks</p> ]]></content:encoded> </item> <item><title>By: Porch</title><link>http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/comment-page-1/#comment-3755</link> <dc:creator>Porch</dc:creator> <pubDate>Wed, 16 Apr 2008 17:32:38 +0000</pubDate> <guid isPermaLink="false">http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/#comment-3755</guid> <description>hello! Great tutorial, but how i do it in windows?</description> <content:encoded><![CDATA[<p>hello!<br /> Great tutorial, but how i do it in windows?</p> ]]></content:encoded> </item> <item><title>By: phil</title><link>http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/comment-page-1/#comment-3648</link> <dc:creator>phil</dc:creator> <pubDate>Fri, 04 Apr 2008 02:36:12 +0000</pubDate> <guid isPermaLink="false">http://kevin.deldycke.com/2007/04/how-to-grow-any-qemu-system-image/#comment-3648</guid> <description>I tried [code lang=&quot;shell&quot;] cat zeros.raw &gt;&gt; system.raw [/code] and it works!At least for me, it&#039;s an old linux ext2 image.I also tried a gparted twist without the liveCD: [code lang=&quot;shell&quot;] losetup /dev/loop1 system.raw gparted /dev/loop1 [/code]it can see it, but cannot resize it :( [code lang=&quot;shell&quot;] e2label: Bad magic number in superblock ... [/code]</description> <content:encoded><![CDATA[<p>I tried</p><pre class="brush: bash; title: ; notranslate">
cat zeros.raw &gt;&gt; system.raw
</pre><p>and it works!</p><p>At least for me, it&#8217;s an old linux ext2 image.</p><p>I also tried a gparted twist without the liveCD:</p><pre class="brush: bash; title: ; notranslate">
losetup /dev/loop1 system.raw
gparted /dev/loop1
</pre><p>it can see it, but cannot resize it <img src='http://kevin.deldycke.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /></p><pre class="brush: bash; title: ; notranslate">
e2label: Bad magic number in superblock ...
</pre>]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 2/16 queries in 0.008 seconds using apc
Object Caching 600/601 objects using apc

Served from: kevin.deldycke.com @ 2012-02-08 22:58:21 -->
