1. 24 Oct, 2011 2 commits
    • Gerardo Exequiel Pozzi's avatar
      [archiso] Allow persistent cow dm-snapshots. · e2055835
      Gerardo Exequiel Pozzi authored
      Add some options to control where all COW files will be located.
      Until this moment all files are located in a tmpfs filesystem.
      Now is posible to set a device via a filesystem label or device node
      plus a directory, where all these files will be stored.
      All dm-snapshot devices will be persistent by default,
      but this can be changed if wanted.
      Take care, a filesystem that does not support sparse files maybe
      is not the best choice for COW files, because they are created with
      the same size (is apparent) like the read-only device (the image.fs inside .sfs).
      Of course sooner or later, depending on use, these files actually end up
      being as big as the read-only device.
      KNOW-ISSUE: On shutdown in step "Unmounting Filesystems" will [FAIL],
          all filesystem except $cow_device, will be unmounted/remounted-ro.
          For this reason this change needs an archiso_shutdown hook, thats
          unmount all block devices used by archiso. (Work in progress)
      Signed-off-by: default avatarGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
    • Gerardo Exequiel Pozzi's avatar
      [archiso] Add a new function _mnt_dev(), use it for mounting archisodevice. · 91e11c30
      Gerardo Exequiel Pozzi authored
      Separate this code from main mount hook, and make it more generic.
      _mnt_dev(device, mountpoint, flags) ->
          wait for device and mount, launch a shell if something goes wrong.
      Signed-off-by: default avatarGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
  2. 26 Aug, 2011 1 commit
  3. 15 Aug, 2011 1 commit
  4. 09 Aug, 2011 1 commit
  5. 09 Jul, 2011 1 commit
  6. 18 Jun, 2011 1 commit
    • Gerardo Exequiel Pozzi's avatar
      [archiso] Use dm-snapshot instead of aufs2 (A.K.A. "The Big Commit") · 85d243ff
      Gerardo Exequiel Pozzi authored
      * Use device mapper + snapshot module, instead union layer filesystem.
        * A block-level approach vs vfs-level.
        * No more unofficial (Linux) things.
        * More memory is needed.
      * Refactor mkarchiso.
      * Refactor hooks/archiso.
      * Fix install/archiso_pxe_nbd
        (due recent change in mkinitcpio-0.6.15 on checked_modules()/all_modules())
        [Thanks Dave for the improved workaround]
      * New configs/releng to build official images.
        * Works with a Bash script instead of Makefile.
          (better control and easy to maintain)
      * Remove configs/syslinux-iso.
      * Remove archiso2dual script. Integrate functionality in configs/releng.
      * New configs/baseline to build the most basic live medium or use as template.
      * New README (draft). [Thanks Dieter for fixing english grammar]
      Signed-off-by: default avatarGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
  7. 07 May, 2011 1 commit
  8. 01 Dec, 2010 1 commit
  9. 17 Oct, 2010 1 commit
  10. 09 Jul, 2010 3 commits
  11. 08 Jul, 2010 1 commit
  12. 05 Jul, 2010 1 commit
  13. 04 Jun, 2010 1 commit
    • Thomas Bächler's avatar
      Add optional command line parameter: archisobasedir · 558eaafe
      Thomas Bächler authored
      When remastering the image onto a USB volume, you might want to reuse
      an existing partition without filling the root with lots of archiso
      files. The archisobasedir parameter allows to specify a new root
      directory, isomounts and all images will be searched in this directory.
  14. 16 Mar, 2010 2 commits
  15. 06 Mar, 2010 1 commit
  16. 01 Mar, 2010 2 commits
  17. 17 Feb, 2010 5 commits
  18. 16 Feb, 2010 1 commit
  19. 07 Feb, 2010 2 commits
  20. 01 Dec, 2009 1 commit
    • Gerardo Exequiel Pozzi's avatar
      Add an error message when mounting aufs fails, then exit 1 · 2b999307
      Gerardo Exequiel Pozzi authored
      Closes FS#13381.
      Waiting 30 seconds for device /dev/archiso ...
      SUCCESS: Mounted archiso volume successfully.
      squashfs: version 4.0 (2009/01/31) Phillip Lougher
      aufs 2-standalone.tree-20090907
      :: Mounting root (aufs) filesystem
      aufs au_xino_do_write:371:mount[407]: I/O Error, write failed (4294967268)
      aufs au_xino_set:1115:mount[407]: I/O Error, failed creating xino(-5).
      mount: Invalid argument
      ERROR: while mounting root (aufs) filesystem.
      Kernel panic - not syncing: Attempted to kill init!
      Signed-off-by: default avatarGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
  21. 17 Nov, 2009 2 commits
  22. 26 Oct, 2009 1 commit
  23. 25 Aug, 2009 1 commit
    • Gerhard Brauer's avatar
      Added vfat support to mount /dev/archiso · fd93e7c9
      Gerhard Brauer authored
      fstype from klibc don't detect a vfat formatted blockdevice when try to
      mount /dev/archiso to /bootmnt. Some users don't use the recommened
      method with dd to bring the image to their USB stick. If they for ex.
      use Unetbootin to put the iso image on their (v)fat formatted stick they
      got lost with a kernel panic cause fstype won't detect vfat, so the
      mount and the later squashfs bindings traps.
      Signed-off-by: default avatarGerhard Brauer <gerbra@archlinux.de>
  24. 10 Aug, 2009 2 commits
  25. 27 Jul, 2009 1 commit
  26. 12 Jun, 2009 1 commit
  27. 08 Jun, 2009 1 commit
  28. 14 Apr, 2009 1 commit