Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

user97908

macrumors newbie
Original poster
May 1, 2016
25
0
Washington
Hello,
My SSD was partitioned (if it's correct to say it like that) with linux, i don't have the mac recovery partition and bootcamp install is not possible. Basically i can install el capitan from network but it will just create a new mac recovery partition and erase macintosh hd and let the basics problems for bootcamp on.

Is there any way to reset completely the ssd to apple origin ? for example some free space are left, i can create from theses free space a fat32 partition with linux but mac won't be able to re-make a big macintosh hd with recovery mode and that's it. The drive utility need "journaling" the partition and don't success to do it.

Thanks
 
Pretty simple.
Boot to the Internet Recovery system: Restart holding Option-Command-R
You will see a rotating world, instead the Apple icon, indicating that you are booting to Apple's servers, and not to your internal drive.
Choose Disk Utility, and erase the hard drive.
Then, quit Disk Utility, which will return you to the menu to give you the choice to reinstall OS X. That will download all the OS X files for the system, as it originally shipped from Apple. When that completes, you will be back to the original configuration.
Note - this process completely erases your SSD. Anything that you don't have backed up will be gone, including the Linux stuff. And, you will be back to OS X, on a single partition, ready to use Boot Camp if that's what you still want to do.
 
i did it and it don't work.

linux "partitioning" make the recovery utility disk unable to empty all the disk (for example 30gb empty space made with linux won't be recovered)
 
Yes, it will...
Boot to the internet recovery again.
Launch Disk Utility.
Choose the SSD (not a partition), then choose the partition icon.
Delete all partitions. I think you can click on each one that is displayed, then click the (-), so you have only one partition showing.
If you need to, click the "resize" dot, then drag the partition "edge" until all space is taken. If that won't work, then try clicking again on each partition, and click the (-), if it is available. If there is still the empty 30GB free space, click on THAT area, and try for the (-) on that, too. You should be able to retrieve all space on the drive, so there is only one partition showing, taking all space.
Be sure to click the Apply button when you are done, as not much happens until you do that.
 
hmmm
Try it again.
I suppose if your linux install did something to modify the drive firmware (doubtful, I think), then you may need to use one of the comprehensive drive repair tools that run on Windows, such as Spinrite.

Or, it's a relatively new Macbook - Make a "genius" appointment at an Apple store. Someone there can get it sorted out. They might even need to replace your SSD.
 
i'm not looking to see a pseudo "genious" apple guy i just need the bash command to reset that.
linux didn't delete the drive firmware, it just open the entire partition system, as apple is hidden behind some config coming before. FIRST CONFIG (linux overwrite, recovery tool not) ---> layer of partition (apple overwrite).

genious guys often don't know bash. they are not really skilled in apple stores, they are just business people or people with a little skilled (who know to read their docs).
don't hope to see a specialist in an apple store :) :lol:
 
SO -
How are you going to fix it, then?

I don't "know bash" either, but I DO know a handful of useful commands, and I know how browse through the mans to get other commands to work.
Maybe you have missed this one:
Boot to internet recovery, then open the terminal.
Type
Code:
diskutil eraseDisk JHFS+ Untitled disk0
 
  • Like
Reactions: Weaselboy
Fortunately, I think you are wrong (until you prove me wrong by trying that command - exactly as I provided)
What leads you to believe that the linux partition is the end, and no chance for anything else now?

That "eraseDisk" verb for the diskutil command will (quoting the man diskutil)
Erase an existing disk, removing all volumes and writing out a new partitioning scheme containing one new empty file system volume.
Try it, then come back, report that it did not work, and I will admit that I don't know how to help you. :D
 
thanks. will be helpful. unfortunately i think it won't work.(since my dd is linux "partitioned")
I too believe the command DM gave you will work from Internet recovery. It won't care what is on there now, it should blow off everything there and format to HFS+.
 
  • Like
Reactions: DeltaMac
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.