{"id":963,"date":"2017-10-30T10:47:18","date_gmt":"2017-10-30T18:47:18","guid":{"rendered":"http:\/\/fox-gieg.com\/tutorials\/?p=963"},"modified":"2020-06-25T09:31:25","modified_gmt":"2020-06-25T17:31:25","slug":"resize-boot-camp-partition","status":"publish","type":"post","link":"https:\/\/fox-gieg.com\/tutorials\/2017\/resize-boot-camp-partition\/","title":{"rendered":"Resize Boot Camp Partition"},"content":{"rendered":"<p>After creating a Windows Boot Camp partition on a Mac, you might eventually run out of space and want to make it larger. Here&#8217;s how to do it without reinstalling Windows. <b>***Remember to back up first, because a mistake here could erase all data on your machine!***<\/b><\/p>\n<p><b>Step 1.<\/b> By default, newer versions of OS X have System Integrity Protection, an anti-malware feature that doesn&#8217;t let you perform certain modifications to your partitions. Reboot to your Recovery Partition, start the Terminal, and type:<br \/>\n<code><br \/>\ncsrutil disable<br \/>\n<\/code><\/p>\n<p><b>Step 2.<\/b> In OS X, shrink the size of your Mac boot partition using the Disk Utility GUI, and reboot.<\/p>\n<p><b>Step 3.<\/b> OS X will automatically format the new unused space as HFS+, and we want this space available for Windows, so go to the Terminal and type:<br \/>\n<code><br \/>\ndiskutil list<br \/>\n<\/code><br \/>\nFind the partition you want to erase&mdash;probably disk0s4, but double-check that the size is correct&mdash;and then type:<br \/>\n<code><br \/>\nsudo diskutil eraseVolume Free\\ Space null disk0s4<br \/>\n<\/code><\/p>\n<p><b>Step 4.<\/b> Right now your Windows partition will be temporarily rendered unbootable. To fix it, while still in OS X, download and install the <a href=\"http:\/\/sourceforge.net\/projects\/gptfdisk\/\">gdisk utility<\/a>.<\/p>\n<p><b>Step 5.<\/b> Type:<br \/>\n<code><br \/>\nsudo gdisk \/dev\/disk0<br \/>\n<\/code><\/p>\n<p><b>Step 6.<\/b> <b>***If you get any error messages at this point, stop!***<\/b> Otherwise, carefully enter the following (adapted from <a href=\"https:\/\/discussions.apple.com\/message\/19068041#19068041\">this<\/a> forum thread):<br \/>\n<code><br \/>\nr &lt;enter&gt;&nbsp;&nbsp;&nbsp; go to the recovery & transformation menu<br \/>\nh &lt;enter&gt;&nbsp;&nbsp;&nbsp; create a new hybrid MBR<br \/>\n5 &lt;enter&gt;&nbsp;&nbsp;&nbsp; add partion 5 to the MBR<br \/>\ny &lt;enter&gt;&nbsp;&nbsp;&nbsp; set up EFI boot<br \/>\n&lt;enter&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; accept the default MBR hex code of 07<br \/>\ny &lt;enter&gt;&nbsp;&nbsp;&nbsp; set the bootable flag<br \/>\nn &lt;enter&gt;&nbsp;&nbsp;&nbsp; do not protects more partitions<br \/>\no &lt;enter&gt;&nbsp;&nbsp;&nbsp; review (but don't apply) the changes<br \/>\n<\/code><\/p>\n<p><b>Step 7.<\/b> If this went according to plan, you should see two partitions: one type EE and one 07, with the 07 entry marked with * under Boot. If this is what you see, apply the changes by typing:<br \/>\n<code><br \/>\nw &lt;enter&gt;&nbsp;&nbsp;&nbsp; write partition table to disk<br \/>\n<\/code><\/p>\n<p><b>Step 8.<\/b> Now reboot into Windows and install the free version of <a href=\"https:\/\/www.partitionwizard.com\/\">Partition Wizard<\/a>.<\/p>\n<p><b>Step 9.<\/b> Click on your Windows partition, click Expand Partition, and choose the unallocated space you erased in Step 3. <\/p>\n<p><b>Step 10.<\/b> Click apply and then restart Windows to complete the changes. You should now see the new space added to your Windows partition.<\/p>\n<p><b>Step 11.<\/b> Optional final step, reenable OS X SIP. Boot to your Recovery Partition, start the Terminal, and type:<br \/>\n<code><br \/>\ncsrutil enable<br \/>\n<\/code><\/p>\n<p><b>Step 12.<\/b> Troubleshooting: If something has gone wrong and Windows is no longer bootable, try <a href=\"http:\/\/fox-gieg.com\/tutorials\/2017\/repair-windows-boot-drive\/\">these repair steps<\/a> to recover.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After creating a Windows Boot Camp partition on a Mac, you might eventually run out of space and want to make it larger. Here&#8217;s how to do it without reinstalling Windows. ***Remember to back up first, because a mistake here could erase all data on your machine!*** Step 1. By default, newer versions of OS [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[22],"tags":[],"_links":{"self":[{"href":"https:\/\/fox-gieg.com\/tutorials\/wp-json\/wp\/v2\/posts\/963"}],"collection":[{"href":"https:\/\/fox-gieg.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fox-gieg.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fox-gieg.com\/tutorials\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/fox-gieg.com\/tutorials\/wp-json\/wp\/v2\/comments?post=963"}],"version-history":[{"count":6,"href":"https:\/\/fox-gieg.com\/tutorials\/wp-json\/wp\/v2\/posts\/963\/revisions"}],"predecessor-version":[{"id":975,"href":"https:\/\/fox-gieg.com\/tutorials\/wp-json\/wp\/v2\/posts\/963\/revisions\/975"}],"wp:attachment":[{"href":"https:\/\/fox-gieg.com\/tutorials\/wp-json\/wp\/v2\/media?parent=963"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fox-gieg.com\/tutorials\/wp-json\/wp\/v2\/categories?post=963"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fox-gieg.com\/tutorials\/wp-json\/wp\/v2\/tags?post=963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}