Score:0

What must I do to open an iso9660 filesystem in rw mode

in flag

I have a USB stick with a live system. One file in this has got the wrong md5 sum. The ISO image from which it was made had the right md5 sum.

I want to rename the broken file such that it does not harm any longer and put a known good replacement into the same directory.

Of course I could make a new stick from the onset. But my special stick has more than one partition and I want to keep the other partitions unchanged. Also there are some other files in the live system, which I would like to modify (and of course adapt the entries with the md5sums of the file md5sum.txt to the changed files). So my first question is just a practice for the second step.

I have already tried to mount the device (/dev/sdb1 in my case) in -w mode, but it refuses to do so because of the iso9660 filesystem.

ChanganAuto avatar
us flag
"iso9660" is not writable, by definition.
in flag
Generally one cannot modify an ISO9660 file system as that defeats the purpose of an immutable medium. [This answer](https://askubuntu.com/a/922717/1222991) from a few years ago has a bit more info.
in flag
@ChanganAuto: Apparently the ISO9660 file system has been written to the thumbdrive, When in the writing process did it become unwritable? There are irreversible operations: when I close the door and it falls into the lock, for example, but with the right key you can get it open again... But I could also repartition the stick, then it would be rewritable again - fortunately! At https://askubuntu.com/questions/9262/change-liveusb-default-boot-options someone describes that he changes single files on the installed stick and I remember to have done that before and that it worked then.
ChanganAuto avatar
us flag
You're very confused. Your link has nothing to do with changing an immutable file system but with adding different Grub parameters once booted from that medium. Please read again and understand what was answered in Matigo's link. Namely understand that "iso9660" is originally a optical drive (CD/DVD) file system, read-only by definition. That later it was possible to use it to make bootable USB drives, by *"emulating"* an optical drive in a flash mass storage device doesn't change its characteristics. Of course the media itself is re-writable but NOT the file system insie as you wan do.
ChanganAuto avatar
us flag
"live media with persistence" allows the use of the remaining space in a given USB flash by adding an additional user accessible rw file system.
in flag
My Xubuntu 20.04 from a downloaded https://cdimage.ubuntu.com/xubuntu/releases/20.04/release/xubuntu-20.04.3-desktop-amd64.iso adds a third partition labelled "writable" when booted. - Three times after several boots from the stick, it produced a message that a file is broken. `md5sum -c --quiet md5sum.txt` always report `./boot/grub/efi.img` as wrong! This also happened with other new sticks. Before using the stick all md5sums were right. Before using the downloaded isofile, its overall checksum was also ok. Really strange for an immutable file system!
C.S.Cameron avatar
cn flag
Perhaps try PM'ing sudodus at Ubuntu Forums. He tried to explain the process to me several years ago, but it is a little too complex for my tired old brain.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.