Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Set up use of swap partition with systemd

I just installed Fedora 20ß. I have a swap partition, but I forgot to tell the installer that I want to use it. Fedora 20 booted without the swap, so I ran:

swapon -L SWAP-sda2

to get it started.

I want to have it used automatically every time I boot the system. The old way it to put a line into fstab; the new way is to do some stuff with systemd files.

Please just tell me how to do it. Eg., link this file here, or create a file with exactly these contents, or edit such and such a file with these new contents, or run these commands, etc.

Set up use of swap partition with systemd

I just installed Fedora 20ß. I have a swap partition, but I forgot to tell the installer that I want to use it. Fedora 20 booted without the swap, so I ran:

swapon -L SWAP-sda2

to get it started.

I want to have it used automatically every time I boot the system. The old way it to put a line into fstab; the new way is to do some stuff with systemd files.

Please just Just tell me how to do it. it in plain English. Read the manual is not an answer. Eg., link this file here, or create a file with exactly these contents, or edit such and such a file with these new contents, or run these commands, etc.

Set up use of swap partition with systemd

I just installed Fedora 20ß. I have a swap partition, but I forgot to tell the installer that I want to use it. Fedora 20 booted without the swap, so I ran:

swapon -L SWAP-sda2

to get it started.

I want to have it used automatically every time I boot the system. The old way it to put a line into fstab; the new way is to do some stuff with systemd files.

Just tell me how to do it in plain English. Read the manual is not an answer. Eg., link this file here, or create a file with exactly these contents, or edit such and such a file with these new contents, or run these commands, etc.