Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


Search this Thread
Old 09-25-2006, 09:38 PM   #1
LQ Newbie
Registered: Sep 2006
Posts: 3

Rep: Reputation: 0
Swap Partition Move

I have a laptop configured as a dual boot with XP and Knoppix/Debian. Using a QParted - Live CD I did the following.

Left a 40 ms System restore partition.
Squeezed the XP NTFS Partition down to 16 GB.
Created a 16 GB ext3 Partition for my Knoppix Install.
Created a 1 GB swap File Partition.

I discovered that the swap partition was too far back. I have tried several times to move it ahead of the ext3 partition. QParted will allow me delete the swap file and it will let me resize the ext3 partition. Then I only have space following the ext3 partition. I have been unable to create any space ahead of the ext3 partition which I could use for a swap partition. Qparted will not let me enter an number in the space ahead config blank

Any ideas or suggestions?

Old 09-25-2006, 11:31 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,810

Rep: Reputation: 325Reputation: 325Reputation: 325Reputation: 325
Delete both the swap and ext3 partitions. Make the swap partition first, then make the ext3 and re-install Knoppix. If you have spend much time acquiring personal files and setting app preferences in Knoppix, make a backup of your /home/user directory before messing with the partitions. Then restore /home/user after re-installing Knoppix.
Old 09-26-2006, 06:47 AM   #3
LQ Newbie
Registered: Sep 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks. I suspected that was the only solution. My personal settings are not large but the updates that have poured into the laptop are. Who said learning has no cost?

Old 09-26-2006, 07:13 AM   #4
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,556

Rep: Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085Reputation: 1085
Originally Posted by john_2
... I discovered that the swap partition was too far back. I have tried several times to move it ahead of the ext3 partition.
What does this mean ???.
There are no limits (restrictions) in terms of swapspace placement I'm aware of.
Old 09-27-2006, 09:20 AM   #5
LQ Newbie
Registered: Sep 2006
Posts: 3

Original Poster
Rep: Reputation: 0
I am new at this. The dual boot is an experiment with a laptop that was available and there is little if any work on the laptop. I run a Samba server with debian stable and wanted to see what desktop linux was like and installing knoppix on the hard drive seemed a reasonable solution and kept me in debian.

I seemed to be getting some swap errors and have seen some directions to place the swap partion ahead of the normal ext partition. I wanted to move the partition to see if that cleared up those errors. This may be moot as the move failed with errors and I have Gibson's Spinrite program running to see how bad the errors are.



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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Move Main System from RAM to swap timothyb89 Linux - General 10 08-26-2006 04:49 PM
Move swap from SAN boot disk to local gbarnas Linux - General 3 02-21-2006 10:28 AM
Move swap partition synapse Mandriva 2 01-12-2004 07:59 AM
Partition Free Space - Move /home to the new partition gregkise Linux - General 5 12-16-2003 11:19 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 09:45 AM

All times are GMT -5. The time now is 04:25 AM.

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