Skip to content

Instantly share code, notes, and snippets.

@stormgrind
Created November 18, 2009 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stormgrind/237863 to your computer and use it in GitHub Desktop.
Save stormgrind/237863 to your computer and use it in GitHub Desktop.
Adding disk sda as /home/oddthesis/git/cirras/build/tmp/imgcreate-qKSeMT/tmp-pm9EFL/jeos-sda.raws
Extending sparse file /home/oddthesis/git/cirras/build/tmp/imgcreate-qKSeMT/tmp-pm9EFL/jeos-sda.raw to 1073741824
Losetup add /dev/loop0 mapping to /home/oddthesis/git/cirras/build/tmp/imgcreate-qKSeMT/tmp-pm9EFL/jeos-sda.raw
Formatting disks
Initializing partition table for /dev/loop0
Warning: The kernel was unable to re-read the partition table on /dev/loop0 (Invalid argument). This means Linux won't know anything about the modifications you made until you reboot. You should reboot your computer before doing anything with /dev/loop0.
Traceback (most recent call last):
File "/usr/bin/appliance-creator", line 164, in <module>
sys.exit(main())
File "/usr/bin/appliance-creator", line 148, in main
creator.mount("NONE", options.cachedir)
File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line 515, in mount
self._mount_instroot(base_on)
File "/usr/lib/python2.6/site-packages/appcreate/appliance.py", line 159, in _mount_instroot
self.__instloop.mount()
File "/usr/lib/python2.6/site-packages/appcreate/partitionedfs.py", line 221, in mount
self.__format_disks()
File "/usr/lib/python2.6/site-packages/appcreate/partitionedfs.py", line 65, in __format_disks
raise MountError("Error writing partition table on %s" % d.device)
AttributeError: 'dict' object has no attribute 'device'
Losetup remove /dev/loop0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment