2014-01-21, 22:23
(2014-01-21, 21:17)sonicov Wrote:Code:/usr.sqsh /usr squashfs ro,defaults,noatime 0 0
It's mounted as read only. If you change ro --> rw, and reboot, /usr should be writable.
Acually, I don't think that will do it. Potentially you could do changes by copying the usr.sqsh to Linux with squashfs tools, mount it there, add the files, and transfer it back to MX.
Example:
I used scp to copy usr.sqsh to Linux box running mythbuntu. Then there I did:
Code:
root@lumi:~# unsquashfs usr.sqsh
Parallel unsquashfs: Using 2 processors
5747 inodes (6469 blocks) to write
[=============================================================/] 6469/6469 100%
created 4964 files
created 1626 directories
created 406 symlinks
created 0 devices
created 0 fifos
root@lumi:~# cd squashfs-root/share/zoneinfo/
Do your edits/add files and directories, then squash it back and trasfer it back to MX
Code:
mksquashfs quashfs-root usr.sqsh
UPDATE: actually MX Linux has the unsquashfs and mksquashfs utilities, so no need to transfer to another box. Unsquash, make edits, squash back and replace usr.sqsh. I emphasize, that I certainly haven't tried this myself!!!