Add swap partition after system installation on Ubuntu
Edit /etc/fstab to add the new swap partition as system swap space.
sudo nano /etc/fstab
Get the UUID of the partition using the command
sudo blkid /dev/<paritionid>
Eg:
sudo blkid /dev/sda3
Alternative to running above command is by using the preins...
jsbisht.hashnode.dev1 min read