Menu

Editing an IMG to remove one file

2019-12-23
2019-12-25
  • John Bartley

    John Bartley - 2019-12-23

    I wish to edit an IMG file to delete one file of one partition from an image of three partitions. The image in question was made from three partitions in CentOS. Can an IMG file be edied to delete one file?

     
  • Steven Shiau

    Steven Shiau - 2019-12-25

    No, since the image is taken from the blocks of file system. They are not files. Hence you have to restore that, edit, then take an image again.
    Of course, this can be done on a virtual machine.

    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.