Title: Extending Swap Partition Using KDE Partition Manager in Lubuntu Live CD
In this guide, we will demonstrate how to extend a swap partition using the KDE Partition Manager in a Lubuntu Live CD environment. This process can be beneficial when you need to increase the size of your swap space.
Prerequisites:
- Lubuntu Live CD or USB
- A running system (optional)
Steps:
-
Boot into Lubuntu Live CD: Insert the Lubuntu Live CD or USB into your computer and restart. During the boot process, select the option to boot from the Live CD or USB.
-
Launch KDE Partition Manager: After booting into the Live CD environment, open a terminal and run the following command to launch the KDE Partition Manager:
kdepartitionmanager -
Identify the Swap Partition: In the KDE Partition Manager, locate the swap partition. It will typically be labeled as "swap" or have a type of "Linux swap."
-
Shrink the Primary Partition (if necessary): If the swap partition is part of a larger primary partition, you may need to shrink the primary partition first to free up space for the swap partition. To do this, right-click on the primary partition and select "Resize/Move." In the dialog box that appears, drag the slider to shrink the partition, then click "Apply."
-
Resize the Swap Partition: Right-click on the swap partition and select "Resize/Move." In the dialog box that appears, drag the slider to increase the size of the swap partition, then click "Apply."
-
Apply Changes: A warning message will appear, asking if you're sure you want to apply the changes. Click "Yes" to continue.
-
Save Changes and Exit: After the changes have been applied, click "Apply" in the main KDE Partition Manager window, then click "Quit" to exit.
-
Reboot and Verify: Reboot your system to apply the changes. Once booted, open a terminal and run the following command to verify that the swap space has been increased:
swapon --showYou should see the new size of the swap partition in the output.
References: