I want to use a raspberry for IoT. For this project I need to start Ethereum (Geth) at privat chain in the boot state.
When I have some data, I would like to make a transaction (contract) to store the data.
Is there anybody who can help me?
A way to start on boot is to possibly find where you do mount geth and add it to the fstab so it starts on boot. Only issue here is that if it doesn't find it, it will not boot. So keep a proper backup somewhere so you don't lose out on stuff.
You can learn more here:
Check this answer for some options - How can I run go-ethereum as daemon process on Ubuntu?
And one more option - use /etc/inittab to add the geth process to TTY 10 (for example):
10:2345:respawn:/path/to/geth --geth_options console
later you can switch to that console with Ctrl + Alt + F10