fdisk command
hi,
I want to clear the Fdisk command in Linux. Normally I use default disk partition during installation on my Fedora.I use fdisk and choose "n" it show ask me for PHP Code:
If I create custom partitions during installation like /dev/hda1 /dev/hda2 /dev/hda3 /dev/hda4 /dev/hda5 /dev/hda6 /dev/hda7 Now in this case If i choose "n" to create new partion ,Linux does not ask for "extended and primary " partition as I ask in if we have created default partitions by the Linux operating system. Kindly guide me. thanks garden |
Quote:
The fdisk prompt that you describe, is actually asking you what type of partition you want to create, primary or extended. |
Try cfdisk, much friendlier than fdisk.
|
I think (I know that that is dangerous ;)) that once fdisk can't make primary partitions any longer, it will not offer you the option.
This wil be the case once you've made an extended partition following a primary partition, so if
I however stand corrected. Note: an extended partition is not a 'usuable' partition; hda1, hda2 and hda3 will be usable partitions in your setup as will be hda5, hda6 etc |
thanks all for the reply. well "Wim Sturkenboom" as you said
PHP Code:
you made hda2 an extended partition If I attach an other hard disk then I will use an extended partition. you have used hda1, hda2 and hda3 for primary and hda4 for extended To make an extended partition with a single hard disk the 1st three partition should be primary and the last hda4 will be used for extended partition. thanks again for your kind help. garden |
Quote:
Quote:
|
thanks for the reply. well "Linux numbers Logical partitions starting with 5: The numbers 1,2,3 and 4 are reserved for the primaries, even if you have just one primary partition"
The question is why 1st 4 are reserved for primaries. Suppose I have a hard disk Disk /dev/hda: 64 heads, 63 sectors, 621 cylinders Units = cylinders of 4032 * 512 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 196 395104+ 83 Linux /dev/hda2 197 262 133056 82 Linux swap /dev/hda3 263 458 395136 83 Linux /dev/hda4 459 621 328608 83 Linux Are these 4 partitions are primaries ? How can I say yes ? If it is true then what is technical login that 1st 4 partitions should be primaries and then /dev/hda5 will be our logical partition by which we can create extended partitions. thanks, garden |
Quote:
Quote:
Code:
Device Boot Start End Blocks Id System |
wonderfull "tommcd" .One think more i want to clear.If I just go back to windows where normally we have one primary partition and one extended partition which keep many local partitions.
Now in Linux which is different than windows os. Here it keep upto 4 primary partition in Intel based system.If we create customize partitions like 8 partitions then in that case our 1st 4 partitions should be primary and rest of it will be extended. (if I am correct). I hope you understand my point why four primary partition in a single hard drive using Linux? thanks again for your valuable guidance, garden |
Quote:
That is what I did when I partitioned the /dev/sda hard drive on my computer that I gave as an example in my last post. The /dev/sda1-3 partitions are all primary, while the rest (/dev/sda5-6) are logical. The /dev/sda4 is the extended partition that was automatically created for the 2 logical partitions. I have some more room on that hard drive. So I can add other logical partitions after /dev/sda6 if I need them. |
All times are GMT -5. The time now is 03:01 AM. |