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-20-2001, 10:43 AM   #1
Registered: May 2001
Location: Full-time traveler I live where I am.
Distribution: I use Red Hat V 7.1
Posts: 297

Rep: Reputation: 30
Linux put the swap partition on my second HD. Don't want it there.

When I installed linux, I chose "automatic partitioning". So linux went out to my slave HD, created a swap partition and wiped out the partition that I had been using to backup my linux stuff.

I made space, using System Commander, on my Master HD for the swap partiton (517M), and it is sitting there, empty.

I would like to delete the swap partition that is on my slave drive, and set one up on my master to take its place.

I can use System Commander to erase the partition on my slave drive and I can format the partition on my master drive as "linux swap". But I suspect it is not that simple. How do I do this without totally screwing my system up? Do I have to tell linux something, somewhere, so that it looks for the "linux swap" partition not on the slave, but on the master drive now?
Old 09-20-2001, 11:34 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 261Reputation: 261Reputation: 261
you can check out the mkswap command to create swap spaces where ever... and i am not sure why but you shouldn't need over 500 megs of space for a swap.. usually 100 megs or less is good to have.
Old 09-21-2001, 01:58 AM   #3
LQ Addict
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
You'll have to edit your fstab file to tell linux where the new swap file is. Just look for the line that has swap in it and the change the first column to the new partition.
Old 09-21-2001, 09:42 AM   #4
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Having the swap on a slave hd can be a good thing, even better is having the swap as the first partition on a slave drive because with a hd the "first" part is on the outside of the platter whereas on a CD the first part is on the inside, having a swap as the first partition on a slave means that the drive heads don't have to move much when accessing the 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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Should I put the swap partition at the beginning or the end of the drive? mpyusko Slackware - Installation 32 04-11-2011 07:07 AM
doing away with linux swap partition? kahn Linux - Hardware 3 06-26-2005 05:14 PM
Where to put swap partition mikieboy Linux - Software 3 11-25-2004 01:01 AM
Want to put my whooole 25GB linux partition on another hard drive... needs help Fear58 Linux - General 1 07-07-2004 10:05 PM
Where to put swap SBarretDolph Linux - Newbie 11 01-27-2004 01:07 AM > Forums > Linux Forums > Linux - General

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