Using linaro-media-create (version linaro-image-tools_0.4.8-0ubuntu1~lucid1_all) to create an image the default image size seems to be 2GB if no --image_size is given.
Creating an image (--image_file) with the recent linaro-n-ubuntu-desktop-tar-20110817-0.tar.gz fails with tons of "No space left on device" [1] while the hard disk space is still fine (tested on different PCs).
It seems that the 2GB image file is loop mounted to /tmp/xxx/root-disc/ and that 2GB is too small for recent Ubuntu desktop images. The recent linaro-n-ubuntu-desktop tar-20110817-0.tar.gz is compressed ~490MB while an older one (e.g. linaro-n-ubuntu desktop-tar-20110628-1.tar.gz) was only ~430MB. With this creating an image worked fine with the default 2GB image size.
Adding '--image-size 3G' fixes the issue.
What's about increasing the default image size of l-m-c if it's too small for creating recent images?
Best regards
Dirk
[1]
... mv: cannot create regular file `/tmp/tmpT4h0vR/root-disc/var/lib/dpkg/info/vim-tiny.md5sums': No space left on device mv: cannot create regular file `/tmp/tmpT4h0vR/root-disc/var/lib/dpkg/info/libnss3.postinst': No space left on device mv: cannot create regular file `/tmp/tmpT4h0vR/root-disc/var/lib/dpkg/info/ibus-table.md5sums': No space left on device mv: cannot create regular file `/tmp/tmpT4h0vR/root-disc/var/lib/dpkg/info/apmd.list': No space left on device mv: cannot create regular file `/tmp/tmpT4h0vR/root-disc/var/lib/dpkg/info/eog.list': No space left on device ...
Great idea!
https://code.launchpad.net/~james-w/linaro-image-tools/increase-default-imag...
Thanks,
James
On Thu, 18 Aug 2011 15:56:35 +0200, Dirk Behme dirk.behme@googlemail.com wrote:
Using linaro-media-create (version linaro-image-tools_0.4.8-0ubuntu1~lucid1_all) to create an image the default image size seems to be 2GB if no --image_size is given.
Creating an image (--image_file) with the recent linaro-n-ubuntu-desktop-tar-20110817-0.tar.gz fails with tons of "No space left on device" [1] while the hard disk space is still fine (tested on different PCs).
It seems that the 2GB image file is loop mounted to /tmp/xxx/root-disc/ and that 2GB is too small for recent Ubuntu desktop images. The recent linaro-n-ubuntu-desktop tar-20110817-0.tar.gz is compressed ~490MB while an older one (e.g. linaro-n-ubuntu desktop-tar-20110628-1.tar.gz) was only ~430MB. With this creating an image worked fine with the default 2GB image size.
Adding '--image-size 3G' fixes the issue.
What's about increasing the default image size of l-m-c if it's too small for creating recent images?
Best regards
Dirk
[1]
... mv: cannot create regular file `/tmp/tmpT4h0vR/root-disc/var/lib/dpkg/info/vim-tiny.md5sums': No space left on device mv: cannot create regular file `/tmp/tmpT4h0vR/root-disc/var/lib/dpkg/info/libnss3.postinst': No space left on device mv: cannot create regular file `/tmp/tmpT4h0vR/root-disc/var/lib/dpkg/info/ibus-table.md5sums': No space left on device mv: cannot create regular file `/tmp/tmpT4h0vR/root-disc/var/lib/dpkg/info/apmd.list': No space left on device mv: cannot create regular file `/tmp/tmpT4h0vR/root-disc/var/lib/dpkg/info/eog.list': No space left on device ...
linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
On Thu, Aug 18, 2011 at 3:56 PM, Dirk Behme dirk.behme@googlemail.comwrote:
Using linaro-media-create (version linaro-image-tools_0.4.8-**0ubuntu1~lucid1_all) to create an image the default image size seems to be 2GB if no --image_size is given.
this was mentioned in known issues section of july release. see https://wiki.linaro.org/Cycles/1107/Release#Known_Issues
so seems that lp:813296 https://launchpad.net/bugs/813296 bug probably has good discussion on what is the plan here ;).