StartBlock is the number of the first block in the unallocated space and NumberOfBlocks is the number of free blocks or smaller. Now add a new JHFS+ volume with gpt: sudo gpt add -b StartBlock -i IndexNumber -s SizeOfVolume -t 48465300-0000-11AA-AA11-00306543ECAC /dev/disk0 To create a new volume with gpt you have to unmount all mounted volumes on disk0 (first the CoreStorage volume, which has its own disk identifier disk2 but resides on disk0, then all other mounted volumes on disk0) diskutil umountDisk /dev/disk2 With i=1: EFI 2: Fenchurch 3: BxxxxxData 4: Apple_CoreStorage 5: Recovery HD and about 70.2 GB free space (assuming you shrunk your CoreSorage volume to ~279 GB in the previous step to be able to create a new 70 GB volume). Gpt show: /dev/disk0: Pri GPT at sector 1 To add an additional partition for your future El Capitan volume enter first: sudo gpt -r show /dev/disk0Įxample listing: gpt show: /dev/disk0: mediasize=500119476736 sectorsize=512 blocks=976757816 Your Recovery HD should be moved automatically. With LVUUID: UUID of the logical volume and size: the final size of your CoreStorage volume.Įxamples: diskutil cs resizeStack BD36C73D-860D-4DC6-B125-AD624F448B88 300g Now resize the CoreStorage volume with diskutil cs resizeStack LVUUID size With disk0: your internal disk, disk1: a fictional external boot drive with 100 GB containing your boot volume (BlinkenDonx) and disk2: your CoreStorage Volume Group YoodenVranx residing in disk0s4.Įxample listing: CoreStorage logical volume groups (1 found) Repair them and quit Disk Utility.įirst you should get an overview of your disks and the partition layout:ĥ: Apple_Boot Recovery HD 650.0 MB disk0s5 Open Disk Utility and check your disks for errors.If you are restricted to WIFI and the boot process fails, just restart your Mac until you succeed booting. I recommend ethernet because it's more reliable. On a 50 Mbps-line it takes about 4 min (presenting a small animated globe) to boot to a recovery netboot image which usually is loaded from an apple/akamai server. The prerequisites are the latest firmware update installed, either ethernet or WLAN (WPA/WPA2) and a router with DHCP activated. Restart to Internet Recovery Mode by pressing alt cmd R at startup. Detach any external drive (especially your external Time Machine backup drive) except your external boot drive.īoot from your external drive or a bootable installer thumb drive (Mavericks or Yosemite)/a thumb drive containing a full system (Mavericks or Yosemite).To resize the CoreStorage Volume Group in your case you have to use the Terminal booted to an external boot drive. To get some additional un-allocated disk space on disk0 to create a new partition you have to shrink your CoreStorage Volume Group and all subsequent CoreStorage items.
0 Comments
Leave a Reply. |