Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Suse/Novell This Forum is for the discussion of Suse Linux.


Search this Thread
Old 09-04-2013, 03:44 PM   #1
Registered: Mar 2008
Location: Pittsburgh
Distribution: openSUSE 11.4 on GoBooks
Posts: 119

Rep: Reputation: 15
increasing swap

My old laptop with just half a GB of ram will always run slowly, but can keep it from stalling/crashing if can increase its swap partition from 1.4 GB to 3.0 GB [have tested this in past, but forgot when put in new install with this suse 11.4 OS]. Below is my partition set-up, and if anyone has some idea of how to implement such a swap partition increase without full reinstall, please advise.
1 swap 1.4 GB
2 / 7.6 GB
3 /usr 16.0 GB
5 /home 10.0 GB
6 /local 3.0 GB
7 /root 4.0 GB
8 /opt 3.0 GB
9 /var 4.0 GB
10 /boot 1.0 GB
11 /srv 2.0 GB
12 /tmp 2.0 GB
13 /media 1.0 GB
14 freespace .88 GB

Obviously, the freespace and /media can totally go, but can't get the change into swap. Appreciating any hints, and even flat-out statement that can't be done is useful since will save time trying impossible task.
Old 09-04-2013, 03:58 PM   #2
Registered: Aug 2002
Posts: 12,395

Rep: Reputation: 844Reputation: 844Reputation: 844Reputation: 844Reputation: 844Reputation: 844Reputation: 844
linux can use multiple swap partitions... So

1. unmount /media, remove it from your /etc/fstab
2. expand the old /media partition to include the free space.
3. change partition ID to swap, format it as swap
4. Add another swap line to your /etc/fstab.
5. Activate it.

Last edited by michaelk; 09-04-2013 at 04:00 PM.
1 members found this post helpful.
Old 09-04-2013, 07:25 PM   #3
Registered: Mar 2008
Location: Pittsburgh
Distribution: openSUSE 11.4 on GoBooks
Posts: 119

Original Poster
Rep: Reputation: 15
thank you

Thanks a million michaelk.


partitions, swap

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Increasing Swap Space vinay_ks Linux - Newbie 13 07-13-2009 08:36 AM
About increasing Swap Size shipon_97 Linux - Newbie 2 05-29-2007 01:45 PM
Need Help Increasing Swap by creating a swap file froggo Red Hat 3 06-13-2006 09:04 AM
Increasing swap space rupesh_pulikool Linux - Networking 1 09-12-2004 11:40 PM
Increasing swap partition suneet123 Linux - Software 3 12-16-2002 04:11 PM

All times are GMT -5. The time now is 08:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration