---
title: "Discussion on \"Add swap partition after system installation on Ubuntu\" | Hashnode"
description: "Discussion on \"Add swap partition after system installation on Ubuntu\". Edit /etc/fstab to add the new swap partition as system swap space.\nsudo nano /etc/fstab\nGet the UUID of the partition using the command\nsudo blkid /dev/<paritionid>\nEg:\nsudo blkid /dev/sda3\nAlternative to running above command is by using the preins..."
url: "https://hashnode.com/posts/add-swap-partition-after-system-installation-on-ubuntu/62a81834ddf27ef9ab05f039"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Add swap partition after system installation on Ubuntu](https://jsbisht.hashnode.dev/add-swap-partition-after-system-installation-on-ubuntu?utm_source=hashnode&utm_medium=feed)

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...

Jun 14, 2022 · 1 min read · jsbisht.hashnode.dev  
Read the article

-   [#ubuntu](https://hashnode.com/tag/ubuntu)

## Written by

[JAGDEEP BISHT](https://hashnode.com/@jsbisht)

@jsbisht · Bengaluru, India

  
[View profile](https://hashnode.com/@jsbisht)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
