SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-11-24 14:12:44

tux_drummer
Member
Registered: 2012-11-23
Posts: 35

How to activate swap

I installed crunchbang without making a swap partition. I then booted to live and used gparted to make a swap but it's not declared on fstab. How do I make the swap partition to show up?

Offline

Help fund CrunchBang, donate to the project!

#2 2012-11-24 14:36:28

dura
Bloated Gimp
From: interzone
Registered: 2012-09-15
Posts: 2,107

Re: How to activate swap

Edit: Ignore me

Write an fstab. This should help:

http://wiki.debian.org/fstab

Add the swap line, using correct id, and auto mount at boot.

Reboot.

Last edited by dura (2012-11-24 14:53:23)

Offline

#3 2012-11-24 14:44:48

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: How to activate swap

The system will use swap if it exists, it doesn't need to be declared in fstab. Run free -m and see if the last row shows swap.

Offline

#4 2013-01-03 12:21:42

wavic
Member
Registered: 2013-01-03
Posts: 10

Re: How to activate swap

swap on

Offline

#5 2013-01-03 19:42:43

fatmac
#! Die Hard
Registered: 2012-11-14
Posts: 1,948

Re: How to activate swap

If you want it in fstab, add a line similar to the following :-

# swap was on /dev/sda1 during installation
UUID=6ea3d80e-3b04-4af3-9f36-e6a7f5065671 none            swap    sw

OR
/dev/sda1        none      swap     sw

Last edited by fatmac (2013-01-03 19:43:05)


Linux since 1999
Currently:  AntiX, & Crunchbang.
A good general beginners book for Linux :- http://rute.2038bug.com/index.html.gz
A good Debian read :- http://debian-handbook.info/get/now/

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo