Linked Questions

213 votes
9 answers
366k views

How do I add swap after system installation?

I did not create a swap partition during Ubuntu installation. Later, I freed up some space and made a swap partition. Now after each boot up, I am manually opening gparted to right-click the swap ...
0 votes
1 answer
556 views

How to modify fstab to automatically load my swap file?

I have an 8GB swap file under /swapfile1 and I have to load it manually in the terminal every time I log in. I tried to modify fstab following the advice given in this thread Adding a new swap file. ...
71 votes
1 answer
56k views

swap partition vs swap file

I was reading the new changes with Ubuntu 17.04 and one caught my eye which was moving from the typical swap partition model to a new swap file model for new installs. Are there benefits for using ...
1 vote
0 answers
925 views

Swap file not activated on startup on Ubuntu 20.04

I have created swapfile at /swapfile and add following line to /etc/fstab (according to SwapFaq): /swapfile none swap sw 0 0 When I try to activate it ...
118 votes
11 answers
214k views

How can I hibernate on Ubuntu 16.04?

How should I successfully hibernate Ubuntu 16.04? I've tried almost every solution on the web but non of them was actually helpful. I found my problem almost completely similar to this one
75 votes
8 answers
196k views

How do I find out if I have a swap partition on my hard drive?

I used the 12.04 live cd to install Ubuntu over my Windows 7 partition and deleted everything so I just have Ubuntu on my laptop. But since during the installer I chose the simple "erase entire disk" ...
5 votes
2 answers
16k views

Do I need swap with new SSD?

Am about to upgrade to new SSD and thinking through partition migration process. Will I need SWAP with an SSD? I have 8GB RAM and an i5 processor.
0 votes
4 answers
1k views

apt-get update fails (oom killer executed on /usr/lib/apt/methods/https memory hog)

I am repeatedly seeing the apt-get update/install process leading to a situation in which /usr/lib/apt/methods/https eats up the system's memory and as a result the OS oom killer is triggered. The ...
0 votes
1 answer
714 views

How to create a swap partition (no free space left) [duplicate]

I've installed Ubuntu on one partition which utilizes all disk space (if we're ignoring the NFTS partitions). I forgot to define a swap partition. How do I make a swap partition after installation? I ...
28 votes
3 answers
25k views

How can I quickly make a large file?

What is a quick and easy way to make a file that is, say, 2 GB in size?
0 votes
1 answer
202 views

Should my Ubuntu be running a swap file?

My Ubuntu system has been slow since recent updates. Usable for some things, but Facebook in particular has slowed to a crawl. A facebook video takes 5 to 8 minutes to load. The Gnome system monitor ...
15 votes
2 answers
6k views

ImageMagick convert and low RAM

Please consider the following command for the imagemagick package: sudo convert -resize 460x200 /path/to/test1.jpg /path/to/test2.jpg Now test1.jpg is a fairly large image (12.5MB), but not unheard ...
5 votes
2 answers
4k views

Without having swap partition how to hibernate using only "SWAP FILE"

I found answer near to this question but not exact answer in Ubuntu-forums.I found answer to How to create swap partition after installing Ubuntu. How to create or add swap file to existing swap ...
1 vote
0 answers
316 views

Extremely slow OS. Swap related?

I really hope you can help me. An inexperienced sysadmin, installed Ubuntu on a new Dell Desktop, it's a pretty powerful machine, and I ran a bunch of hardware tests, and can confirm that RAM/HDD and ...
4 votes
2 answers
886 views

How to re-enable hibernate option?

I had enabled "hibernate" option in my Ubuntu 12.10 few months back by adding the following lines to /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla: [Re-enable hibernate by ...

15 30 50 per page