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.
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).
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?
Re: How to bypass the 4-partitions limit?
Quote:
Originally Posted by
MarcelloSav
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
Ok thanks!
Is my actual 32-bit home compatible with the 64-bit Ubuntu?
Since it's only configuration files, it should be.
Re: How to bypass the 4-partitions limit?
I think Ubuntu installs the appropriate kernel automatically.
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.)
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?
Re: How to bypass the 4-partitions limit?
Quote:
Originally Posted by
MarcelloSav
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
Re: How to bypass the 4-partitions limit?
Quote:
Originally Posted by
flaggh
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. ;)
Re: How to bypass the 4-partitions limit?
Quote:
Originally Posted by
MarcelloSav
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.