When do logical partitions happen to need 1MB gap at each side in gparted?
Clash Royale CLAN TAG#URR8PPP
up vote
4
down vote
favorite
I had a similar problem with this one: Why can't I create a logical partition with gparted
?, where a logical partition cannot be created/formatted. Only in my case I was in a live session and it still didn't work.
The error happened during the installation of Solus Linux where the installer should have formatted a Linux system partition and install the Solus. (I had two Linux systems and a swap space inside an extended partition and wanted to replace one of the two with Solus.) After it failed, that partition was first deleted in gparted (live session) but then the same tool could not re-format the space to create a new partition.
That is until I did what the answer under the linked question said: leave 1MB before and after the new logical partition and set align to 'none'.
Then everything worked fine: the new logical partition was created in gparted and during the installation of Solus Linux even the installer was able to format again the same partition.
What the two 1MB gaps may signify? What does "align" mean?
partition ext4 gparted
add a comment |Â
up vote
4
down vote
favorite
I had a similar problem with this one: Why can't I create a logical partition with gparted
?, where a logical partition cannot be created/formatted. Only in my case I was in a live session and it still didn't work.
The error happened during the installation of Solus Linux where the installer should have formatted a Linux system partition and install the Solus. (I had two Linux systems and a swap space inside an extended partition and wanted to replace one of the two with Solus.) After it failed, that partition was first deleted in gparted (live session) but then the same tool could not re-format the space to create a new partition.
That is until I did what the answer under the linked question said: leave 1MB before and after the new logical partition and set align to 'none'.
Then everything worked fine: the new logical partition was created in gparted and during the installation of Solus Linux even the installer was able to format again the same partition.
What the two 1MB gaps may signify? What does "align" mean?
partition ext4 gparted
1
Read up on 4k sector alignment for example here linuxquestions.org/questions/slackware-14/â¦
â ajeh
Apr 19 at 16:53
4k does not explain why a 1MB gap is needed.
â Johan Myréen
Apr 19 at 17:32
Are you using an MS-DOS partition table? That might...or might not...help us out...
â 0xSheepdog
Apr 19 at 18:13
@oxsheepdog - yes. that's why i need the extended partition. I already have a windows partition, a large ntfs for depositing stuff: and I wanted two linux ones and a swap; that's 5 partitions, more than ms-dos partitioning can handle; true?
â cipricus
Apr 19 at 20:15
add a comment |Â
up vote
4
down vote
favorite
up vote
4
down vote
favorite
I had a similar problem with this one: Why can't I create a logical partition with gparted
?, where a logical partition cannot be created/formatted. Only in my case I was in a live session and it still didn't work.
The error happened during the installation of Solus Linux where the installer should have formatted a Linux system partition and install the Solus. (I had two Linux systems and a swap space inside an extended partition and wanted to replace one of the two with Solus.) After it failed, that partition was first deleted in gparted (live session) but then the same tool could not re-format the space to create a new partition.
That is until I did what the answer under the linked question said: leave 1MB before and after the new logical partition and set align to 'none'.
Then everything worked fine: the new logical partition was created in gparted and during the installation of Solus Linux even the installer was able to format again the same partition.
What the two 1MB gaps may signify? What does "align" mean?
partition ext4 gparted
I had a similar problem with this one: Why can't I create a logical partition with gparted
?, where a logical partition cannot be created/formatted. Only in my case I was in a live session and it still didn't work.
The error happened during the installation of Solus Linux where the installer should have formatted a Linux system partition and install the Solus. (I had two Linux systems and a swap space inside an extended partition and wanted to replace one of the two with Solus.) After it failed, that partition was first deleted in gparted (live session) but then the same tool could not re-format the space to create a new partition.
That is until I did what the answer under the linked question said: leave 1MB before and after the new logical partition and set align to 'none'.
Then everything worked fine: the new logical partition was created in gparted and during the installation of Solus Linux even the installer was able to format again the same partition.
What the two 1MB gaps may signify? What does "align" mean?
partition ext4 gparted
edited Apr 19 at 17:14
asked Apr 19 at 16:31
cipricus
2,525850121
2,525850121
1
Read up on 4k sector alignment for example here linuxquestions.org/questions/slackware-14/â¦
â ajeh
Apr 19 at 16:53
4k does not explain why a 1MB gap is needed.
â Johan Myréen
Apr 19 at 17:32
Are you using an MS-DOS partition table? That might...or might not...help us out...
â 0xSheepdog
Apr 19 at 18:13
@oxsheepdog - yes. that's why i need the extended partition. I already have a windows partition, a large ntfs for depositing stuff: and I wanted two linux ones and a swap; that's 5 partitions, more than ms-dos partitioning can handle; true?
â cipricus
Apr 19 at 20:15
add a comment |Â
1
Read up on 4k sector alignment for example here linuxquestions.org/questions/slackware-14/â¦
â ajeh
Apr 19 at 16:53
4k does not explain why a 1MB gap is needed.
â Johan Myréen
Apr 19 at 17:32
Are you using an MS-DOS partition table? That might...or might not...help us out...
â 0xSheepdog
Apr 19 at 18:13
@oxsheepdog - yes. that's why i need the extended partition. I already have a windows partition, a large ntfs for depositing stuff: and I wanted two linux ones and a swap; that's 5 partitions, more than ms-dos partitioning can handle; true?
â cipricus
Apr 19 at 20:15
1
1
Read up on 4k sector alignment for example here linuxquestions.org/questions/slackware-14/â¦
â ajeh
Apr 19 at 16:53
Read up on 4k sector alignment for example here linuxquestions.org/questions/slackware-14/â¦
â ajeh
Apr 19 at 16:53
4k does not explain why a 1MB gap is needed.
â Johan Myréen
Apr 19 at 17:32
4k does not explain why a 1MB gap is needed.
â Johan Myréen
Apr 19 at 17:32
Are you using an MS-DOS partition table? That might...or might not...help us out...
â 0xSheepdog
Apr 19 at 18:13
Are you using an MS-DOS partition table? That might...or might not...help us out...
â 0xSheepdog
Apr 19 at 18:13
@oxsheepdog - yes. that's why i need the extended partition. I already have a windows partition, a large ntfs for depositing stuff: and I wanted two linux ones and a swap; that's 5 partitions, more than ms-dos partitioning can handle; true?
â cipricus
Apr 19 at 20:15
@oxsheepdog - yes. that's why i need the extended partition. I already have a windows partition, a large ntfs for depositing stuff: and I wanted two linux ones and a swap; that's 5 partitions, more than ms-dos partitioning can handle; true?
â cipricus
Apr 19 at 20:15
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
The Master Boot Record partition table, aka the MS-DOS partition table, allows you to create 4 primary partitions. One of these partitions can be designated as an extended partition, which can then be subdivided further.
This extended partition contains within it a linked list of partition tables, allowing an arbitrary number of partitions. Each of these partition tables defines one extended partition and contains the address of the next extended partition table. This data requires a single sector (512b) to store on disk.
Modern partitioning tools like gparted will enforce 1MB (2048 sector) data alignment - this is the 'align' parameter that you ask about. This is done to improve performance. Paritioning tools will leave a gap of 2047 sectors between the partition table and the start of the data to create this alignment; this explains the 1MB gap.
Many partition tools allow you to disable, or change, this alignment requirement, which you did in your case by setting 'align' to 'none'.
More details and pretty pictures available on the Wikipedia page for Extended Boot Records: https://en.wikipedia.org/wiki/Extended_boot_record.
but how is this in accord with what happened? 1. no 1MB gap was created automatically: that was done manually in order to avoid error and create a logical partition; 2. the 'none' align setting seems also a condition to avoid that error
â cipricus
Apr 23 at 20:48
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
The Master Boot Record partition table, aka the MS-DOS partition table, allows you to create 4 primary partitions. One of these partitions can be designated as an extended partition, which can then be subdivided further.
This extended partition contains within it a linked list of partition tables, allowing an arbitrary number of partitions. Each of these partition tables defines one extended partition and contains the address of the next extended partition table. This data requires a single sector (512b) to store on disk.
Modern partitioning tools like gparted will enforce 1MB (2048 sector) data alignment - this is the 'align' parameter that you ask about. This is done to improve performance. Paritioning tools will leave a gap of 2047 sectors between the partition table and the start of the data to create this alignment; this explains the 1MB gap.
Many partition tools allow you to disable, or change, this alignment requirement, which you did in your case by setting 'align' to 'none'.
More details and pretty pictures available on the Wikipedia page for Extended Boot Records: https://en.wikipedia.org/wiki/Extended_boot_record.
but how is this in accord with what happened? 1. no 1MB gap was created automatically: that was done manually in order to avoid error and create a logical partition; 2. the 'none' align setting seems also a condition to avoid that error
â cipricus
Apr 23 at 20:48
add a comment |Â
up vote
0
down vote
The Master Boot Record partition table, aka the MS-DOS partition table, allows you to create 4 primary partitions. One of these partitions can be designated as an extended partition, which can then be subdivided further.
This extended partition contains within it a linked list of partition tables, allowing an arbitrary number of partitions. Each of these partition tables defines one extended partition and contains the address of the next extended partition table. This data requires a single sector (512b) to store on disk.
Modern partitioning tools like gparted will enforce 1MB (2048 sector) data alignment - this is the 'align' parameter that you ask about. This is done to improve performance. Paritioning tools will leave a gap of 2047 sectors between the partition table and the start of the data to create this alignment; this explains the 1MB gap.
Many partition tools allow you to disable, or change, this alignment requirement, which you did in your case by setting 'align' to 'none'.
More details and pretty pictures available on the Wikipedia page for Extended Boot Records: https://en.wikipedia.org/wiki/Extended_boot_record.
but how is this in accord with what happened? 1. no 1MB gap was created automatically: that was done manually in order to avoid error and create a logical partition; 2. the 'none' align setting seems also a condition to avoid that error
â cipricus
Apr 23 at 20:48
add a comment |Â
up vote
0
down vote
up vote
0
down vote
The Master Boot Record partition table, aka the MS-DOS partition table, allows you to create 4 primary partitions. One of these partitions can be designated as an extended partition, which can then be subdivided further.
This extended partition contains within it a linked list of partition tables, allowing an arbitrary number of partitions. Each of these partition tables defines one extended partition and contains the address of the next extended partition table. This data requires a single sector (512b) to store on disk.
Modern partitioning tools like gparted will enforce 1MB (2048 sector) data alignment - this is the 'align' parameter that you ask about. This is done to improve performance. Paritioning tools will leave a gap of 2047 sectors between the partition table and the start of the data to create this alignment; this explains the 1MB gap.
Many partition tools allow you to disable, or change, this alignment requirement, which you did in your case by setting 'align' to 'none'.
More details and pretty pictures available on the Wikipedia page for Extended Boot Records: https://en.wikipedia.org/wiki/Extended_boot_record.
The Master Boot Record partition table, aka the MS-DOS partition table, allows you to create 4 primary partitions. One of these partitions can be designated as an extended partition, which can then be subdivided further.
This extended partition contains within it a linked list of partition tables, allowing an arbitrary number of partitions. Each of these partition tables defines one extended partition and contains the address of the next extended partition table. This data requires a single sector (512b) to store on disk.
Modern partitioning tools like gparted will enforce 1MB (2048 sector) data alignment - this is the 'align' parameter that you ask about. This is done to improve performance. Paritioning tools will leave a gap of 2047 sectors between the partition table and the start of the data to create this alignment; this explains the 1MB gap.
Many partition tools allow you to disable, or change, this alignment requirement, which you did in your case by setting 'align' to 'none'.
More details and pretty pictures available on the Wikipedia page for Extended Boot Records: https://en.wikipedia.org/wiki/Extended_boot_record.
answered Apr 23 at 19:07
Harald
1011
1011
but how is this in accord with what happened? 1. no 1MB gap was created automatically: that was done manually in order to avoid error and create a logical partition; 2. the 'none' align setting seems also a condition to avoid that error
â cipricus
Apr 23 at 20:48
add a comment |Â
but how is this in accord with what happened? 1. no 1MB gap was created automatically: that was done manually in order to avoid error and create a logical partition; 2. the 'none' align setting seems also a condition to avoid that error
â cipricus
Apr 23 at 20:48
but how is this in accord with what happened? 1. no 1MB gap was created automatically: that was done manually in order to avoid error and create a logical partition; 2. the 'none' align setting seems also a condition to avoid that error
â cipricus
Apr 23 at 20:48
but how is this in accord with what happened? 1. no 1MB gap was created automatically: that was done manually in order to avoid error and create a logical partition; 2. the 'none' align setting seems also a condition to avoid that error
â cipricus
Apr 23 at 20:48
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f438773%2fwhen-do-logical-partitions-happen-to-need-1mb-gap-at-each-side-in-gparted%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
Read up on 4k sector alignment for example here linuxquestions.org/questions/slackware-14/â¦
â ajeh
Apr 19 at 16:53
4k does not explain why a 1MB gap is needed.
â Johan Myréen
Apr 19 at 17:32
Are you using an MS-DOS partition table? That might...or might not...help us out...
â 0xSheepdog
Apr 19 at 18:13
@oxsheepdog - yes. that's why i need the extended partition. I already have a windows partition, a large ntfs for depositing stuff: and I wanted two linux ones and a swap; that's 5 partitions, more than ms-dos partitioning can handle; true?
â cipricus
Apr 19 at 20:15