Frequent Question: How Do I Increase Swap Space in Linux Mint?
Contents How Do I Change the Swap Size in Linux Mint? to Resize Swap, I Did This: Reboot from Installation Usb Drive, So That the Root Filesystem Is Not...
Contents
How do I change the swap size in Linux Mint?
To resize swap, I did this:
- reboot from installation USB drive, so that the root filesystem is not mounted.
- reduce the size of the root filesystem: Code: Select all sudo lvresize -r -L -8G /dev/mint-vg/root.
- increase the size of the swap partition: Code: Select all sudo lvresize -L +8G /dev/mint-vg/swap_1.
Must Read
How do I resize swap space in Linux?
The basic steps to take are simple:
- Turn off the existing swap space.
- Create a new swap partition of the desired size.
- Reread the partition table.
- Configure the partition as swap space.
- Add the new partition/etc/fstab.
- Turn on swap.