LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-22-2008, 10:05 AM   #1
tekmann33
Member
 
Registered: Nov 2006
Posts: 188

Rep: Reputation: 30
Disk Partitioning Question


I am running Fedora 8 on a scsi drive and I want to create 4 primary partitions on my server:

/boot
/
/var
swap

I am using the GUI interface on Disk Druid to do this. I can create the three partitions with no problem, however when I get to swap, the interface automatically declates the last partition as an extended partition, even though I select the box "Force to be primary partition"


I understand the basic concept of primary and extended partitions, so it is my understanding that one could have a maximum of 4 primary paritions and then have the last primary partition contain a number of logical partitions.

Is it possible to just create 4 primary partitions without any extended/logical partitions?
 
Old 02-22-2008, 10:19 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Absolutely - dunno what's wrong with the tool, though - try {c,s,}fdisk.
 
Old 02-22-2008, 01:28 PM   #3
tekmann33
Member
 
Registered: Nov 2006
Posts: 188

Original Poster
Rep: Reputation: 30
fdisk seemed to create the last primary partition with no problem.

Thanks
 
Old 02-22-2008, 02:03 PM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Welcome.
 
Old 02-22-2008, 02:26 PM   #5
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Just as a note if you (or somebody else reading this) wonders: you do not need to have the partitions be primary if you're installing Linux on them. They can well be extended, and it's no problem. It's only Windows that wants to sit in a primary partition (and preferrably the first one, if I'm not mistaken); actually I don't get why nowadays we still have "primary" and "extended" partitions, as physically we could probably have only one sort of ("primary" if you like) partitions and live with it.
 
Old 02-22-2008, 09:17 PM   #6
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
It's not just Windows - the BSDs (or at least FreeBSD <= 6) also demand a primary partition in which they make their 'slices'. As far as the continued existence of the distinction, it's still being backwardly compatible to hardware limitations, AFAIK - the structure of the MBR only has space for four. May be different for 64-bit machines and is different for completely different architectures. *shrug* Only thing about it that bothers me is that extended partitions start numbering at 5.
 
  


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
Help disk partitioning claudiudpb Linux - General 4 06-14-2007 10:19 AM
Disk partitioning. santhosh23 Linux - Hardware 5 11-29-2006 03:11 PM
need help partitioning my disk yellowbus Linux - Software 3 02-03-2006 10:53 PM
disk re-partitioning..... yanger Linux - General 2 08-29-2005 11:21 PM
Disk partitioning using Redhat question vijaykiran Linux - Software 4 05-31-2004 09:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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