Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Can't remove partition (ex Bootcamp partition)

I am trying to remove the an ex bootcamp partition..


I initially went into disc utility. Chose the partition containing the windows and clicked on the - button.


This has removed the windows stuff in the partition but left the partition there.


When I click on the partion in disk utility all the options in disk utility are greyed out.


It won't let me drag the main partition down to extend it and remove the windows partition.


Baiscally it will not let me do anything with the partition.


I have tried using bootcamp assistant but this will not let me do anything. (tried reinstalling windows but would not format the partition) Error


The reason I was deleting the partition was to do a complete format of my hard drive and a clean install of Lion.


I just can't remove the windows partition.


I have even tried the disk utility at start up (cmd an r) still all greyed out on the windows partition.


Any help would be apprecaited.


PS:Tried Stellar partitionmanager but it wont work on an encrypted drive. Didn't know my drive was encrypted.

MacBook

Posted on Jul 1, 2013 4:02 AM

Reply
44 replies

Jul 2, 2013 1:23 PM in response to khenryashley

khenryashley wrote:


When I input the enableOwnership command it's says I must be in root for this command.

Ps. Trying to erase gave me the message ownership


Ok try.


sudo diskutil unmount force disk0


sudo diskutil erase disk0


sudo diskutil mountDisk disk0



sudo stands for super user do, it's basically root and will ask for your admin password.

Jul 2, 2013 6:23 PM in response to khenryashley

Ok, I see where I screwed up.



diskutil list


Should give you the list of drives and partitions, you want the disk identifier for the internal GUID drive (should be disk0)


User uploaded file



diskutil unmountDisk force diskidentifier


diskutil eraseDisk JHFS+ MacintoshHD diskidentifier


diskutil mountDisk diskidentifier



Example based upon above: diskutil eraseDisk JHFS+ MacintoshHD disk0

Jul 3, 2013 8:53 AM in response to khenryashley

remove my hard drive then put it back in



That certainly would unmount it, but it shouldn't have been necessary as many Mac's one can't just open it up to do that.


Likely had to do with your drive being Filevaulted, I wonder if a PRAM reset would have done it?



So in the future: Boot Camp Assistant first, then undo Filevault, then RecoveryHD/Internet Recovery.



I have learnt a lot from your posts.



And I've learned a lot from your experience.


Thanks for participating and good luck. 🙂

Dec 30, 2013 11:08 PM in response to khenryashley

Here is a better way:


  1. Go to disk utilities.
  2. Click on 250.6 GB Hitachi HTS5...... This is on the top left, right above Machintosh HD partition.
  3. You will see a tab called partition on the right section.
  4. Now the box will appear showing the space consumed by the available partitions.
  5. Click on the box that represents the partition you want to remove.
  6. Click the - (negative sign) right below the box.
  7. Drag the upper box all the way down to the bottom or type the size you want on the box.
  8. If you wish to use the full space for Machintosh HD, type more than the maximum size and hit apply and it will give you the full space for Machintosh HD.

Mar 21, 2014 2:56 AM in response to ds store

Hi,


I have been reading this thread with interest as I think I am experiencing a similar problem.


I recently upgraded my 2011 27” iMac with a 3TB HDD and a 240GB SSD and created a Fusion Drive. Everything was working great.


I then wanted to re-create my BootCamp partition. I had already taken a WinClone copy of my BootCamp partition from old iMac.


I started to create a new 140GB BootCamp partition using the BootCamp Assistant. A new 140GB BootCamp drive was then created and mounted on my desktop.


I went into Disk Utility and tried to change the format of the BootCamp partition from FAT32 to NTFS (as I had thought WinClone required a NTFS partition to restore to). However this is where I encountered some problems. An error message came up (but can’t recall what it said) and the BootCamp partition unmounted.


I can now no longer access the BootCamp Partition and can’t seem to be able to erase the partition.


All options in Disk Utility to Partition are greyed out are not selectable. (ie. The Partition Layout drop down can’t be selected, ‘+’ or ‘-‘ us also unselectable. I can’t resize the partition or make any changes.


User uploaded fileUser uploaded file


I have noticed that the BootCamp partition is no longer FAT32, but appears to be Mac OS Extended (Journaled).

I have booted from a Mavericks Install USB and tried Disk Utility from there, but the situation is the same. I have run Repair Disk on both all partitions and Disk Utility stated that the Disk is fine.


I have tried to delete the partition using BootCamp, but get this error message


User uploaded file


I even tried to repeat the steps to create a Fusion Drive (per the article above), but I am unable to do this as the Terminal replies with Error -69888 Couldn’t unmount disk


What can I do to restore my iMac? The iMac still works fine otherwise. I just can’t seem to remove the partition.


Would the Terminal command to force a repartition work? How do I do that?


Please help


Andrew

Mar 21, 2014 3:08 AM in response to AndrewC1970

You can't change the format for the BC partition in OS X. you have to do that during, at the start, of the install of Windows. OS X CAN'T format any drive NTFS. That is a Windows Only format.


You have basically FUBARed your Fusion drive and the only way I know of recovering from this type of thing is to Backup OS X with Time Machine, Wipe Out the Fusion drive and then Recreate it and restore from the TM backup.


Once you FUBAR a Fusion drive with fooling around with a Windows, BCA, partition in OS X Disk Utility I don't know of any way to Restore, Put Back, the Windows partition into the Fusion drive. Other than wiping it out and starting over from the beginning. No terminal command for what you need to do.


Then use BCA to create your Windows partition and start the install of Windows to format that partition NTFS.


But I have never personally used WinClone so I have no idea if you even need to format that partition NTFS. WinClone might do that for you when it Restores Windows. Check the Winclone documentation for the details on how to use it.

Mar 21, 2014 3:51 AM in response to AndrewC1970

I have never fooled with a Fusion drive system in any way but IIRC the only way to remove one and then recreate it is to boot the system from an External Source and that external source drive has to be from at Least a Mt Lion 10.8.3 or above install.


You can't boot from the internal Recovery HD partition as that is PART OF the internal drive system.

Can't remove partition (ex Bootcamp partition)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.