isis59
Posts: 3
Joined: Tue Feb 25, 2020 3:44 pm

[SOLVED] Raspberry doesn't save my modifications

Tue Feb 25, 2020 3:59 pm

Hi,

I have a "little" problem since this morning, all I've done has been cancelled... I didn't understand until I tried a simple "touch test".

The file is created, i can do everything I want : modify, rename, delete... etc.

Life seems good... until I reboot.

My file has disappeared, all I have installed too, all I have deleted is back etc...

FS seems to be readonly since I've tried to disable IPv6.

all I've done is follow this instruction :

Code: Select all

Add ipv6.disable=1 to cmdline.txt
It worked but since this modification, no more modification can be done.. so I've removed this part from cmdline successfully but without any effect.

This is a fresh install I did yesterday, so no data to loose, but I prefer understand.
Raspbian 10 lite ;)


Thanks
Last edited by isis59 on Wed Feb 26, 2020 9:38 pm, edited 1 time in total.

klricks
Posts: 7154
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Raspberry doesn't save my modifications

Tue Feb 25, 2020 4:54 pm

Likely your card has gone into read only mode. The controller on the SD card will do this in order to preserve existing data when impending failure is sensed. This is so you don't loose all your photos in a camera etc.
This feature is not reversible.
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

isis59
Posts: 3
Joined: Tue Feb 25, 2020 3:44 pm

Re: Raspberry doesn't save my modifications

Tue Feb 25, 2020 5:58 pm

When fs turns into RO mode, there is some messages np ? I should see it in fstab.

There was in previous version (jessie for sure. I faced this problem).

If you're true, what could have caused it ? I installed Raspbian earlier this night, installed apache/php that's all x)
Is this version of Raspbian still a beta one ?

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5623
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Raspberry doesn't save my modifications

Tue Feb 25, 2020 6:11 pm

isis59 wrote:
Tue Feb 25, 2020 5:58 pm
When fs turns into RO mode, there is some messages np ? I should see it in fstab.

There was in previous version (jessie for sure. I faced this problem).

If you're true, what could have caused it ? I installed Raspbian earlier this night, installed apache/php that's all x)
Is this version of Raspbian still a beta one ?
To add to @klricks comment and hopefully clarify further - it's not the f(ile) s(system) that's (probably) "gone R(ead) O(nly) but the uSDHC card itself (physically) . It's unclear, however, whether you "installed Raspbian earlier this night" (or tried to) on the old (Jessie?) card or a new one. Raspbian (Buster) is not beta so if it was a new card you have a different issue and we need more info. eg, card make, size etc. how you installed (eg. using the NOOBS installer or a Raspbian image directly) on what type of computer, card reader ...
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

isis59
Posts: 3
Joined: Tue Feb 25, 2020 3:44 pm

Re: Raspberry doesn't save my modifications

Wed Feb 26, 2020 6:46 am

Hi,

Thanks for your replies.

To answer your questions :
- this is a new install, on a new 16go sd card
- installation from Raspbian lite img file, downloaded on raspbian website.
- I used a usb micro sd card reader, an windows to push the .img on.


I have an other raspberry, so I compared the two cmdline.txt files, and finally add a space at the end of the file, all is back ok.

I can now start all my configuration, once more --'

Wasn't aware cmdline was expecting a blank space at the EOF.

Thanks trying help me, and sorry for my English, I saw the French part after creating this topic.

Return to “Troubleshooting”