Can I add swap partition after I installed my system already?|

Hi, I installed Manjaro KDE on my laptop (UEFI). I just used the most default options during the install and I don’t have a swap partition so it’s not really working for me when my laptop is not hybernating. Can I add to an already installed system?

If you have enough space left for an extra partition, then yes. If not, then you might want to create a swap file instead ─ see the Wiki for more information. :wink:

2 Likes

I have 200gigs left so I dont think thats a problem :stuck_out_tongue: also I have 16gigs of RAM. But how do I do that?

Yes, you need to add 3 things:

  1. A swap partition or swapfile
  2. A resume=UUID=<long_number> to the kernel parameter in /etc/default/grub
  3. Add resume to /etc/mkinitcpio.conf

Detailed information: https://wiki.archlinux.org/index.php/Power_management/Suspend_and_hibernate#Hibernation

That should be an easy one:

3 Likes