×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Bash
Posted by: Musab Hussain
Added: Mar 16, 2016 10:13 AM
Modified: Mar 16, 2016 10:15 AM
Views: 1942
Tags: no tags
  1. You need to edit /etc/fstab and add the new swap partition.
  2.  
  3. sudo nano /etc/fstab
  4. You need to add a line that looks like
  5.  
  6. UUID=735b3be3-779c-4d21-a944-b033225f3ab4 none   swap    sw      0       0
  7. and you get the UUID using the command
  8.  
  9. sudo blkid /dev/sda3
  10. (substitute /dev/sda3 with the appropriate device name).