Operation Manual
swap in the partition editor. If this is present, continue with these instructions; if not, skip straight to step 5.
2. Click on the swap partition, which will be the last partition in the list, and choose Resize/Move from the toolbar.
3. In the dialogue box that appears, click and drag the box at the top left over to the top right (see Figure 5-6). Once
complete, the Free Space Following box should read 0.
Figure 5-6: Moving the swap partition in the partition editor
4. Click the Resize/Move button to confirm the change. Moving the partition will trigger a warning about the potential for the
new partition table to lead to booting problems. That doesn’t apply to this change, because you’re not moving the boot
partition, so just click OK.
5. Click on the largest partition in the list, which is typically labelled sdb2, and click Resize/Move on the toolbar again.
6. This time, click and hold the right arrow on the coloured box and drag it to the right edge of the grey box (see Figure 5-7).
This will make the partition larger, rather than just moving it.
Figure 5-7: Resizing the root file system in the partition editor
7. Click the Resize/Move button to confirm your change, and again click OK on the warning box that appears.
8. Click Apply on the toolbar, and again on the dialogue box that appears. Depending on the speed of your SD card, the
resizing process may take a few minutes to complete.
9. When the resize has completed, you can turn off your PC and put the SD card back into your Pi.
Thanks to the changes made in the partition editor (see Figure 5-8), the main partition on the SD card is now as big as the card
will allow it to be. As this is where most Linux distributions store both their own files and the users’ files, the Pi should now have
plenty of space available to use.
Figure 5-8: Parted Magic’s Partition Editor tool, after resizing the partition