LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-11-2006, 08:34 PM   #1
ErrorBound
Member
 
Registered: Apr 2006
Posts: 280

Rep: Reputation: 31
Qtparted -- resize swap?


Is it possible to resize the swap partition using qtparted or a similar tool? Has anyone tried this before?
 
Old 05-11-2006, 09:14 PM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
The advantage of a swap partition is that you don't need to preserve the data on it.

After you resized it, initialize it with mkswap and start to use it with swapon.

However, when you start resizing, you should make sure the current swap partition is not being used by the kernel. The safest way is to boot from a live distro, but I think (to warranty!) that you could refrain the swap partition from mounting by commenting out the appropriate line in /etc/fstab and reboot.

jlinkels
 
  


Reply



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
QTparted NTFS resize issue rebelscum Linux - Software 3 02-22-2007 10:20 AM
What is safer and better to resize partitions QTparted or SuSE Partioner cheetahman SUSE / openSUSE 20 07-05-2005 03:18 PM
qtparted resize greyed out (I booted with Knoppix CD) kcoombes Linux - Software 2 02-11-2005 12:19 AM
ReiserFS Resize, QTParted & SystemRescue Live CD Aeiri Linux - Software 1 07-19-2004 08:13 PM
QTparted under Knoppix won't resize ext3 slackist Linux - General 1 06-05-2004 10:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:50 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
Open Source Consulting | Domain Registration