LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-20-2003, 09:22 PM   #1
ematrixxx
Member
 
Registered: Aug 2003
Posts: 70

Rep: Reputation: 15
swap


When setting up a partition with cfdisk, is the swap partition a primary or logical ?
 
Old 08-20-2003, 09:25 PM   #2
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
swap should be automatically made as a logical partition (and should probably be put somewhere near the end of your harddrive)
 
Old 08-20-2003, 09:34 PM   #3
ematrixxx
Member
 
Registered: Aug 2003
Posts: 70

Original Poster
Rep: Reputation: 15
Ok, heres what CFdisk looks like


Name Flags Part type FS type label size(MB)
------------------------------------------------------------------------------------
hda1 primary linux 10001.95
hda2 primary linux 9697.61
hda5 logical linux 304.34


[bootlable] [delete] [help] [maximize] [print] [quit] [type] [units] [write]


I want hda5 to be my swap, my friend said I need one primary part for my home directory and the other for everything else, I don't really understand this, how do I make the logical one a swap one and how do I chose which of the near 10000 mb ones to be the home and which to be the other stuff ? Very confused.
 
Old 08-20-2003, 09:42 PM   #4
ematrixxx
Member
 
Registered: Aug 2003
Posts: 70

Original Poster
Rep: Reputation: 15
/bump, anyone know ?
 
Old 08-20-2003, 09:52 PM   #5
ematrixxx
Member
 
Registered: Aug 2003
Posts: 70

Original Poster
Rep: Reputation: 15
Also, do i need to make one of them have the bootable flag, what does this do ???
 
Old 08-20-2003, 09:54 PM   #6
ematrixxx
Member
 
Registered: Aug 2003
Posts: 70

Original Poster
Rep: Reputation: 15
Ok, i made the smaller one swap,but i have primary hda1 and primary hda2 how do i make one the home directory and the other one for the other stuff ? do I make one a linux exteneded or ??? I am very confused ? Would the linux extended be the home directory or the other stuff ?
 
Old 08-20-2003, 10:05 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,736

Rep: Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753Reputation: 1753
It doesn't matter if swap is a primary partition or logical. In fact linux doesn't care what partitions it uses.

cfdisk just creates the partitions. When you get to the format step that is when you pick which partition you want to be home or swap etc.

To make things simpler just create three partitions (all primaries are ok):

swap 512 mb
/boot 50 mb
/ (root) The remaining disk space

BTW what distro are you trying to install? If trying Mandrake or RH they have auto partition selections.

Last edited by michaelk; 08-20-2003 at 10:06 PM.
 
Old 08-20-2003, 10:28 PM   #8
ematrixxx
Member
 
Registered: Aug 2003
Posts: 70

Original Poster
Rep: Reputation: 15
slackware 9.0, I got it working now, I read the manual at www.slackware.com.
 
  


Reply


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
Linux swap / solaris not appearing as swap in Ubuntu? Erik_the_Red Linux - Newbie 1 07-30-2005 12:57 PM
Swap os2 Linux - General 1 03-18-2005 08:21 PM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 01:23 AM
Difference between Swap Virtrual memory and Swap Parition Nappa Slackware 4 11-27-2003 07:58 PM
Swap punker22 Linux - Newbie 3 10-14-2003 12:27 AM


All times are GMT -5. The time now is 02:22 PM.

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