When I delete the gcode files (default ones supplied with printer) like Benchy from the printer, they all come back after a power cycle. I can delete the ones I upload and they stay gone, just the original ones keep coming back. Any way to stop them from coming back?
the files are stored in the following path /rom/usr/share/klipper/gcodes/
when i try to del them via ssh with a “rm” command i get a message saying I can not because they are read only. any help would be great. thank you
Well, it was worth a try. Thought maybe when you registered the machine it would put you in the suoder’s account. oh well.
Just tried it myself and noticed that /rom is a mounted read only file system. nothing can be written or erased from /rom
root@K2Plus-DE81:/usr# df -T
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/root squashfs 120064 120064 0 100% /rom
The file system type “squashfs” is a compressed read-only filesystem for Linux.
You have to let it stay. It is a “protected file system”. All the “don’t touch me” stuff is in the /rom directory. For what it is worth, the .3mf’s don’t take up much space.
that’s sort of a bummer. you are right, they are not taking up a ton of space but still wish I could just delete them. every time i power off and on the printer that are back… i will leave this post up in the hope someone figures a work around. thank you.
@Ray_Freeze I am impressed with your tenacity (an important quality for 3d printing). When I say “protected file system”, I mean at the operating system level. It’s going to take a root password and some serious Unix hacking chopos to change the /rom directory and its contents. AND, I’m not sure it is a good idea. That part of the file system contains all the basic system files. You can not remove the .3mf’s without removing the protection from the entire system. The printer does not boot if anything in /rom is altered. For all we know, the OS checks for those .3mf’s before it will finish a boot up. I wouldn’t chance it.