Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

Thread: How to bypass the 4-partitions limit?

  1. #1
    Join Date
    Jan 2008
    Beans
    18

    How to bypass the 4-partitions limit?

    Hello guys,
    I have got a MacBook with MacOS and Ubuntu 7.10 .
    Now, since I had problems with upgrade to 8.04, I'd like to separate home and root partitions, but I know that there is a limit of 4 partitions.
    I obviously have one partition for Efi, one partition for MacOS, one for Linux and one for swap.
    Now, is there a way for bypassing this limit?

    Thanks for your replies and forgive my bad english.

    Marcello.

  2. #2
    Join Date
    Feb 2007
    Beans
    2,339
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to bypass the 4-partitions limit?

    Create an extended partition, install the linux inside it. You can create a large number of logical partitions inside an extended partition (not sure the limit, but definitely more than you will ever need).

  3. #3
    Join Date
    Jan 2008
    Beans
    18

    Re: How to bypass the 4-partitions limit?

    Ok thanks!
    I have another little question, but I think that it's better to go OT here instead of opening another thread...
    Is my actual 32-bit home compatible with the 64-bit Ubuntu?

  4. #4
    Join Date
    Oct 2004
    Location
    Kingston, On
    Beans
    Hidden!

    Re: How to bypass the 4-partitions limit?

    Quote Originally Posted by MarcelloSav View Post
    Hello guys,
    I have got a MacBook with MacOS and Ubuntu 7.10 .
    Now, since I had problems with upgrade to 8.04, I'd like to separate home and root partitions, but I know that there is a limit of 4 partitions.
    Does a MacBook use a dos partition table with the 4 primary partition limit or does it use a mac partition table?

    Quote Originally Posted by MarcelloSav View Post
    Ok thanks!

    Is my actual 32-bit home compatible with the 64-bit Ubuntu?
    Since it's only configuration files, it should be.
    I lost a "z". Anyone seen it around here?

  5. #5
    Join Date
    Aug 2007
    Beans
    197

    Re: How to bypass the 4-partitions limit?

    I think Ubuntu installs the appropriate kernel automatically.

  6. #6
    Join Date
    Aug 2005
    Location
    Huntsville, AL, USA
    Beans
    7,526
    Distro
    Ubuntu

    Re: How to bypass the 4-partitions limit?

    Macs do not have the ability to create extended / logical partitions. They have a GPT formatted disc which actually allows for a very large number of partitions beyond 4 and does not require anything like that.

    However, the 4 partition "limit" is a limitation of the emulated MBR partition table and is always the first 4 partitions in your GPT. The problem is that you have incorrectly assumed that you can only use those first 4 partitions. It is only required that the partition containing the bootloader is installed in one of the first 4 partitions as well as windows, and any partitions that you want windows to be able to access. Other partitions have no issues being beyond #4. (This actually includes OSX itself.)

    basically... create your root partition as one of the first 4, and you can put the swap and home partitions wherever you like and they will work fine. (Once the kernel is loaded, Linux can access the GPT and see all the partitions on the disc.)

  7. #7
    Join Date
    Jan 2008
    Beans
    18

    Re: How to bypass the 4-partitions limit?

    So if I split the actual linux partition in two, my swap partition will be the last partition, #5, I will not have any kind of problem?

  8. #8
    Join Date
    Oct 2007
    Location
    Hollyweird, CA
    Beans
    197
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: How to bypass the 4-partitions limit?

    Quote Originally Posted by MarcelloSav View Post
    So if I split the actual linux partition in two, my swap partition will be the last partition, #5, I will not have any kind of problem?
    I would not bother with a swap partition. A swap file on your root partition will be just as effective. Read the Swap FAQ for more information and instructions on creating a swap file:
    https://help.ubuntu.com/community/SwapFaq

  9. #9
    Join Date
    Jan 2008
    Beans
    18

    Re: How to bypass the 4-partitions limit?

    Quote Originally Posted by flaggh View Post
    I would not bother with a swap partition. A swap file on your root partition will be just as effective. Read the Swap FAQ for more information and instructions on creating a swap file:
    https://help.ubuntu.com/community/SwapFaq
    Oh it's really interesting! I didn't know that... But since there is no problem in creating a new partition, deleting the swap partition right now is useless for me. Thanks for the news.

  10. #10
    Join Date
    Aug 2005
    Location
    Huntsville, AL, USA
    Beans
    7,526
    Distro
    Ubuntu

    Re: How to bypass the 4-partitions limit?

    Quote Originally Posted by MarcelloSav View Post
    So if I split the actual linux partition in two, my swap partition will be the last partition, #5, I will not have any kind of problem?
    nope.

Page 1 of 4 123 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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