I've never done it post-install but it should be achievable. Here's the basics:
1. Create the swap partition using a partition editor (GParted Live is my perferred).
2. Make a backup copy and then edit your /etc/fstab file and identify the swap, here's a copy of my swap entry for the fstab:
UUID=f421f351-xxxxxxxxxxxxxxxxxxxx none swap sw 0 0
3. Save the fstab file and re-boot.
If you're going to use the uuid method for identifying the swap partition, run the following from a terminal to get the uuid for the swap partition (use cut and paste):
- Code: Select all
ls /dev/disk/by-uuid -lh
Hope this helps,