On Tue, 25 May 1999, [EMAIL PROTECTED] wrote:
> I am quite confuse with the PC hard disk partition.
It's quite confusing until you figure out what it's doing. I'm still
not understanding how dos/win names partitions :-)
> 1. PC HD can have only 4 primary partiton, but unlimited extended
> partition?
There may only be four partitions on an IDE drive. These are the
primary partitions. To get around the four partition limit, you can
make one of the primary partitions into an extended partition.
Within this extended partition you create logical partitions. To the
BIOS (and early versions of DOS) these logical partitions do not exist,
they're just one big primary partition.
So if you have 2 primary partitions, 1 extended partition, and 3
logical partitions, the BIOS sees only 3 partitions, but Linux or
Windows sees 5 partitions. The extended partition is not seen since it
is only there to hold the logical partitions.
> 2. In Dos/Windows fdisk, I am able to create Primary and extended
> partition, but the extended partition show in Dos/Windows fdisk is same
> with the linux extended partition?
It should be the same partition. Write down the sector start and end
assigned to it in DOS fdisk, and check that they're the same in Linux
fdisk.
> 3. If I already use up two partition for my Windows system, am I able
> to create another three partition(1 for linux system, 1 for user data, 1
> for swap) for linux since PC HD support only 4 primary partition.
Yes, but two of them need to be logical partitions:
hda1 <primary> - windows C:
hda2 <primary> - windows D:
hda3 <primary> - linux /
hda4 <extended> - not seen by anything but fdisk
hda5 <logical> - linux /usr
hda6 <logical> - linux swap
> 4. max size for linux swap partition is 16, and max no of linux swap
> partiton is 8. Kernal 2.0 and 2.2 still having this limit?
I'm not sure what the 2.2 limit is, but 2.0 has a limit of 128Megs.
--
Arandir...
_______________________________
<http://www.meer.net/~arandir/>