LinuxQuestions.org
Review your favorite Linux distribution.
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 08-06-2003, 09:55 PM   #1
Kocil
Member
 
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209

Rep: Reputation: 31
HD partition more thatn 8


Dear all.

With my 40 MB IDE Harddisk,
I want to install Slackware + Redhat + Windows.
However, it seems that 8 partitions are not enough.

I read somewhere that IDE can have more than 8 partitions,
but couldn't find the how-to.

Please help.

Thanks.
 
Old 08-07-2003, 12:15 AM   #2
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi Kocil

I'm currently multibooting :

Slackware 9
Red Hat 9
Vector 3.2 SOHO
Mandrake 9.1
Windows 98se

across 8 partitions with no probs.

As I understand it - you can have up to 16 partitions per IDE drive
This link mentions the 16 partitions idea.

http://www.linuxplanet.com/linuxplan...orials/4269/2/
 
Old 08-07-2003, 05:35 AM   #3
Kocil
Member
 
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209

Original Poster
Rep: Reputation: 31
Oh yes.
I can make a lot of partitions in the extended partition.

LOL
I though the extended partition can contains only 4 partitions,
and we had to make another cascaded extended partition

Thanks for the answer.
 
Old 08-07-2003, 08:17 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 24,995

Rep: Reputation: 5682Reputation: 5682Reputation: 5682Reputation: 5682Reputation: 5682Reputation: 5682Reputation: 5682Reputation: 5682Reputation: 5682Reputation: 5682Reputation: 5682
AFIK

The logical drives within an extended partition are organized in a
kind of linked list and there could be a potentially unlimited
number of them if there were enough space on the disk to hold them.
Linux has to adresse devices through major and minor device numbers,
though. Major numbers select a driver, minor numbers are
interpreted by the driver. The major and minor number are limited to
8 bit each. The SCSI driver uses a few bits of the minor number to
select a SCSI device (4 bits needed due to 16 possible devs on wide
SCSI). The remaining bits can select partitions on a disk, so it is
16 partitions total per disk on SCSI, one reserved for /dev/sd?,
leaves you with 15 useable partitions altogether (4 of them
primary).

Is this still true?
On IDE hardware there can be only 4 devices, leaving 6 bits for
partition adressing, 63 of them useable (4 of them primary).


Last edited by michaelk; 08-07-2003 at 08:19 AM.
 
Old 08-07-2003, 10:50 AM   #5
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi Kocil

It's 4 primary partitions per IDE drive - however - the 4th primary partition can be made as an extended partition containing logical drives - that's were we get our larger number of partitions from.

Mike - according to the article from LinuxPlanet that I linked to before - the 16 partitions are arranged as

3 Primary - partitions 1-3
1 Extended - partition 4 - logical drives within partition 4 number 5-16

so your actually only really getting 15 partitions per drive namely 1-3 as primary and 5-16 as logical.

Last edited by Skyline; 08-07-2003 at 10:51 AM.
 
Old 08-07-2003, 12:02 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 24,995

Rep: Reputation: 5682Reputation: 5682Reputation: 5682Reputation: 5682Reputation: 5682Reputation: 5682Reputation: 5682Reputation: 5682Reputation: 5682Reputation: 5682Reputation: 5682
Skyline
I agree with you but was just tossing in some additional (useless?) info. Just commenting that the max number of logicals is a linux OS limit and not hardware.
 
  


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
Copy files from partition to partition too slow, SATA hard disk.What should I do£¿ Ryanlee SUSE / openSUSE 20 10-31-2005 08:30 AM
Deleted ntfs partition - added linux partition in its place - corrupt! eklhad Linux From Scratch 2 06-28-2005 02:31 AM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 01:55 PM
What is the code to copy a file from my windows partition to my linux partition? THEBIGFISH Linux - Newbie 3 03-15-2004 11:14 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 09:45 AM

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

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