Page 1 of 1

[SOLVED] Raspberry doesn't save my modifications

Posted: Tue Feb 25, 2020 3:59 pm
by isis59
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

Re: Raspberry doesn't save my modifications

Posted: Tue Feb 25, 2020 4:54 pm
by klricks
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.

Re: Raspberry doesn't save my modifications

Posted: Tue Feb 25, 2020 5:58 pm
by isis59
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 ?

Re: Raspberry doesn't save my modifications

Posted: Tue Feb 25, 2020 6:11 pm
by FTrevorGowen
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.

Re: Raspberry doesn't save my modifications

Posted: Wed Feb 26, 2020 6:46 am
by isis59
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.