I am trying to edit the /boot/config.txt
and /boot/cmdline.txt
files.
However, anytime I edit or even copy them to the /boot like this:
sudo cp /boot/config.txt /boot/config.txt.orig
when I reboot the changes are vanished.
I tried to sync filesystems, the /boot
partition is mounted rw
.
/etc/fstab
mounts the boot partition to defaults, overlayfs does not seem enable (or I did not manage to see it)
Even when I use the raspi-config tool, it changes the files but when rebooting, changes disappear.
I just don't understand what is happening.
Installation information
Debian version is 10.4
$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Can someone give me a lead to disable that strange behaviour ? What did I miss ?
Edit
Additional information
Here is the output of dmesg after SD card connection:
[300353.948056] sd 1:0:0:0: [sdb] 31291392 512-byte logical blocks: (16.0 GB/14.9 GiB)
[300353.949361] sd 1:0:0:0: [sdb] Write Protect is off
[300353.949386] sd 1:0:0:0: [sdb] Mode Sense: 2f 00 00 00
[300353.957419] sd 1:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[300353.979048] sdb: sdb1 sdb2
[300353.984830] sd 1:0:0:0: [sdb] Attached SCSI removable disk