This recipe explains how to boot the official Raspbian distribution and run raspi-config
to complete the installation of the Raspberry Pi.
The raspi-config
command is run by default when you first boot the Raspberry Pi. In this recipe, the command is only used to update the tool itself. More detail on the use of raspi-config
can be found in Chapter 2, Administration.
Once this recipe is complete, you will have booted the Raspberry Pi for the first time.
The following are the ingredients:
The SD card should be formatted with a Raspbian image, a display and keyboard should be connected, and the Raspberry Pi should be ready to power on.
The following are the steps for booting the Raspberry Pi for the first time:
The preceding screenshot shows the Raspberry Pi as it boots.
raspi-config
utilityThe following screenshot shows the Raspi-config main menu:
sudo raspi-config
to return to the menu.The preceding screenshot shows the updating process of the raspi-config
utility.
The official Raspbian Linux distribution comes with the raspi-config
utility. It is run automatically on the first boot of the operating system. Afterwards, the system will boot without running the configuration utility.
When the Raspi-config main menu appears, the user can use the keyboard arrows, the Tab key, the Space bar, and the Enter key to navigate the menus.
The next chapter has recipes that use raspi-config
to configure the Raspberry Pi. The example in this recipe selects the menu item update to fetch and install a current version of raspi-config
from the Raspberry Pi package distribution center.
After the raspi-config
command has been updated, the user is left at a command prompt and must restart raspi-config
. The
raspi-config
command is privileged, so the sudo
command is used as a prefix to temporarily grant privileges to the user.
After the user has configured the Raspberry Pi, selecting <Finish> from the main menu will cause the Raspberry Pi to reboot.
Once rebooted, the Raspberry Pi is ready for use!
The
raspi-config
utility can be run at any time to reconfigure the Raspberry Pi. After logging in, enter the command sudo raspi-config
to rerun the utility.
http://manpages.debian.net/cgi-bin/man.cgi?query=sudo
The Debian man page for sudo
.
http://elinux.org/RPi_raspi-config
This utility helps you configure the Raspberry Pi. It is a work in progress, expecting that the number of configuration items in this utility will increase over time.
3.144.77.71