<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">Seems like you should be able to dd an empty file and cat the image over a loopback interface, or maybe simply dd it. then boot and do an fdisk/resize2fs once it is booted. sort of like how you dd the image files to an sd card but to a loopback device instead. Not sure it works. :) <br><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> David Marlin &lt;dmarlin@redhat.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Jerry James &lt;loganjerry@gmail.com&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> Fedora ARM &lt;arm@lists.fedoraproject.org&gt; <br> <b><span
 style="font-weight: bold;">Sent:</span></b> Thursday, January 3, 2013 12:46 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [fedora-arm] More storage for vexpress (QEMU)<br> </font> </div> <br>
<br>Jerry James wrote:<br>&gt; I am on a quest to fix two of my packages that fail to build on ARM<br>&gt; (gcl and latte-integrale).&nbsp; I need to get an ARM virtual machine going<br>&gt; so I can debug the issues.&nbsp; It has to be an F-18 VM, too, since the<br>&gt; build breakage only shows up on F-18 and Rawhide.<br>&gt; <br>&gt; The recent f18-beta-tc3 release works, in the sense that I can boot up<br>&gt; successfully and do some work.&nbsp; However, the vexpress image is much<br>&gt; too small.&nbsp; It is already 80% full as shipped.&nbsp; Running any yum<br>&gt; command raises that to 86%, apparently due to downloading the yum<br>&gt; databases/indexes.&nbsp; I need to install a pretty large pile of BRs to<br>&gt; build my packages, and there just isn't room.<br>&gt; <br>&gt; Is there some way of enlarging the shipped image?&nbsp; Thanks,<br><br>I do not know of an easy way to enlarge the shipped image, but it should not be difficult to make
 a larger image.&nbsp; You would need a 'build' system (ARM platform with at least 1GB memory and sufficient external storage, i.e., disk) running F17 with anaconda and lorax installed from my xpfa repo.&nbsp; The instructions are available on the wiki:<br><br>&nbsp; http://fedoraproject.org/wiki/Architectures/ARM/Installer<br><br>The exact command I used for the Beta TC3 image was:<br><br>&nbsp; livemedia-creator \<br>&nbsp; &nbsp; --make-disk --no-virt --image-only --keep-image \<br>&nbsp; &nbsp; --armplatform=None \<br>&nbsp; &nbsp; --ks=./F18-ges-beta-kickstarts/F18-vexpress-xfce.ks<br><br>The kickstart file is in my git repo:<br><br>&nbsp; http://fedorapeople.org/cgit/dmarlin/public_git/arm-kickstarts.git/<br><br>You would only need to change the partition layout to make the root of the image as large as necessary:<br><br>&nbsp;  part /boot --size 200 --fstype ext3 --label=boot<br>&nbsp;  part swap --size 500 --asprimary --label=swap<br>&nbsp; -part
 / --size 2200 --fstype ext4 --label=rootfs<br>&nbsp; +part / --size &lt;DesiredSize&gt; --fstype ext4 --label=rootfs<br><br><br>The only other option I can think of would be to manually create a disk image with the partitions sized to meet your needs, loop-mount both the shipped and new images, and then copy (rsync) the contents of the shipped image partitions to the new image partitions.<br><br>Please let me know if you have any questions.<br><br><br>d.marlin<br>==========<br><br>&gt; --<br>&gt; Jerry James<br>&gt; http://www.jamezone.org/<br>&gt; _______________________________________________<br>&gt; arm mailing list<br>&gt; <a ymailto="mailto:arm@lists.fedoraproject.org" href="mailto:arm@lists.fedoraproject.org">arm@lists.fedoraproject.org</a><br>&gt; <a href="https://admin.fedoraproject.org/mailman/listinfo/arm" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/arm</a><br>_______________________________________________<br>arm mailing
 list<br><a ymailto="mailto:arm@lists.fedoraproject.org" href="mailto:arm@lists.fedoraproject.org">arm@lists.fedoraproject.org</a><br><a href="https://admin.fedoraproject.org/mailman/listinfo/arm" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/arm</a><br><br> </div> </div>  </div></body></html>