Article Index

What is next?

You can now put your image on an SD card and boot your Raspberry Pi with it. If you are still in the chrooted environment, you can exit this by typing 'exit'. After that you can unmount the partitions and disconnect the image file from the loop device. You can do this by shutting down your Raspberry completely or by running the commands mentioned at the end of 'Step 1'. I will not go into details on how to get the image on an SD card, that has been described enough: just google it. Note that you'll have to have console access (meaning; a screen and keyboard attached directly to the Raspberry) at this stage; install network services like openssh-server to access your Raspberry from over the network. Have a look at this discussion of you do not get any signal from your raspberry pi:, do not forget to resize the root partition (or create extra partitions) to fit the entire SD card.

After booting and logging in, you can't do much more than look around in bash and install packages from the repository. And there are probably plenty of packages you'll want to install. What exactly depends on what you want to do. Remember that a lot of tutorials on the internet that use the commandline, assume certain basic commands to be installed. There is a good change that you do not have them installed (for example 'raspi-config' is missing), however you can install everything that is installed on the regular Raspbian image!

Useful tools

These are some of the first packages I installed after installing the base packages. You can probably install these packages already in your chrooted environment, before writing the image to an SD card:

  • ntp; tool to set the system date and time automatically (based on NTP servers on the internet). The Raspberry does not have a battery, so without ntp, you would have to set the date after each (re)boot.
  • vim and less; useful tools to edit and view text files.
  • openssh-server; as explained above, I use this to access the raspberry over the network.
  • isc-dhcp-client; so I can configure my network interface to use DHCP for automatic IP address discovery. I use the Raspberry as a server, but I have configured the DHCP server to always assign it the same IP address.
  • sudo; let's you run commands as root while being logged in as a regular user. After installing this, I created a regular user and configured it so the regular user is allowed to use sudo. And then I removed the password for root, making the system just a little more safe (in my opinion).

Add comment

Security code