Problem in changing files

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
Nikkhah
Posts: 4
Joined: Sun Jan 21, 2018 9:02 am

Problem in changing files

Post by Nikkhah »

Hi. I used dietpi for orange pi win. I want to change the variables in config.txt file. I change it and save it but when I reboot orange pi, changes are reset and file does not change. It is true for all file not only config file!
How can I solve this problem?
thank you
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: Problem in changing files

Post by johnvick »

If you edit the config files under /DietPi (not under /boot) changes will be saved.

The file you are editing is on a ramdisk hence changes are saved to the ramdisk and therefore lost when you power off.

John
Nikkhah
Posts: 4
Joined: Sun Jan 21, 2018 9:02 am

Re: Problem in changing files

Post by Nikkhah »

Oh,yes. It's right. but how about /boot/armbianEnv.txt? Where could I edit and save the changes?
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: Problem in changing files

Post by johnvick »

Sorry just left home for a few days and can't access my Orange PI - hopefully someone else can help.

Or maybe take the SD card out and edit the file on another Linux machine?

John
Nikkhah
Posts: 4
Joined: Sun Jan 21, 2018 9:02 am

Re: Problem in changing files

Post by Nikkhah »

Thank you for your answer. I edit it and it changed, but I have some problems to enable uarts! It is really painful for me!!
Post Reply