Manual Resizing - Raspberry Pi User Manual

Hide thumbs Also See for Raspberry Pi:
Table of Contents

Advertisement

C H A P T E R 5
To resize the root file system using the
If this is the first time you have loaded Debian on the Raspberry Pi,
will load automatically . If it does not, type
terminal to load the tool manually .
In the
raspi-config
to highlight the
expand_rootfs
The resizing operation takes just a few seconds, and is followed by a message telling
you that the process will complete when the Pi is next restarted . Press Enter to dismiss
this message .
Press the Tab key twice to highlight Exit, and then press Enter to quit
Type
sudo reboot
because the file system will need to be resized . This process happens only once per
resize—the next time the Pi is rebooted, it will take no longer than usual .
When the Pi has fully rebooted, the root file system will now be as large as the SD card allows .
To verify this, type
df -h

Manual Resizing

The most reliable way to resize Linux partitions on a desktop or laptop computer is to use a tool
called Parted Magic, a free bootable CD that is designed specifically for adjusting file systems .
P A R T I T I O N M A N A G E M E N T
raspi-config
menu (see Figure 5-3), press the down arrow on the keyboard
option and then press Enter .
to restart the Pi . The reboot process will take longer than usual,
at the terminal to list the free space on all connected storage devices .
tool, follow these instructions:
sudo raspi-config
raspi-config
at the console or
Figure 5-3:
The raspi-
config tool's
menu screen
.
raspi-config
77

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents