Oi, I am trying to say hello here... why are you deleting my "Hello all"... Anyway, as the title suggests, I need some help with bluetooth on a read only system. After some playing around and following various guides, I came to the conclusion that I need to pair my phone and the rpi while the system is RW and not RO. After that, even if it is RO it will work without any issues. So the question is, where is that list of paired devices physically located, is it possible to move it to a different place (like an RW folder). Otherwise I will need to temporarily mount my root folder as RW, pair and then change it back to RO. Thank you for reading me.
1 Answer
After user96931's suggestion, I did the following, Made a folder named bluetooth in a partition that is ReadWrite (you need to have something like that)
sudo mkdir /home/bluetooth
Changed owner and perms
sudo chown nobody /home/bluetooth/
sudo chmod 777 /home/bluetooth/
Deleted the original /var/lib/bluetooth folder (didn't care about keeping any settings or paired devices) Add a link from /home/bluetooth to /var/lib/bluetooth.
sudo ln -s /home/bluetooth/ /var/lib/bluetooth
bluetoothd
here: linux.die.net/man/8/bluetoothd (and by typingman bluetoothd
in the terminal).