Manually Resize (Windows) Bootcamp Partition on Mac
The following tutorial is borrowed from: https://superuser.com/questions/1270251/resizing-windows-10-bootcamp-partition-manually, generously written by the user dardeshna.
Shrinking the macOS partition
- Boot into recovery mode and open terminal
- Run
diskutil cs listto list core storage logical volumes, and copy the Logical Volume UUID - Resize the logical volume with
diskutil cs resizeStack LVUUID sizewheresizeis 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_idreplacingdisk_idwith the identifier from the previous step - Type
xto enter expert mode - Type
nto create a new protective MBR - Type
wto 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.