Menu

Editing squashfs

Help
2009-08-25
2013-04-05
  • Christopher Lewis

    I'm trying to modify a custom ISO I made. I want to edit
    /opt/drbl/sbin/ocs-sr, modify
    and change:
    PARTCLONE_RESTORE_OPT_INIT=""
    to:
    PARTCLONE_RESTORE_OPT_INIT="-C"

    So that it will restore to smaller disks than originally created on. However, I have had a lot of trouble finding a way to edit the filesystem.squashfs file. Is there a better way to do this?

     
    • Steven Shiau

      Steven Shiau - 2009-08-26

      So far there is no better way you can do. The best way to make it is to mount the filesystem.squashfs, copy the contents to another working, writeable dir, modify it, then use squashfs tools to make the modified dir as another filesystem.squashfs.
      What the problem did you encounter?

      Steven.

       

Log in to post a comment.