Go to advanced search

by bradvido
Fri Sep 14, 2012 8:15 pm
Forum: General discussion
Topic: RPi in Car: "live" image (read-only)?
Replies: 26
Views: 7339

Re: RPi in Car: "live" image (read-only)?

Thanks for the tip on openelec. That would work perfectly if i only needed XBMC. Reading up on the docs for fsprotect , it details how it protects the root file system. As i said, I'm a Linux newbie, so is this even possible on the Rpi? Does the Rpi have a "initramfs boot stage"? The root fillesyste...
by bradvido
Fri Sep 14, 2012 1:54 pm
Forum: Graphics, sound and multimedia
Topic: Crackly audio through 3.5mm jack
Replies: 95
Views: 42004

Re: Crackly audio through 3.5mm jack

I am also having poor quality audio (tried various different builds) only through the 3.5 mm headphone jack. Making sure the Pi's volume is all the way up helps a little bith with the static/crackling, but it's still pretty poor quality. I'll be eagerly awating a fix and willing to help test/debug. ...
by bradvido
Thu Sep 13, 2012 10:29 pm
Forum: General discussion
Topic: RPi in Car: "live" image (read-only)?
Replies: 26
Views: 7339

Re: RPi in Car: "live" image (read-only)?

OK, I now have my RPi and have successfully installed Debian Wheezy. I also intalled the fsprotect package using sudo apt-get fsprotect. Everything installed fine. I edited /boot/cmdline.txt and added the fsprotect parameter to the end. However, when i reboot, it seems that fsprotect does not initia...
by bradvido
Wed Sep 12, 2012 9:02 pm
Forum: General discussion
Topic: RPi in Car: "live" image (read-only)?
Replies: 26
Views: 7339

Re: RPi in Car: "live" image (read-only)?

I used to do a fair bit of in car PC stuff back in the day and i would be looking to set it up as follows: Have the Pi powered from the battery - obviously not directly to the 12v, but your power supply would be always on regardless of the ignition. Then look at a relay system which would send a si...
by bradvido
Wed Sep 12, 2012 4:12 pm
Forum: General discussion
Topic: RPi in Car: "live" image (read-only)?
Replies: 26
Views: 7339

Re: RPi in Car: "live" image (read-only)?

OK. Well fsprotect does not require GRUB , it just needs to modify the kernal parameter and add "fsprotect=X" to it. So how would I modify kernal/boot parameters on the RPi? EDIT: quick google shows i should add the param to cmdline.txt From the fsprotect docs: To enable fsprotect you need to add th...
by bradvido
Wed Sep 12, 2012 3:42 pm
Forum: General discussion
Topic: RPi in Car: "live" image (read-only)?
Replies: 26
Views: 7339

Re: RPi in Car: "live" image (read-only)?

This is what I did on my test VM vi /etc/default/ grub we don't have GRUB on the Pi, so like no I don't have my RPi yet, but i'm going to be installing Raspbmc which uses grub: http://www.raspbmc.com/wiki/technical/partitioning/ "The fat32 partition contains the firmware files and is mounted at /bo...
by bradvido
Tue Sep 11, 2012 8:49 pm
Forum: General discussion
Topic: RPi in Car: "live" image (read-only)?
Replies: 26
Views: 7339

Re: RPi in Car: "live" image (read-only)?

This is what I did on my test VM

Code: Select all

log in as root
apt-get install fsprotect
vi /etc/default/grub
Change the line GRUB_CMDLINE_LINUX_DEFAULT and add fsprotect=15% to the command
Run update-grub
reboot
create a file
reboot
verify file is gone after reboot
by bradvido
Tue Sep 11, 2012 8:34 pm
Forum: General discussion
Topic: RPi in Car: "live" image (read-only)?
Replies: 26
Views: 7339

Re: RPi in Car: "live" image (read-only)?

I need read-only to guarantee the SD card won't get corrupted when power is suddenly lost. I was able to get fsprotect installed on my debian squeeze VM (for testing) and it seems to do exactly what i need. All writes that would normally go to disk are redirected to memory. It can also be toggled on...
by bradvido
Tue Sep 11, 2012 6:34 pm
Forum: General discussion
Topic: RPi in Car: "live" image (read-only)?
Replies: 26
Views: 7339

Re: RPi in Car: "live" image (read-only)?

My googling has brought me to a tool called fsprotect. It seems to be able to automate the process of making the root filesystem read-only. Has anyone used this with the RPi?

I must admin I'm a Linux newbie so I'm not sure if fsprotect is the right solution or not...
by bradvido
Tue Sep 11, 2012 1:02 pm
Forum: General discussion
Topic: RPi in Car: "live" image (read-only)?
Replies: 26
Views: 7339

Re: RPi in Car: "live" image (read-only)?

Yes, as has been mentioned in other forum posts, the RPi will ignore the switch on the SD card.

Even so though, if there is a script i could run or tutorial to follow to configure Linux to disable logging and have any other writes go to memory instead of disk?
by bradvido
Mon Sep 10, 2012 6:31 pm
Forum: General discussion
Topic: RPi in Car: "live" image (read-only)?
Replies: 26
Views: 7339

RPi in Car: "live" image (read-only)?

I'm planning on using my RPi in my car and having it suddenly lose power when the car turns off. I understand this would inevitably cause corruption on a typical SD card installation where data may be writing to the card when it loses power. I'm wondering if there is some way to set up an SD image t...

Go to advanced search