To move sensitive partitions, you need to boot from CD or USB.
Some free partition editors that have boot CD are :
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.
- Move sdb4 right/down by 400MB
- Do the same for sdb3 (MSR). The unallocated space should now directly follow sdb2.
- Reboot to test if the disk still functions.
If reboot is impossible, then the MSR could not be moved - see below.
- Resize sdb2 to include the unallocated space
- 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.
>
/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 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 – 2016-08-01T06:48:13.680
I meant inside
/sdb5
... (faster) from the end if it is allowed... – Hastur – 2016-08-01T07:39:47.490@Hastur Sorry, I do not understand. Could you please elaborate? – AF7 – 2016-08-01T09:33:26.647
Sorry elaboration idea. About grub. From mobile (+holyday) I cannot more :)
– Hastur – 2016-08-01T10:25:29.893