I use a specific screen with my raspberry pi 3 that requires a command to set the resolution to him, otherwise it displays nothing. It works fine, the problem is that after each start the file "config.txt" is empty and I have to manually rewrite the command with another pc if I want to use it. It's tedious .. Anyone know how to prevent the automatic deletion of the file content "config.txt"? Thank you Tested with raspbian, ubuntu mate, same problem.
Code i put in config.txt after each start :
max_usb_current=1 hdmi_group=2 hdmi_mode=1 hdmi_mode=87 hdmi_cvt 1024 600 60 6 0 0 0