Menu

Mounting and modifying a partition in linux

Help
Andrew
2019-06-19
2019-07-14
  • Andrew

    Andrew - 2019-06-19

    Hi,

    I've been able to mount a clonezilla partition based on this.

    https://forums.linuxmint.com/viewtopic.php?t=287558

    but I can't see anything for taring that partition up again so we can use those modifications.

    As far as I'm aware there's a checksum to be created too.

    Can someone point me to how I would go about modifying an image ? I just need to make a one line change and dont want to use a postinstall script etc etc.

    Thanks,

     
  • Steven Shiau

    Steven Shiau - 2019-06-20

    I do not understand your question. Could you please describe that in detail?
    Do you want to mount an image then copy some files? Or?

    Steven

     
  • Andrew

    Andrew - 2019-06-27

    Hi Steven,

    Firstly I love clonezilla so thanks for your efforts.

    I have many images but sometimes I need to modify 1 or 2 files in the image. I currently use a post install script to make these minor modifications but I'd really like to be able to mount the image, modify, add or remove any files I need to and then unmount the image and use it again. Can I do that ? Is there a supported process or script ?

    Ultimately I'd like to do away without using a post install script.

    Thanks,

    Andrew

     

    Last edit: Andrew 2019-06-28
  • Steven Shiau

    Steven Shiau - 2019-07-14

    Thanks for your feedback.
    The image is compressed and split by default, you have uncompress and concatenate them to a file. Then you can mount the file using "-o loop" then modifiy it.
    Hence I believe it's easier to do that in a post script.

    Steven

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.