Resizing Windows 10 Bootcamp partition manually
Ok, here's how I solved my problem in the end (resizing a windows 10 bootcamp partition):
Shrinking the macOS partition
- Boot into recovery mode and open terminal
- Run
diskutil cs list
to list core storage logical volumes, and copy the Logical Volume UUID - Resize the logical volume with
diskutil cs resizeStack LVUUID size
wheresize
is a parameter such as80g
(80 gb)
Expanding the Windows partition
- Create an ubuntu live USB using this tutorial
- Boot into the ubuntu live USB (hold option on boot up to select)
- Open GParted and use it to expand the windows partition into the free space created earlier
Fixing the MBR so Windows boots
This method seemed to work, I don't know if it is correct practice but Windows does boot now.
- Boot into mac OS and install gdisk (download the .pkg file and install)
- Open terminal and run
diskutil list
, make note of the startup disk identifier (/dev/disk0
,/dev/disk1
, etc) - Run
sudo gdisk disk_id
replacingdisk_id
with the identifier from the previous step - Type
x
to enter expert mode - Type
n
to create a new protective MBR - Type
w
to save the changes and confirm withy
- Reboot into Windows!
A final note of caution
I had backups of all of my important data in case something went terribly wrong and I was forced to re-install windows, macOS or both. Do not attempt this without backups of your data!
Be warned that I am no expert and put together this procedure with information from existing discussion board posts, so what worked for me may not work for you.
Don’t ever touch the partitioning from Windows!
No Windows app can figure out how it is being ‘fooled’ into thinking it’s in charge.
There are only 2 apps that won’t simply break Boot Camp completely, Paragon Hard Disk Manager & TwoCanoes WinClone. afaik, neither can yet handle APFS.
Carbon Copy Cloner can safely back up HFS & Boot Camp partitions, but cannot by itself recreate them, you must complete the underlying formatting first.
Apple’s own Disk Utility will not allow you to even attempt this. The Apple-recommend method is to completely remove Boot Camp & start over with a bigger partition size.