Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What file system is on the usb drive?
If it is an install image then it is probably/likely read only.
Make an .iso of it and mount it looback to read it. Copy the contents to a new directory, make changes, make new iso.
Or if you want to edit it in place look at losetup
Do you still have the .iso that you burned to the usb drive? If so then use that. I don't know what Mint uses. It may use squashfs for the install image. You'll have to unsquash it to edit it.
Look at:
man mount (look at loopback)
man dd (or whatever you want to make an image with)
man losetup
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821
Original Poster
Rep:
Quote:
Originally Posted by teckk
What file system is on the usb drive?
If it is an install image then it is probably/likely read only.
Make an .iso of it and mount it looback to read it. Copy the contents to a new directory, make changes, make new iso.
Or if you want to edit it in place look at losetup
Do you still have the .iso that you burned to the usb drive? If so then use that. I don't know what Mint uses. It may use squashfs for the install image. You'll have to unsquash it to edit it.
Look at:
man mount (look at loopback)
man dd (or whatever you want to make an image with)
man losetup
Have made an iso from all the folders then made a bootable usb but then that would not boot
I have unsquashed and edited and resquashed, that is what I am trying to write back deleting first the old squash but cannot delete that or rename.
I just have to make the usb writable to solve this.
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821
Original Poster
Rep:
Quote:
Originally Posted by teckk
What file system is on the usb drive?
If it is an install image then it is probably/likely read only.
Make an .iso of it and mount it looback to read it. Copy the contents to a new directory, make changes, make new iso.
Or if you want to edit it in place look at losetup
Do you still have the .iso that you burned to the usb drive? If so then use that. I don't know what Mint uses. It may use squashfs for the install image. You'll have to unsquash it to edit it.
Look at:
man mount (look at loopback)
man dd (or whatever you want to make an image with)
man losetup
Have now found the reason it is iso9660 and that is read only.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.