LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices


Reply
 
Search this Thread
Old 09-04-2013, 02:44 PM   #1
wiliamvw
Member
 
Registered: Mar 2008
Location: Pittsburgh
Distribution: openSUSE 11.4 on GoBooks
Posts: 120

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
4 EXTENDED 30.8 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, 02:58 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,749

Rep: Reputation: 983Reputation: 983Reputation: 983Reputation: 983Reputation: 983Reputation: 983Reputation: 983Reputation: 983
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 03:00 PM.
 
1 members found this post helpful.
Old 09-04-2013, 06:25 PM   #3
wiliamvw
Member
 
Registered: Mar 2008
Location: Pittsburgh
Distribution: openSUSE 11.4 on GoBooks
Posts: 120

Original Poster
Rep: Reputation: 15
thank you

Thanks a million michaelk.
 
  


Reply

Tags
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 07:36 AM
About increasing Swap Size shipon_97 Linux - Newbie 2 05-29-2007 12:45 PM
Need Help Increasing Swap by creating a swap file froggo Red Hat 3 06-13-2006 08:04 AM
Increasing swap space rupesh_pulikool Linux - Networking 1 09-12-2004 10:40 PM
Increasing swap partition suneet123 Linux - Software 3 12-16-2002 03:11 PM


All times are GMT -5. The time now is 03:49 AM.

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