System information

Warning
Do not attempt to resize a partition on a device that is in use.
Pro ced u re 13.4 . Resiz e a part it ion
1. Before resizing a partition, boot into rescue mode (or unmount any partitions on the device
and turn off any swap space on the device).
2. Start parted , where /d ev/sda is the device on which to resize the partition:
# parted /d ev/sda
3. View the current partition table to determine the minor number of the partition to resize as well
as the start and end points for the partition:
# pri nt
4. To resize the partition, use the resi ze command followed by the minor number for the
partition, the starting place in megabytes, and the end place in megabytes.
Examp le 13.2. Resiz e a p art it io n
For example:
resi ze 3 1024 2048
Warning
A partition cannot be made larger than the space available on the device
5. After resizing the partition, use the pri nt command to confirm that the partition has been
resized correctly, is the correct partition type, and is the correct file system type.
6. After rebooting the system into normal mode, use the command d f to make sure the partition
was mounted and is recognized with the new size.
Chapt er 1 3. Part it ions
95