Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 19
Why are Linux drive numbers skipped when extended partitions are used. This is a bad example of a hard drive but it is clear to what I'm asking....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie theKbStockpiler's Avatar
    Join Date
    Sep 2010
    Location
    Upstate NY
    Posts
    205

    Logical drive numbering


    Why are Linux drive numbers skipped when extended partitions are used.

    This is a bad example of a hard drive but it is clear to what I'm asking.
    Attached Images Attached Images

  2. #2
    Linux User sgosnell's Avatar
    Join Date
    Oct 2010
    Location
    Baja Oklahoma
    Posts
    438
    The limit on the number of primary partitions is 4, and all partitions numbered 1 through 4 are primary partitions. Logical partition numbers start at 5. Any time you see a partition number of 5 or larger, you know it's a logical partition. If the number is 4 or smaller, it's a primary partition.

  3. #3
    Linux Newbie theKbStockpiler's Avatar
    Join Date
    Sep 2010
    Location
    Upstate NY
    Posts
    205

    Red face Thanks for the Reply. I love your helicopter by the way.

    I can't find a solid explanation of the (missing drive numbers). I could understand if the first primary drive which is the only primary drive used all of the numbers 1-4 but the extended partition gets number 2. Partitions 3 and 4 are unaccounted for.

  4. #4
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    It's because an extended partition is, in fact, a primary partition.
    In your screenshot, I see sda1. Then there is sda2 as a primary... formated to be extended.
    As mentioned above, extended partitions start at 5.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  5. #5
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Quote Originally Posted by theKbStockpiler View Post
    Partitions 3 and 4 are unaccounted for.
    Partition numbers 1 through 4 are reserved for primary partitions.

    Check the fdisk manual page for more info on partition numbering:

    Code:
    man fdisk

    Quoted from the manual page:

    The four primary partitions, present or not, get numbers 1-4. Logical partitions start numbering from 5.
    oz

  6. #6
    Linux Newbie theKbStockpiler's Avatar
    Join Date
    Sep 2010
    Location
    Upstate NY
    Posts
    205

    Smile Thanks for all the Replies!

    Thanks for the narrowing it down , five and up logical partition that are part of a extended partition. I have the basics down but am still vague on most of it. Why is it possible to create an extended partition and then make a primary partition within that? What differene does it make other than how the MBR can store the data?
    Attached Images Attached Images

  7. #7
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Why is it possible to create an extended partition and then make a primary partition within that?
    The short answer... Since the extended partition is a primary, then all partitions within it are primary, as well.
    I'm sure that there is a longer, more technical way to explain it, but there ya go
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  8. #8
    Linux Newbie theKbStockpiler's Avatar
    Join Date
    Sep 2010
    Location
    Upstate NY
    Posts
    205

    I don't get enough sleep amongst other things.

    Gparted will only create a logical partitian within a Extended partition. I will add to this later or repost.

  9. #9
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    You're not doing anything wrong.
    That's all you're gonna get in an Extended partition.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  10. #10
    Linux User sgosnell's Avatar
    Join Date
    Oct 2010
    Location
    Baja Oklahoma
    Posts
    438
    Why is it possible to create an extended partition and then make a primary partition within that?
    It's not possible to do that. The partitions inside an extended partition are logical partitions, and never primary.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •