UNSOLVED

giddaymate

updated

19 years ago

0

8602

May 20th, 2007 02:00

Does Linux need primary partitions?

When I run the Ubuntu installer, it tells me i need to create 2 partitions (one for file system, one for linux swap file). And the file system must be in a Primary partition.

The problem is may PC already has 3 Primary partitions (Dell utility, System recovery, NTFS with Vista), and 4 is max.

What should I do? (I gather an extended partition is not bootable.)

ps. I stupidly tried to assign the NTFS Vista partition for the linux swap file, and now I have a system that will not boot! see my separate post if u can help with this!!
  • sl956

    7 Posts

    238

    0

    Posted May 20th, 2007 04:00

    Hello Giddaymate,

    You're not the first one to be bitten by that &#$#%$& policy of allocating 3 (!) primary partitions for one OS.

    Here is the fish you needed:
    To get around the 4 primary partition limit, you need to create an extended partition. You can then create several (up to 16, I think) logical partitions. For example, you can have 3 primary partitions and one extended that supports several logical partitions. All the logical partitions must occupy a continuous block of disk space. The extended partition is named like other partitions sda1, sda2.... but isn't really a storage partition except to store other logical partitions. Linux does not care if it is on a logical or primary partition.

    Now, here is a fishing rod:
    The people who will help you on that kind of questions are member of the community more than Dell employees. So you would probably have quicker answers by asking those questions where the community is for now, namely http://ubuntuforums.org/

    And here is even a fishing net:
    If you google for:
    ubuntu on dell primary partition site:ubuntuforums.org
    the first result you will get is:
    http://ubuntuforums.org/showthread.php?t=299802&page=4
    On that page, this comment looks exactly like your question:
    http://ubuntuforums.org/showpost.php?s=73183d696f809bc8e15e409ce9d673a9&p=2079310&postcount=36
    and the following one... is the answer I cut and pasted above.

    Happy fishing. :)
    --
    Sam Lee
  • 238

    0

    Posted May 22nd, 2007 20:00

    Thanks for the info.  I have created some logical partitions now, and all is well - after reformatting :smileyindifferent:.
    Was fooled by reading somehwere that logical partitions are not bootable - I guess this is not an issue because the boot record is not in this partition (?).
  • malste

    2 Posts

    238

    0

    Posted May 27th, 2007 00:00

    When partitioning your IDE hard disk, note the following:

    A hard disk can contain a maximum of 4 primary partitions.

    A hard disk can contain only 1 extended partition.

    An extended partition is treated as a primary partition.

    An extended partition must be filled with logical partitions.

    An extended partition can contain many logical partitions.