4

I'm using xubuntu mostly with the read-only default image (without installation).

I was wondering if it's possible to tweak that same exact default xubuntu image and use that newly created image as the default (read only) bootable image.

Obviously, I'm going to assume that I should fully install it first and then tweak it to my own needs and then save it as a custom image but here is the thing...

I don't want to replicate that image 1:1 to a different hard drive I want to be able to use that same exact tweaked image to be loaded from external bootable USB device (read only) as the same as I loaded the default image from external bootable USB device.

1 Answers1

2

A lot depends on what exactly you intend to tweak.

If what you want to change is contained in a casper file system embedded in the ISO I don't think you can do this without at least extracting the ISO. I don't have your specific unnamed Xubuntu ISO so I can only speak in generalities. I would approach this by

1) Extracting the ISO.

2) if necessary, loop mounting the casper file system read/write

3) tweaking as required

4) Replacing the changed files in the ISO with isomaster as suggested here.

Note that you will require at least sufficient storage space to contain both the source and the destination ISO files and if you need to modify the casper filesystem enough space to extract that also and modify it as well.

Sources:

How to extract iso images to the hard disk?

Device type "loop" in mount command

https://stackoverflow.com/questions/2566121/what-is-casper-rw-loop-file-and-why-do-i-need-it-to-make-saving-persistant-on-us/12982030#12982030

https://packages.ubuntu.com/search?keywords=isomaster&searchon=names&suite=all&section=all

How to edit ISO Images (Including Bootable ISOs)

Elder Geek
  • 36,752