Installed windows 10 via bootcamp on my MBP running macOS Sierra, but I'd like to expand the Windows partition and shrink the macOS partition, avoiding a reinstall if possible.
I did a search already, but the other questions I've found on this topic are 1) about windows 7 and 2) just suggest using WinClone or similar.
How would this be done manually without the use of paid utilities?
Edit: I've used gParted from an ubuntu live USB to resize the windows partition. The only issue now is that windows throws an error on boot. Online sources suggest using gdisk to somehow sync the GPT and MBR tables?
(I have data backups and mac OS boots fine, so now it's just a matter of curiosity and avoiding a reinstall if possible)
Best Answer
Ok, here's how I solved my problem in the end (resizing a windows 10 bootcamp partition):
Shrinking the macOS partition
diskutil cs list
to list core storage logical volumes, and copy the Logical Volume UUIDdiskutil cs resizeStack LVUUID size
wheresize
is a parameter such as80g
(80 gb)Expanding the Windows partition
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.
diskutil list
, make note of the startup disk identifier (/dev/disk0
,/dev/disk1
, etc)sudo gdisk disk_id
replacingdisk_id
with the identifier from the previous stepx
to enter expert moden
to create a new protective MBRw
to save the changes and confirm withy
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.