Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

when I reboot some of my configuration files revert back to old settings. Also software packages need to be reinstalled. It is really bizzare. Current version of linux is Debian Wheezy

share|improve this question
Are you booting from a squashfs filesystem? What image did you use? –  Jivings Dec 19 '12 at 20:57
Are you running sync before you reboot? –  Munkeh Dec 20 '12 at 13:34
@Munkeh no I am not –  Richard Dec 20 '12 at 14:07
Give it a try. The changes you're making may not be syncing to disk before you reboot. –  Munkeh Dec 20 '12 at 14:13
What file system are you using? What distro/image did you start from? Are you doing a software reboot or just pulling the plug on it? –  Caleb Dec 22 '12 at 11:19
show 5 more comments

1 Answer 1

Actually do

sync; sync

As sync releases console before it finishes

share|improve this answer
This doesn't explain why. Why would this work? Why would entire package installation routines not be flushed to the disk? What configuration would this be a solution for? –  Caleb Dec 22 '12 at 11:18
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.