Activate Permanently the Linux-Swap File in Ubuntu
by: Revengksky Joseph D. Reyes (a.k.a rjdreyes – jcyberinux.com)
(Note: For this event you may need an internet connection, in case of need to install or download available updates on your Ubuntu OS.)
(Note: For GNOME GUI, I’m not certain on other GUI Environment such as Unity, 😀 , you may try if you want, to see the results.)
Here’s the Steps / Instructions on Adding Linux-Swap File System in Ubuntu
1. Go to Applications then to Accessories then click Terminal.
At terminal type the following: sudo gparted or go to System, then to Administration, the click GParted.
* (If GParted not yet installed, click here to follow the instructions.)
(Note: It will ask for a administration password, or your own account password, type it and press Enter.)
2. From GParted, right-click then click Information. What we are looking here, is UUID information. That we going to used to activate permanently the Linux-Swap File System.
Copy it and save it on a temporary text file. Then you may now close the GParted.
3. Then going back to Terminal, type the following: sudo gedit /etc/fstab
It will open the fstab file on the text editor. Then compare the fstab swap uuid to the temporary text file will the new swap uuid. (Note: Even you used GParted to activate it, it won’t save it on the fstab file, it just temporarily activated. It will lose again after you restart or shutdown.)
4. To make the new linux swap becomes activated and permanent, even you restart your computer, you must edit the fstab file. On the temporary text with the new swap uuid, copy it then, erase the old uuid on the fstab file, then paste the new uuid. (see the picture)
Then save to gedit fstab file, click File then click Save. Then exit gedit fstab file. Restart your computer to see the results. You will see its still activated.
I hope this helps you out! 😀
Related Entries / References :
Using GParted Partition Editor to create extended or logical partition in Ubuntu Debian by Jcyberinux
How to Install Ubuntu 10.04 LTS or Ubuntu 11.04 on Desktop or Laptop by Jcyberinux
How to Install Application using Ubuntu Software Centre
How to Install Software Packages using Synaptic Package Manager
Ubuntu Official Site
Download Ubuntu Official Site