Is it possible convert 'Primary' partition to 'Extend' partition?
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I'm using CentOS 7 mini version. I'm still learning Linux. As you may know Linux can create 4 'Primary' partitions maximum. I tried to create 4 'Primary' partitions on a physical disk. I'm curious is it possible to change a 'Primary' partition to 'Extend' partition w/o delete the partition?
Following is my fdisk output:
Disk /dev/sdb: 107.4 GB, 107374182400 bytes, 209715200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x98e83b49
Device Boot Start End Blocks Id System
/dev/sdb1 2048 52430847 26214400 83 Linux
/dev/sdb2 52430848 104859647 26214400 83 Linux
/dev/sdb3 104859648 146802687 20971520 83 Linux
/dev/sdb4 146802688 188745727 20971520 0 Empty
Any help is appreciated.
filesystems partition
add a comment |Â
up vote
1
down vote
favorite
I'm using CentOS 7 mini version. I'm still learning Linux. As you may know Linux can create 4 'Primary' partitions maximum. I tried to create 4 'Primary' partitions on a physical disk. I'm curious is it possible to change a 'Primary' partition to 'Extend' partition w/o delete the partition?
Following is my fdisk output:
Disk /dev/sdb: 107.4 GB, 107374182400 bytes, 209715200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x98e83b49
Device Boot Start End Blocks Id System
/dev/sdb1 2048 52430847 26214400 83 Linux
/dev/sdb2 52430848 104859647 26214400 83 Linux
/dev/sdb3 104859648 146802687 20971520 83 Linux
/dev/sdb4 146802688 188745727 20971520 0 Empty
Any help is appreciated.
filesystems partition
Is there anything in your âÂÂemptyâ partition 4?
â Stephen Kitt
Jul 3 at 16:43
No data. It's for testing purpose. I only created 'extend' partition 4. Not yet create any 'logical' partition.
â Wu Zheng
Jul 4 at 6:11
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm using CentOS 7 mini version. I'm still learning Linux. As you may know Linux can create 4 'Primary' partitions maximum. I tried to create 4 'Primary' partitions on a physical disk. I'm curious is it possible to change a 'Primary' partition to 'Extend' partition w/o delete the partition?
Following is my fdisk output:
Disk /dev/sdb: 107.4 GB, 107374182400 bytes, 209715200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x98e83b49
Device Boot Start End Blocks Id System
/dev/sdb1 2048 52430847 26214400 83 Linux
/dev/sdb2 52430848 104859647 26214400 83 Linux
/dev/sdb3 104859648 146802687 20971520 83 Linux
/dev/sdb4 146802688 188745727 20971520 0 Empty
Any help is appreciated.
filesystems partition
I'm using CentOS 7 mini version. I'm still learning Linux. As you may know Linux can create 4 'Primary' partitions maximum. I tried to create 4 'Primary' partitions on a physical disk. I'm curious is it possible to change a 'Primary' partition to 'Extend' partition w/o delete the partition?
Following is my fdisk output:
Disk /dev/sdb: 107.4 GB, 107374182400 bytes, 209715200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x98e83b49
Device Boot Start End Blocks Id System
/dev/sdb1 2048 52430847 26214400 83 Linux
/dev/sdb2 52430848 104859647 26214400 83 Linux
/dev/sdb3 104859648 146802687 20971520 83 Linux
/dev/sdb4 146802688 188745727 20971520 0 Empty
Any help is appreciated.
filesystems partition
asked Jul 3 at 16:42
Wu Zheng
83
83
Is there anything in your âÂÂemptyâ partition 4?
â Stephen Kitt
Jul 3 at 16:43
No data. It's for testing purpose. I only created 'extend' partition 4. Not yet create any 'logical' partition.
â Wu Zheng
Jul 4 at 6:11
add a comment |Â
Is there anything in your âÂÂemptyâ partition 4?
â Stephen Kitt
Jul 3 at 16:43
No data. It's for testing purpose. I only created 'extend' partition 4. Not yet create any 'logical' partition.
â Wu Zheng
Jul 4 at 6:11
Is there anything in your âÂÂemptyâ partition 4?
â Stephen Kitt
Jul 3 at 16:43
Is there anything in your âÂÂemptyâ partition 4?
â Stephen Kitt
Jul 3 at 16:43
No data. It's for testing purpose. I only created 'extend' partition 4. Not yet create any 'logical' partition.
â Wu Zheng
Jul 4 at 6:11
No data. It's for testing purpose. I only created 'extend' partition 4. Not yet create any 'logical' partition.
â Wu Zheng
Jul 4 at 6:11
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
No, it is not. An extended partition is simply an enumeration of logical partitions and contains no user data itself.
Any tool that purports to convert primary partitions into logical (not extended) partitions does so by moving the data before changing all the structures, since it is not as simple as simply flipping a bit to change the type.
Also, the 4-partition limit is part of the MBR partition scheme, not any particular OS; GPT supports many more partitions without any "extended" partitions, but requires a modern BIOS in order to be used (or a bootloader that can take over where the BIOS leaves off).
Actually, if there is enough room, one can rewrite the structures around the disc slices without having to relocate them. Rod Smith'sfixparts
does this. There isn't enough room in this case.
â JdeBP
Jul 3 at 17:09
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
No, it is not. An extended partition is simply an enumeration of logical partitions and contains no user data itself.
Any tool that purports to convert primary partitions into logical (not extended) partitions does so by moving the data before changing all the structures, since it is not as simple as simply flipping a bit to change the type.
Also, the 4-partition limit is part of the MBR partition scheme, not any particular OS; GPT supports many more partitions without any "extended" partitions, but requires a modern BIOS in order to be used (or a bootloader that can take over where the BIOS leaves off).
Actually, if there is enough room, one can rewrite the structures around the disc slices without having to relocate them. Rod Smith'sfixparts
does this. There isn't enough room in this case.
â JdeBP
Jul 3 at 17:09
add a comment |Â
up vote
2
down vote
accepted
No, it is not. An extended partition is simply an enumeration of logical partitions and contains no user data itself.
Any tool that purports to convert primary partitions into logical (not extended) partitions does so by moving the data before changing all the structures, since it is not as simple as simply flipping a bit to change the type.
Also, the 4-partition limit is part of the MBR partition scheme, not any particular OS; GPT supports many more partitions without any "extended" partitions, but requires a modern BIOS in order to be used (or a bootloader that can take over where the BIOS leaves off).
Actually, if there is enough room, one can rewrite the structures around the disc slices without having to relocate them. Rod Smith'sfixparts
does this. There isn't enough room in this case.
â JdeBP
Jul 3 at 17:09
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
No, it is not. An extended partition is simply an enumeration of logical partitions and contains no user data itself.
Any tool that purports to convert primary partitions into logical (not extended) partitions does so by moving the data before changing all the structures, since it is not as simple as simply flipping a bit to change the type.
Also, the 4-partition limit is part of the MBR partition scheme, not any particular OS; GPT supports many more partitions without any "extended" partitions, but requires a modern BIOS in order to be used (or a bootloader that can take over where the BIOS leaves off).
No, it is not. An extended partition is simply an enumeration of logical partitions and contains no user data itself.
Any tool that purports to convert primary partitions into logical (not extended) partitions does so by moving the data before changing all the structures, since it is not as simple as simply flipping a bit to change the type.
Also, the 4-partition limit is part of the MBR partition scheme, not any particular OS; GPT supports many more partitions without any "extended" partitions, but requires a modern BIOS in order to be used (or a bootloader that can take over where the BIOS leaves off).
answered Jul 3 at 16:51
Ignacio Vazquez-Abrams
31.9k66680
31.9k66680
Actually, if there is enough room, one can rewrite the structures around the disc slices without having to relocate them. Rod Smith'sfixparts
does this. There isn't enough room in this case.
â JdeBP
Jul 3 at 17:09
add a comment |Â
Actually, if there is enough room, one can rewrite the structures around the disc slices without having to relocate them. Rod Smith'sfixparts
does this. There isn't enough room in this case.
â JdeBP
Jul 3 at 17:09
Actually, if there is enough room, one can rewrite the structures around the disc slices without having to relocate them. Rod Smith's
fixparts
does this. There isn't enough room in this case.â JdeBP
Jul 3 at 17:09
Actually, if there is enough room, one can rewrite the structures around the disc slices without having to relocate them. Rod Smith's
fixparts
does this. There isn't enough room in this case.â JdeBP
Jul 3 at 17:09
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%2f453264%2fis-it-possible-convert-primary-partition-to-extend-partition%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
Is there anything in your âÂÂemptyâ partition 4?
â Stephen Kitt
Jul 3 at 16:43
No data. It's for testing purpose. I only created 'extend' partition 4. Not yet create any 'logical' partition.
â Wu Zheng
Jul 4 at 6:11