2

When I create any file, like .bash_aliases for example, and then I reboot using sudo reboot, all my changes are lost. I don't know if the card is read-only (I can actually create files).

I am running under Raspbian Jessie and I've been looking around for a solution. One I tried that did not work was to add a 'rw' before the waitreboot in /boot/cmdline.txt.

Does anybody have another idea how to fix this?

Flag
  • 53
  • 1
  • 1
  • 6

2 Answers2

1

Ok, so according to this post it seems that can happen when the card gets corrupt.

Flag
  • 53
  • 1
  • 1
  • 6
0

Another reason when changes to the file system do not persist after reboot is the Overlay File System option is enabled. I accidentally enabled that option, and after disabling it via

sudo raspi-config

4 Performance Options > P3 Overlay File System > No

changes to the files system were stored to the SD card again.

Sascha
  • 101