How to enlarge Windows 10 EFI partition











up vote
5
down vote

favorite
3












My system currently has this partition setup:
enter image description here



I would like to enlarge /dev/sdb2, the EFI System Partition, to 500MB.



The problem is that I do not want to delete the Windows Recovery Partition (/dev/sdb1) and I do not know how to move the unallocated space after /dev/sdb4 to be adjacent to /dev/sdb2.



Using Linux, I can move the /dev/sdb4 partition to the right by 400MB, but then I cannot move the MSR (/dev/sdb3) as it is of unknown format.



Using Windows, I cannot move the Windows10 partition, and by the way the MSR partition seems hidden so I cannot act on it.



So I'm stuck with only 100MB of EFI partition which is totally insufficient for multiple kernels.










share|improve this question






















  • 1. Backup. 2. What about to create a partition at the end of /sdb5 and use directly that one? You can always re-format the unknown partition when you are sure that it is not in use... 3. Backup. 4. Backup...
    – Hastur
    Jul 30 '16 at 21:23












  • @Hastur the unknown partition is Microsoft's MSR and I'd like it to stay untouched. I don't use Windows much but I do not want to mess it up. So you are basically suggesting to move the EFI partition to the 400MB space I previously created? Will this mess with the BIOS (some data of which is also contained in the EFI) or Windows? Do I have to edit some Windows config for this? As for Linux, I know it's not a problem.
    – AF7
    Aug 1 '16 at 6:48










  • I meant inside /sdb5... (faster) from the end if it is allowed...
    – Hastur
    Aug 1 '16 at 7:39












  • @Hastur Sorry, I do not understand. Could you please elaborate?
    – AF7
    Aug 1 '16 at 9:33










  • Sorry elaboration idea. About grub. From mobile (+holyday) I cannot more :)
    – Hastur
    Aug 1 '16 at 10:25















up vote
5
down vote

favorite
3












My system currently has this partition setup:
enter image description here



I would like to enlarge /dev/sdb2, the EFI System Partition, to 500MB.



The problem is that I do not want to delete the Windows Recovery Partition (/dev/sdb1) and I do not know how to move the unallocated space after /dev/sdb4 to be adjacent to /dev/sdb2.



Using Linux, I can move the /dev/sdb4 partition to the right by 400MB, but then I cannot move the MSR (/dev/sdb3) as it is of unknown format.



Using Windows, I cannot move the Windows10 partition, and by the way the MSR partition seems hidden so I cannot act on it.



So I'm stuck with only 100MB of EFI partition which is totally insufficient for multiple kernels.










share|improve this question






















  • 1. Backup. 2. What about to create a partition at the end of /sdb5 and use directly that one? You can always re-format the unknown partition when you are sure that it is not in use... 3. Backup. 4. Backup...
    – Hastur
    Jul 30 '16 at 21:23












  • @Hastur the unknown partition is Microsoft's MSR and I'd like it to stay untouched. I don't use Windows much but I do not want to mess it up. So you are basically suggesting to move the EFI partition to the 400MB space I previously created? Will this mess with the BIOS (some data of which is also contained in the EFI) or Windows? Do I have to edit some Windows config for this? As for Linux, I know it's not a problem.
    – AF7
    Aug 1 '16 at 6:48










  • I meant inside /sdb5... (faster) from the end if it is allowed...
    – Hastur
    Aug 1 '16 at 7:39












  • @Hastur Sorry, I do not understand. Could you please elaborate?
    – AF7
    Aug 1 '16 at 9:33










  • Sorry elaboration idea. About grub. From mobile (+holyday) I cannot more :)
    – Hastur
    Aug 1 '16 at 10:25













up vote
5
down vote

favorite
3









up vote
5
down vote

favorite
3






3





My system currently has this partition setup:
enter image description here



I would like to enlarge /dev/sdb2, the EFI System Partition, to 500MB.



The problem is that I do not want to delete the Windows Recovery Partition (/dev/sdb1) and I do not know how to move the unallocated space after /dev/sdb4 to be adjacent to /dev/sdb2.



Using Linux, I can move the /dev/sdb4 partition to the right by 400MB, but then I cannot move the MSR (/dev/sdb3) as it is of unknown format.



Using Windows, I cannot move the Windows10 partition, and by the way the MSR partition seems hidden so I cannot act on it.



So I'm stuck with only 100MB of EFI partition which is totally insufficient for multiple kernels.










share|improve this question













My system currently has this partition setup:
enter image description here



I would like to enlarge /dev/sdb2, the EFI System Partition, to 500MB.



The problem is that I do not want to delete the Windows Recovery Partition (/dev/sdb1) and I do not know how to move the unallocated space after /dev/sdb4 to be adjacent to /dev/sdb2.



Using Linux, I can move the /dev/sdb4 partition to the right by 400MB, but then I cannot move the MSR (/dev/sdb3) as it is of unknown format.



Using Windows, I cannot move the Windows10 partition, and by the way the MSR partition seems hidden so I cannot act on it.



So I'm stuck with only 100MB of EFI partition which is totally insufficient for multiple kernels.







linux windows-10 partitioning efi system-reserved-partition






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jul 28 '16 at 13:10









AF7

12618




12618












  • 1. Backup. 2. What about to create a partition at the end of /sdb5 and use directly that one? You can always re-format the unknown partition when you are sure that it is not in use... 3. Backup. 4. Backup...
    – Hastur
    Jul 30 '16 at 21:23












  • @Hastur the unknown partition is Microsoft's MSR and I'd like it to stay untouched. I don't use Windows much but I do not want to mess it up. So you are basically suggesting to move the EFI partition to the 400MB space I previously created? Will this mess with the BIOS (some data of which is also contained in the EFI) or Windows? Do I have to edit some Windows config for this? As for Linux, I know it's not a problem.
    – AF7
    Aug 1 '16 at 6:48










  • I meant inside /sdb5... (faster) from the end if it is allowed...
    – Hastur
    Aug 1 '16 at 7:39












  • @Hastur Sorry, I do not understand. Could you please elaborate?
    – AF7
    Aug 1 '16 at 9:33










  • Sorry elaboration idea. About grub. From mobile (+holyday) I cannot more :)
    – Hastur
    Aug 1 '16 at 10:25


















  • 1. Backup. 2. What about to create a partition at the end of /sdb5 and use directly that one? You can always re-format the unknown partition when you are sure that it is not in use... 3. Backup. 4. Backup...
    – Hastur
    Jul 30 '16 at 21:23












  • @Hastur the unknown partition is Microsoft's MSR and I'd like it to stay untouched. I don't use Windows much but I do not want to mess it up. So you are basically suggesting to move the EFI partition to the 400MB space I previously created? Will this mess with the BIOS (some data of which is also contained in the EFI) or Windows? Do I have to edit some Windows config for this? As for Linux, I know it's not a problem.
    – AF7
    Aug 1 '16 at 6:48










  • I meant inside /sdb5... (faster) from the end if it is allowed...
    – Hastur
    Aug 1 '16 at 7:39












  • @Hastur Sorry, I do not understand. Could you please elaborate?
    – AF7
    Aug 1 '16 at 9:33










  • Sorry elaboration idea. About grub. From mobile (+holyday) I cannot more :)
    – Hastur
    Aug 1 '16 at 10:25
















1. Backup. 2. What about to create a partition at the end of /sdb5 and use directly that one? You can always re-format the unknown partition when you are sure that it is not in use... 3. Backup. 4. Backup...
– Hastur
Jul 30 '16 at 21:23






1. Backup. 2. What about to create a partition at the end of /sdb5 and use directly that one? You can always re-format the unknown partition when you are sure that it is not in use... 3. Backup. 4. Backup...
– Hastur
Jul 30 '16 at 21:23














@Hastur the unknown partition is Microsoft's MSR and I'd like it to stay untouched. I don't use Windows much but I do not want to mess it up. So you are basically suggesting to move the EFI partition to the 400MB space I previously created? Will this mess with the BIOS (some data of which is also contained in the EFI) or Windows? Do I have to edit some Windows config for this? As for Linux, I know it's not a problem.
– AF7
Aug 1 '16 at 6:48




@Hastur the unknown partition is Microsoft's MSR and I'd like it to stay untouched. I don't use Windows much but I do not want to mess it up. So you are basically suggesting to move the EFI partition to the 400MB space I previously created? Will this mess with the BIOS (some data of which is also contained in the EFI) or Windows? Do I have to edit some Windows config for this? As for Linux, I know it's not a problem.
– AF7
Aug 1 '16 at 6:48












I meant inside /sdb5... (faster) from the end if it is allowed...
– Hastur
Aug 1 '16 at 7:39






I meant inside /sdb5... (faster) from the end if it is allowed...
– Hastur
Aug 1 '16 at 7:39














@Hastur Sorry, I do not understand. Could you please elaborate?
– AF7
Aug 1 '16 at 9:33




@Hastur Sorry, I do not understand. Could you please elaborate?
– AF7
Aug 1 '16 at 9:33












Sorry elaboration idea. About grub. From mobile (+holyday) I cannot more :)
– Hastur
Aug 1 '16 at 10:25




Sorry elaboration idea. About grub. From mobile (+holyday) I cannot more :)
– Hastur
Aug 1 '16 at 10:25










3 Answers
3






active

oldest

votes

















up vote
3
down vote



+25










To move sensitive partitions, you need to boot from CD or USB.



Some free partition editors that have boot CD are :





  • MiniTool Partition Wizard Free (Bootable CD)

  • GParted Live


Of the two, MiniTool has the better user interface.



I suggest before starting, to take an image of the entire hard disk on external
media, using a product that also has a rescue boot CD.
Create this rescue CD and test whether it can see the backup disk and image,
just in case, as any mistake can destroy the disk and render the installed
operating systems unbootable.
My favorite backup product is the free AOMEI Backupper.



Below is the procedure to follow once you boot into the partition editor's boot CD.
It brings the unallocated space to below the EFI (sdb2), but as unallocated space
is not counted as a partition, one needs to rather move its adjoining partition.




  1. Move sdb4 right/down by 400MB

  2. Do the same for sdb3 (MSR). The unallocated space should now directly follow sdb2.

  3. Reboot to test if the disk still functions.
    If reboot is impossible, then the MSR could not be moved - see below.

  4. Resize sdb2 to include the unallocated space

  5. Reboot


If the tools fail to move the MSR, or if Windows cannot boot after the MSR was moved,
you will need to delete and recreate it.



This is explained in this answer :




Boot into the Windows installation media, and press SHIFT+F10 to open
the command prompt. Type diskpart. Type list disk, and then
select disk X where X is the number of the physical drive
containing the Boot partition. Type list partition to give you the
partition list. I had the EFI System Partition at the start of the
disk now which is 100 MB in size, and the partition list says that it
began at an offset of 1024 kB. Windows considers a megabyte to be 1024
kB so the free space begins at an offset of 1024 + (100*1024) = 103424
kB. Type the command create partition msr size=128 offset=103424. If
you have the sizes and offsets right, this should work, and in my
case, it indeed did.




See also the description of the command Create partition msr.






share|improve this answer



















  • 1




    Comments are not for extended discussion; this conversation has been moved to chat.
    – Mokubai
    Aug 4 '16 at 11:14










  • Always backup before mucking with partitions. Looks like his Windows partition is sdb4. If he adds the unallocated space to sdb4 (parted or whatever), then boots into windows, he should be able either to expand the drive inside windows to use the added space, or to add another drive using that space. Part of this will depend whether the Windows 10 drive was allocated with a dynamic filesystem (gpt) or a static one (mbr).
    – Xalorous
    Aug 5 '16 at 20:59












  • @af7: Your problem was solved, so where are you.
    – harrymc
    Aug 6 '16 at 8:44






  • 1




    @harrymc My problem was solved, but - sorry to say that - not thanks to your answer, which I find not factually correct. Moving the MSR is not possible. It has an unknown filesystem and thus cannot be moved. You can clone it to another location and delete the original, but Windows will not boot. It is mandatory to use Diskpart: you have to recreate the MSR using Diskpart, or Windows will not boot. Thus while partially true and indeed providing good links, I find this answer not ready. If you want to edit the correct information in I'll be glad to accept it. Or if you want I can edit it.
    – AF7
    Aug 7 '16 at 16:56






  • 1




    @AF7: You may edit the text to your liking, no problem. Just that half of your bounty was lost.
    – harrymc
    Aug 7 '16 at 17:17




















up vote
1
down vote













TLDR: Backup - this is a dangerous process. Then restore the disk, adjusting parititon sizes to taste.



The strategy I would take would be to back up first and adjust partition sizes when I restore. It seems a little odd, but firstly, its idiotproof (if you mess up, you simply restore) and many good backup software gives you the option to resize when you restore, and in many cases would fix the things that would break since its recreating the partitions from scratch.



Doing any sort of file system editing without a backup is irresponsible



My usual backup software's veem endpoint backup and - I've backed up, resized and restored and it seems to work for me -iirc you rightclick on the partition, and set the volume sizes and you're good. This isn't software designed for one off backups, so something else like macrium reflect might work as well.






share|improve this answer





















  • However AFAIK no software can move, resize or delete the MSR without messing up with windows, except diskpart.
    – AF7
    Aug 4 '16 at 7:25












  • @Journeyman Geek Just curious wouldn't creating new partitions and dump the content over creat new UUIDs and partition numbering? And in the process mess up GRUB und EFI boot loader? (And I'd suspect WIN boot loader too)
    – paradoxon
    Aug 4 '16 at 7:57










  • Windows loader should be fine, I've actually done this on EFI systems before. The idea being that the backup software would handle most of the wierdness, and grub is relatively easy to fix
    – Journeyman Geek
    Aug 5 '16 at 2:40


















up vote
-1
down vote













If you don't want to mess with diskpart, you can do this in GParted. I tested this method on my machine and it works.




  1. shrink /dev/sdb4 by 400MB (you've already done this)

  2. unmount /dev/sdb2

  3. copy /dev/sdb2 into the empty space between /dev/sdb4 and /dev/sdb5 (call this new partition /dev/sdb7)

  4. enlarge /dev/sdb7 to take the entire 400 MB

  5. delete /dev/sdb2

  6. ensure /dev/sdb7 has the esp boot flag

  7. if you use linux, update your fstab file to reflect the UUID of the new EFI partition






share|improve this answer








New contributor




user966815 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.














  • 1




    This would be a better answer if you gave detailed instructions — specifically for steps 1 and 3-7.
    – Scott
    Nov 24 at 21:06













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1106092%2fhow-to-enlarge-windows-10-efi-partition%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























3 Answers
3






active

oldest

votes








3 Answers
3






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
3
down vote



+25










To move sensitive partitions, you need to boot from CD or USB.



Some free partition editors that have boot CD are :





  • MiniTool Partition Wizard Free (Bootable CD)

  • GParted Live


Of the two, MiniTool has the better user interface.



I suggest before starting, to take an image of the entire hard disk on external
media, using a product that also has a rescue boot CD.
Create this rescue CD and test whether it can see the backup disk and image,
just in case, as any mistake can destroy the disk and render the installed
operating systems unbootable.
My favorite backup product is the free AOMEI Backupper.



Below is the procedure to follow once you boot into the partition editor's boot CD.
It brings the unallocated space to below the EFI (sdb2), but as unallocated space
is not counted as a partition, one needs to rather move its adjoining partition.




  1. Move sdb4 right/down by 400MB

  2. Do the same for sdb3 (MSR). The unallocated space should now directly follow sdb2.

  3. Reboot to test if the disk still functions.
    If reboot is impossible, then the MSR could not be moved - see below.

  4. Resize sdb2 to include the unallocated space

  5. Reboot


If the tools fail to move the MSR, or if Windows cannot boot after the MSR was moved,
you will need to delete and recreate it.



This is explained in this answer :




Boot into the Windows installation media, and press SHIFT+F10 to open
the command prompt. Type diskpart. Type list disk, and then
select disk X where X is the number of the physical drive
containing the Boot partition. Type list partition to give you the
partition list. I had the EFI System Partition at the start of the
disk now which is 100 MB in size, and the partition list says that it
began at an offset of 1024 kB. Windows considers a megabyte to be 1024
kB so the free space begins at an offset of 1024 + (100*1024) = 103424
kB. Type the command create partition msr size=128 offset=103424. If
you have the sizes and offsets right, this should work, and in my
case, it indeed did.




See also the description of the command Create partition msr.






share|improve this answer



















  • 1




    Comments are not for extended discussion; this conversation has been moved to chat.
    – Mokubai
    Aug 4 '16 at 11:14










  • Always backup before mucking with partitions. Looks like his Windows partition is sdb4. If he adds the unallocated space to sdb4 (parted or whatever), then boots into windows, he should be able either to expand the drive inside windows to use the added space, or to add another drive using that space. Part of this will depend whether the Windows 10 drive was allocated with a dynamic filesystem (gpt) or a static one (mbr).
    – Xalorous
    Aug 5 '16 at 20:59












  • @af7: Your problem was solved, so where are you.
    – harrymc
    Aug 6 '16 at 8:44






  • 1




    @harrymc My problem was solved, but - sorry to say that - not thanks to your answer, which I find not factually correct. Moving the MSR is not possible. It has an unknown filesystem and thus cannot be moved. You can clone it to another location and delete the original, but Windows will not boot. It is mandatory to use Diskpart: you have to recreate the MSR using Diskpart, or Windows will not boot. Thus while partially true and indeed providing good links, I find this answer not ready. If you want to edit the correct information in I'll be glad to accept it. Or if you want I can edit it.
    – AF7
    Aug 7 '16 at 16:56






  • 1




    @AF7: You may edit the text to your liking, no problem. Just that half of your bounty was lost.
    – harrymc
    Aug 7 '16 at 17:17

















up vote
3
down vote



+25










To move sensitive partitions, you need to boot from CD or USB.



Some free partition editors that have boot CD are :





  • MiniTool Partition Wizard Free (Bootable CD)

  • GParted Live


Of the two, MiniTool has the better user interface.



I suggest before starting, to take an image of the entire hard disk on external
media, using a product that also has a rescue boot CD.
Create this rescue CD and test whether it can see the backup disk and image,
just in case, as any mistake can destroy the disk and render the installed
operating systems unbootable.
My favorite backup product is the free AOMEI Backupper.



Below is the procedure to follow once you boot into the partition editor's boot CD.
It brings the unallocated space to below the EFI (sdb2), but as unallocated space
is not counted as a partition, one needs to rather move its adjoining partition.




  1. Move sdb4 right/down by 400MB

  2. Do the same for sdb3 (MSR). The unallocated space should now directly follow sdb2.

  3. Reboot to test if the disk still functions.
    If reboot is impossible, then the MSR could not be moved - see below.

  4. Resize sdb2 to include the unallocated space

  5. Reboot


If the tools fail to move the MSR, or if Windows cannot boot after the MSR was moved,
you will need to delete and recreate it.



This is explained in this answer :




Boot into the Windows installation media, and press SHIFT+F10 to open
the command prompt. Type diskpart. Type list disk, and then
select disk X where X is the number of the physical drive
containing the Boot partition. Type list partition to give you the
partition list. I had the EFI System Partition at the start of the
disk now which is 100 MB in size, and the partition list says that it
began at an offset of 1024 kB. Windows considers a megabyte to be 1024
kB so the free space begins at an offset of 1024 + (100*1024) = 103424
kB. Type the command create partition msr size=128 offset=103424. If
you have the sizes and offsets right, this should work, and in my
case, it indeed did.




See also the description of the command Create partition msr.






share|improve this answer



















  • 1




    Comments are not for extended discussion; this conversation has been moved to chat.
    – Mokubai
    Aug 4 '16 at 11:14










  • Always backup before mucking with partitions. Looks like his Windows partition is sdb4. If he adds the unallocated space to sdb4 (parted or whatever), then boots into windows, he should be able either to expand the drive inside windows to use the added space, or to add another drive using that space. Part of this will depend whether the Windows 10 drive was allocated with a dynamic filesystem (gpt) or a static one (mbr).
    – Xalorous
    Aug 5 '16 at 20:59












  • @af7: Your problem was solved, so where are you.
    – harrymc
    Aug 6 '16 at 8:44






  • 1




    @harrymc My problem was solved, but - sorry to say that - not thanks to your answer, which I find not factually correct. Moving the MSR is not possible. It has an unknown filesystem and thus cannot be moved. You can clone it to another location and delete the original, but Windows will not boot. It is mandatory to use Diskpart: you have to recreate the MSR using Diskpart, or Windows will not boot. Thus while partially true and indeed providing good links, I find this answer not ready. If you want to edit the correct information in I'll be glad to accept it. Or if you want I can edit it.
    – AF7
    Aug 7 '16 at 16:56






  • 1




    @AF7: You may edit the text to your liking, no problem. Just that half of your bounty was lost.
    – harrymc
    Aug 7 '16 at 17:17















up vote
3
down vote



+25







up vote
3
down vote



+25




+25




To move sensitive partitions, you need to boot from CD or USB.



Some free partition editors that have boot CD are :





  • MiniTool Partition Wizard Free (Bootable CD)

  • GParted Live


Of the two, MiniTool has the better user interface.



I suggest before starting, to take an image of the entire hard disk on external
media, using a product that also has a rescue boot CD.
Create this rescue CD and test whether it can see the backup disk and image,
just in case, as any mistake can destroy the disk and render the installed
operating systems unbootable.
My favorite backup product is the free AOMEI Backupper.



Below is the procedure to follow once you boot into the partition editor's boot CD.
It brings the unallocated space to below the EFI (sdb2), but as unallocated space
is not counted as a partition, one needs to rather move its adjoining partition.




  1. Move sdb4 right/down by 400MB

  2. Do the same for sdb3 (MSR). The unallocated space should now directly follow sdb2.

  3. Reboot to test if the disk still functions.
    If reboot is impossible, then the MSR could not be moved - see below.

  4. Resize sdb2 to include the unallocated space

  5. Reboot


If the tools fail to move the MSR, or if Windows cannot boot after the MSR was moved,
you will need to delete and recreate it.



This is explained in this answer :




Boot into the Windows installation media, and press SHIFT+F10 to open
the command prompt. Type diskpart. Type list disk, and then
select disk X where X is the number of the physical drive
containing the Boot partition. Type list partition to give you the
partition list. I had the EFI System Partition at the start of the
disk now which is 100 MB in size, and the partition list says that it
began at an offset of 1024 kB. Windows considers a megabyte to be 1024
kB so the free space begins at an offset of 1024 + (100*1024) = 103424
kB. Type the command create partition msr size=128 offset=103424. If
you have the sizes and offsets right, this should work, and in my
case, it indeed did.




See also the description of the command Create partition msr.






share|improve this answer














To move sensitive partitions, you need to boot from CD or USB.



Some free partition editors that have boot CD are :





  • MiniTool Partition Wizard Free (Bootable CD)

  • GParted Live


Of the two, MiniTool has the better user interface.



I suggest before starting, to take an image of the entire hard disk on external
media, using a product that also has a rescue boot CD.
Create this rescue CD and test whether it can see the backup disk and image,
just in case, as any mistake can destroy the disk and render the installed
operating systems unbootable.
My favorite backup product is the free AOMEI Backupper.



Below is the procedure to follow once you boot into the partition editor's boot CD.
It brings the unallocated space to below the EFI (sdb2), but as unallocated space
is not counted as a partition, one needs to rather move its adjoining partition.




  1. Move sdb4 right/down by 400MB

  2. Do the same for sdb3 (MSR). The unallocated space should now directly follow sdb2.

  3. Reboot to test if the disk still functions.
    If reboot is impossible, then the MSR could not be moved - see below.

  4. Resize sdb2 to include the unallocated space

  5. Reboot


If the tools fail to move the MSR, or if Windows cannot boot after the MSR was moved,
you will need to delete and recreate it.



This is explained in this answer :




Boot into the Windows installation media, and press SHIFT+F10 to open
the command prompt. Type diskpart. Type list disk, and then
select disk X where X is the number of the physical drive
containing the Boot partition. Type list partition to give you the
partition list. I had the EFI System Partition at the start of the
disk now which is 100 MB in size, and the partition list says that it
began at an offset of 1024 kB. Windows considers a megabyte to be 1024
kB so the free space begins at an offset of 1024 + (100*1024) = 103424
kB. Type the command create partition msr size=128 offset=103424. If
you have the sizes and offsets right, this should work, and in my
case, it indeed did.




See also the description of the command Create partition msr.







share|improve this answer














share|improve this answer



share|improve this answer








edited Mar 20 '17 at 10:17









Community

1




1










answered Jul 30 '16 at 18:44









harrymc

249k10257550




249k10257550








  • 1




    Comments are not for extended discussion; this conversation has been moved to chat.
    – Mokubai
    Aug 4 '16 at 11:14










  • Always backup before mucking with partitions. Looks like his Windows partition is sdb4. If he adds the unallocated space to sdb4 (parted or whatever), then boots into windows, he should be able either to expand the drive inside windows to use the added space, or to add another drive using that space. Part of this will depend whether the Windows 10 drive was allocated with a dynamic filesystem (gpt) or a static one (mbr).
    – Xalorous
    Aug 5 '16 at 20:59












  • @af7: Your problem was solved, so where are you.
    – harrymc
    Aug 6 '16 at 8:44






  • 1




    @harrymc My problem was solved, but - sorry to say that - not thanks to your answer, which I find not factually correct. Moving the MSR is not possible. It has an unknown filesystem and thus cannot be moved. You can clone it to another location and delete the original, but Windows will not boot. It is mandatory to use Diskpart: you have to recreate the MSR using Diskpart, or Windows will not boot. Thus while partially true and indeed providing good links, I find this answer not ready. If you want to edit the correct information in I'll be glad to accept it. Or if you want I can edit it.
    – AF7
    Aug 7 '16 at 16:56






  • 1




    @AF7: You may edit the text to your liking, no problem. Just that half of your bounty was lost.
    – harrymc
    Aug 7 '16 at 17:17
















  • 1




    Comments are not for extended discussion; this conversation has been moved to chat.
    – Mokubai
    Aug 4 '16 at 11:14










  • Always backup before mucking with partitions. Looks like his Windows partition is sdb4. If he adds the unallocated space to sdb4 (parted or whatever), then boots into windows, he should be able either to expand the drive inside windows to use the added space, or to add another drive using that space. Part of this will depend whether the Windows 10 drive was allocated with a dynamic filesystem (gpt) or a static one (mbr).
    – Xalorous
    Aug 5 '16 at 20:59












  • @af7: Your problem was solved, so where are you.
    – harrymc
    Aug 6 '16 at 8:44






  • 1




    @harrymc My problem was solved, but - sorry to say that - not thanks to your answer, which I find not factually correct. Moving the MSR is not possible. It has an unknown filesystem and thus cannot be moved. You can clone it to another location and delete the original, but Windows will not boot. It is mandatory to use Diskpart: you have to recreate the MSR using Diskpart, or Windows will not boot. Thus while partially true and indeed providing good links, I find this answer not ready. If you want to edit the correct information in I'll be glad to accept it. Or if you want I can edit it.
    – AF7
    Aug 7 '16 at 16:56






  • 1




    @AF7: You may edit the text to your liking, no problem. Just that half of your bounty was lost.
    – harrymc
    Aug 7 '16 at 17:17










1




1




Comments are not for extended discussion; this conversation has been moved to chat.
– Mokubai
Aug 4 '16 at 11:14




Comments are not for extended discussion; this conversation has been moved to chat.
– Mokubai
Aug 4 '16 at 11:14












Always backup before mucking with partitions. Looks like his Windows partition is sdb4. If he adds the unallocated space to sdb4 (parted or whatever), then boots into windows, he should be able either to expand the drive inside windows to use the added space, or to add another drive using that space. Part of this will depend whether the Windows 10 drive was allocated with a dynamic filesystem (gpt) or a static one (mbr).
– Xalorous
Aug 5 '16 at 20:59






Always backup before mucking with partitions. Looks like his Windows partition is sdb4. If he adds the unallocated space to sdb4 (parted or whatever), then boots into windows, he should be able either to expand the drive inside windows to use the added space, or to add another drive using that space. Part of this will depend whether the Windows 10 drive was allocated with a dynamic filesystem (gpt) or a static one (mbr).
– Xalorous
Aug 5 '16 at 20:59














@af7: Your problem was solved, so where are you.
– harrymc
Aug 6 '16 at 8:44




@af7: Your problem was solved, so where are you.
– harrymc
Aug 6 '16 at 8:44




1




1




@harrymc My problem was solved, but - sorry to say that - not thanks to your answer, which I find not factually correct. Moving the MSR is not possible. It has an unknown filesystem and thus cannot be moved. You can clone it to another location and delete the original, but Windows will not boot. It is mandatory to use Diskpart: you have to recreate the MSR using Diskpart, or Windows will not boot. Thus while partially true and indeed providing good links, I find this answer not ready. If you want to edit the correct information in I'll be glad to accept it. Or if you want I can edit it.
– AF7
Aug 7 '16 at 16:56




@harrymc My problem was solved, but - sorry to say that - not thanks to your answer, which I find not factually correct. Moving the MSR is not possible. It has an unknown filesystem and thus cannot be moved. You can clone it to another location and delete the original, but Windows will not boot. It is mandatory to use Diskpart: you have to recreate the MSR using Diskpart, or Windows will not boot. Thus while partially true and indeed providing good links, I find this answer not ready. If you want to edit the correct information in I'll be glad to accept it. Or if you want I can edit it.
– AF7
Aug 7 '16 at 16:56




1




1




@AF7: You may edit the text to your liking, no problem. Just that half of your bounty was lost.
– harrymc
Aug 7 '16 at 17:17






@AF7: You may edit the text to your liking, no problem. Just that half of your bounty was lost.
– harrymc
Aug 7 '16 at 17:17














up vote
1
down vote













TLDR: Backup - this is a dangerous process. Then restore the disk, adjusting parititon sizes to taste.



The strategy I would take would be to back up first and adjust partition sizes when I restore. It seems a little odd, but firstly, its idiotproof (if you mess up, you simply restore) and many good backup software gives you the option to resize when you restore, and in many cases would fix the things that would break since its recreating the partitions from scratch.



Doing any sort of file system editing without a backup is irresponsible



My usual backup software's veem endpoint backup and - I've backed up, resized and restored and it seems to work for me -iirc you rightclick on the partition, and set the volume sizes and you're good. This isn't software designed for one off backups, so something else like macrium reflect might work as well.






share|improve this answer





















  • However AFAIK no software can move, resize or delete the MSR without messing up with windows, except diskpart.
    – AF7
    Aug 4 '16 at 7:25












  • @Journeyman Geek Just curious wouldn't creating new partitions and dump the content over creat new UUIDs and partition numbering? And in the process mess up GRUB und EFI boot loader? (And I'd suspect WIN boot loader too)
    – paradoxon
    Aug 4 '16 at 7:57










  • Windows loader should be fine, I've actually done this on EFI systems before. The idea being that the backup software would handle most of the wierdness, and grub is relatively easy to fix
    – Journeyman Geek
    Aug 5 '16 at 2:40















up vote
1
down vote













TLDR: Backup - this is a dangerous process. Then restore the disk, adjusting parititon sizes to taste.



The strategy I would take would be to back up first and adjust partition sizes when I restore. It seems a little odd, but firstly, its idiotproof (if you mess up, you simply restore) and many good backup software gives you the option to resize when you restore, and in many cases would fix the things that would break since its recreating the partitions from scratch.



Doing any sort of file system editing without a backup is irresponsible



My usual backup software's veem endpoint backup and - I've backed up, resized and restored and it seems to work for me -iirc you rightclick on the partition, and set the volume sizes and you're good. This isn't software designed for one off backups, so something else like macrium reflect might work as well.






share|improve this answer





















  • However AFAIK no software can move, resize or delete the MSR without messing up with windows, except diskpart.
    – AF7
    Aug 4 '16 at 7:25












  • @Journeyman Geek Just curious wouldn't creating new partitions and dump the content over creat new UUIDs and partition numbering? And in the process mess up GRUB und EFI boot loader? (And I'd suspect WIN boot loader too)
    – paradoxon
    Aug 4 '16 at 7:57










  • Windows loader should be fine, I've actually done this on EFI systems before. The idea being that the backup software would handle most of the wierdness, and grub is relatively easy to fix
    – Journeyman Geek
    Aug 5 '16 at 2:40













up vote
1
down vote










up vote
1
down vote









TLDR: Backup - this is a dangerous process. Then restore the disk, adjusting parititon sizes to taste.



The strategy I would take would be to back up first and adjust partition sizes when I restore. It seems a little odd, but firstly, its idiotproof (if you mess up, you simply restore) and many good backup software gives you the option to resize when you restore, and in many cases would fix the things that would break since its recreating the partitions from scratch.



Doing any sort of file system editing without a backup is irresponsible



My usual backup software's veem endpoint backup and - I've backed up, resized and restored and it seems to work for me -iirc you rightclick on the partition, and set the volume sizes and you're good. This isn't software designed for one off backups, so something else like macrium reflect might work as well.






share|improve this answer












TLDR: Backup - this is a dangerous process. Then restore the disk, adjusting parititon sizes to taste.



The strategy I would take would be to back up first and adjust partition sizes when I restore. It seems a little odd, but firstly, its idiotproof (if you mess up, you simply restore) and many good backup software gives you the option to resize when you restore, and in many cases would fix the things that would break since its recreating the partitions from scratch.



Doing any sort of file system editing without a backup is irresponsible



My usual backup software's veem endpoint backup and - I've backed up, resized and restored and it seems to work for me -iirc you rightclick on the partition, and set the volume sizes and you're good. This isn't software designed for one off backups, so something else like macrium reflect might work as well.







share|improve this answer












share|improve this answer



share|improve this answer










answered Aug 4 '16 at 2:04









Journeyman Geek

111k43216364




111k43216364












  • However AFAIK no software can move, resize or delete the MSR without messing up with windows, except diskpart.
    – AF7
    Aug 4 '16 at 7:25












  • @Journeyman Geek Just curious wouldn't creating new partitions and dump the content over creat new UUIDs and partition numbering? And in the process mess up GRUB und EFI boot loader? (And I'd suspect WIN boot loader too)
    – paradoxon
    Aug 4 '16 at 7:57










  • Windows loader should be fine, I've actually done this on EFI systems before. The idea being that the backup software would handle most of the wierdness, and grub is relatively easy to fix
    – Journeyman Geek
    Aug 5 '16 at 2:40


















  • However AFAIK no software can move, resize or delete the MSR without messing up with windows, except diskpart.
    – AF7
    Aug 4 '16 at 7:25












  • @Journeyman Geek Just curious wouldn't creating new partitions and dump the content over creat new UUIDs and partition numbering? And in the process mess up GRUB und EFI boot loader? (And I'd suspect WIN boot loader too)
    – paradoxon
    Aug 4 '16 at 7:57










  • Windows loader should be fine, I've actually done this on EFI systems before. The idea being that the backup software would handle most of the wierdness, and grub is relatively easy to fix
    – Journeyman Geek
    Aug 5 '16 at 2:40
















However AFAIK no software can move, resize or delete the MSR without messing up with windows, except diskpart.
– AF7
Aug 4 '16 at 7:25






However AFAIK no software can move, resize or delete the MSR without messing up with windows, except diskpart.
– AF7
Aug 4 '16 at 7:25














@Journeyman Geek Just curious wouldn't creating new partitions and dump the content over creat new UUIDs and partition numbering? And in the process mess up GRUB und EFI boot loader? (And I'd suspect WIN boot loader too)
– paradoxon
Aug 4 '16 at 7:57




@Journeyman Geek Just curious wouldn't creating new partitions and dump the content over creat new UUIDs and partition numbering? And in the process mess up GRUB und EFI boot loader? (And I'd suspect WIN boot loader too)
– paradoxon
Aug 4 '16 at 7:57












Windows loader should be fine, I've actually done this on EFI systems before. The idea being that the backup software would handle most of the wierdness, and grub is relatively easy to fix
– Journeyman Geek
Aug 5 '16 at 2:40




Windows loader should be fine, I've actually done this on EFI systems before. The idea being that the backup software would handle most of the wierdness, and grub is relatively easy to fix
– Journeyman Geek
Aug 5 '16 at 2:40










up vote
-1
down vote













If you don't want to mess with diskpart, you can do this in GParted. I tested this method on my machine and it works.




  1. shrink /dev/sdb4 by 400MB (you've already done this)

  2. unmount /dev/sdb2

  3. copy /dev/sdb2 into the empty space between /dev/sdb4 and /dev/sdb5 (call this new partition /dev/sdb7)

  4. enlarge /dev/sdb7 to take the entire 400 MB

  5. delete /dev/sdb2

  6. ensure /dev/sdb7 has the esp boot flag

  7. if you use linux, update your fstab file to reflect the UUID of the new EFI partition






share|improve this answer








New contributor




user966815 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.














  • 1




    This would be a better answer if you gave detailed instructions — specifically for steps 1 and 3-7.
    – Scott
    Nov 24 at 21:06

















up vote
-1
down vote













If you don't want to mess with diskpart, you can do this in GParted. I tested this method on my machine and it works.




  1. shrink /dev/sdb4 by 400MB (you've already done this)

  2. unmount /dev/sdb2

  3. copy /dev/sdb2 into the empty space between /dev/sdb4 and /dev/sdb5 (call this new partition /dev/sdb7)

  4. enlarge /dev/sdb7 to take the entire 400 MB

  5. delete /dev/sdb2

  6. ensure /dev/sdb7 has the esp boot flag

  7. if you use linux, update your fstab file to reflect the UUID of the new EFI partition






share|improve this answer








New contributor




user966815 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.














  • 1




    This would be a better answer if you gave detailed instructions — specifically for steps 1 and 3-7.
    – Scott
    Nov 24 at 21:06















up vote
-1
down vote










up vote
-1
down vote









If you don't want to mess with diskpart, you can do this in GParted. I tested this method on my machine and it works.




  1. shrink /dev/sdb4 by 400MB (you've already done this)

  2. unmount /dev/sdb2

  3. copy /dev/sdb2 into the empty space between /dev/sdb4 and /dev/sdb5 (call this new partition /dev/sdb7)

  4. enlarge /dev/sdb7 to take the entire 400 MB

  5. delete /dev/sdb2

  6. ensure /dev/sdb7 has the esp boot flag

  7. if you use linux, update your fstab file to reflect the UUID of the new EFI partition






share|improve this answer








New contributor




user966815 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









If you don't want to mess with diskpart, you can do this in GParted. I tested this method on my machine and it works.




  1. shrink /dev/sdb4 by 400MB (you've already done this)

  2. unmount /dev/sdb2

  3. copy /dev/sdb2 into the empty space between /dev/sdb4 and /dev/sdb5 (call this new partition /dev/sdb7)

  4. enlarge /dev/sdb7 to take the entire 400 MB

  5. delete /dev/sdb2

  6. ensure /dev/sdb7 has the esp boot flag

  7. if you use linux, update your fstab file to reflect the UUID of the new EFI partition







share|improve this answer








New contributor




user966815 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this answer



share|improve this answer






New contributor




user966815 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









answered Nov 24 at 20:43









user966815

1




1




New contributor




user966815 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





user966815 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






user966815 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 1




    This would be a better answer if you gave detailed instructions — specifically for steps 1 and 3-7.
    – Scott
    Nov 24 at 21:06
















  • 1




    This would be a better answer if you gave detailed instructions — specifically for steps 1 and 3-7.
    – Scott
    Nov 24 at 21:06










1




1




This would be a better answer if you gave detailed instructions — specifically for steps 1 and 3-7.
– Scott
Nov 24 at 21:06






This would be a better answer if you gave detailed instructions — specifically for steps 1 and 3-7.
– Scott
Nov 24 at 21:06




















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1106092%2fhow-to-enlarge-windows-10-efi-partition%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido