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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-20-2003, 10:22 PM
|
#1
|
Member
Registered: Aug 2003
Posts: 70
Rep:
|
swap
When setting up a partition with cfdisk, is the swap partition a primary or logical ?
|
|
|
08-20-2003, 10:25 PM
|
#2
|
Member
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987
Rep:
|
swap should be automatically made as a logical partition (and should probably be put somewhere near the end of your harddrive)
|
|
|
08-20-2003, 10:34 PM
|
#3
|
Member
Registered: Aug 2003
Posts: 70
Original Poster
Rep:
|
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.
|
|
|
08-20-2003, 10:42 PM
|
#4
|
Member
Registered: Aug 2003
Posts: 70
Original Poster
Rep:
|
/bump, anyone know ?
|
|
|
08-20-2003, 10:52 PM
|
#5
|
Member
Registered: Aug 2003
Posts: 70
Original Poster
Rep:
|
Also, do i need to make one of them have the bootable flag, what does this do ???
|
|
|
08-20-2003, 10:54 PM
|
#6
|
Member
Registered: Aug 2003
Posts: 70
Original Poster
Rep:
|
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 ?
|
|
|
08-20-2003, 11:05 PM
|
#7
|
Moderator
Registered: Aug 2002
Posts: 26,462
|
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 11:06 PM.
|
|
|
08-20-2003, 11:28 PM
|
#8
|
Member
Registered: Aug 2003
Posts: 70
Original Poster
Rep:
|
slackware 9.0, I got it working now, I read the manual at www.slackware.com.
|
|
|
All times are GMT -5. The time now is 06:04 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|