Operation Manual

By default, the partition editor will look at the first drive it finds in your system, which is usually your PC’s hard drive. You don’t
want to make changes to that, so make sure to click on the device selector in the top-right corner and choose the device
corresponding to the SD card. On a single-drive system, this will usually be /dev/sdb (see Figure 5-5).
Figure 5-5: Parted Magic’s Partition Editor tool, before resizing the partition
Resizing and moving partitions is a risky process. If the SD card is removed while the resize is in progress, or the PC loses power, it will corrupt the
contents of the card. Always make sure you’ve backed up any irreplaceable personal files from the card before editing the partitions.
The exact partitions that need to be resized and moved will differ according to the distribution chosen. In the case of Debian, you
will need to resize the second partition, which will usually be sdb2. With the partition editor loaded, do the following:
1. Some Linux distributions include a swap partition at the end of the image. This appears as a small partition of type linux-