LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-03-2007, 09:00 AM   #1
DataSheet
Member
 
Registered: Apr 2006
Posts: 36

Rep: Reputation: 15
how many Primary Partitions in one IDE hard disk?


I have one IDE 18GB hard drive. I created /boot force to be primary partition and used 4GB for SWAP, / filesystems.

Now I have left 13GB free..Can I create Primary partition on that one?
I tried to create but when I created Logical volume on that, it only show 4GB maximum.

Can anybody explain please?

Data Sheet[/b]
 
Old 01-03-2007, 09:06 AM   #2
pusrob
Member
 
Registered: Jan 2006
Distribution: Gentoo
Posts: 494

Rep: Reputation: 35
Hello DataSheet!

On one single HDD you can put only 4 primary partitions, but the 4th MUST be divided to logicals. So, effectively you only can have 3 primary partitions. As I figured out on hda1 you have a linux partition, on hda2 a linux swap, and you have 13GB unallocated space. Right? If not, please specify with the hda1, hda2, hda3, etc. system your partitioning, and the desired partitioning. It will help me and the others to fully understand your current situation. Thanks

Last edited by pusrob; 01-03-2007 at 09:12 AM.
 
Old 01-03-2007, 12:21 PM   #3
DataSheet
Member
 
Registered: Apr 2006
Posts: 36

Original Poster
Rep: Reputation: 15
hda1 = /boot = 100MB
hda2 = / = 4096MB
swap = 1024MB

Now I have 1300MB(13GB) free and I made it physical Linux partion, when I create logical volume group, it gives me only 4GB maximum.


Data Sheet
 
Old 01-03-2007, 12:32 PM   #4
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
I have to step in here because it is true that a hdd can have a maximum of 4 primaries but is is also true any one of the primary can be turned into an extended partition.

If a Linux user starts partitioning a hard disk and opts for a logical partition the hda1 (or sda1) will immediately turn into an extended partition and his/her first logical partition is always at the 5th position, namelt hda5. Hda1 to hda4 are reserved primaries but a maximum of one can be an extended partition.

Don't take my owrd for it, try it with cfdisk program on any hard disk. No permanent change to the partition table unless you click "write".

If you want to see an example here is one
 
Old 01-03-2007, 02:31 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by DataSheet
hda1 = /boot = 100MB
hda2 = / = 4096MB
swap = 1024MB
Now I have 1300MB(13GB) free and I made it physical Linux partion, when I create logical volume group, it gives me only 4GB maximum.
Data Sheet
Are you trying to create a logical partition or a logical volume group? (Not the same thing)

Please post the output of fdisk -l (run as root)
 
  


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
to many partitions? (IDE: 4 primary, 3 logical) drkstr Linux - Software 13 06-14-2006 10:16 AM
Only 4 primary partitions in one disk? zhanmei Linux - Software 9 09-16-2004 06:18 AM
Hard disk + IDE-SCSI palanisaravanan Linux - Hardware 4 04-21-2004 11:05 AM
Hard Disk Partitions thenebula Linux - Newbie 8 10-24-2003 10:16 PM
Hard Disk Partitions bumsbunny Linux - Newbie 5 07-10-2001 08:10 PM


All times are GMT -5. The time now is 12:40 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