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

m4v3r1ck

macrumors 68030
Nov 2, 2011
2,607
555
The Netherlands
Thanks

Great find, thanks! I've reposted that below but formatted as code as the line breaks in your post could have led to problems for people not familiar with terminal - I also changed ~/Downloads to /Applications as this would be the normal location - I hope you don't mind!

Code:
sudo hdiutil attach /Applications/Install\ OS\ X\ 10.10\ Developer\ Preview.app/Contents/SharedSupport/InstallESD.dmg
sudo asr restore -source /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg -target /Volumes/Untitled -erase -format HFS+
sudo rm /Volumes/OS\ X\ Base\ System/System/Installation/Packages
sudo cp -a /Volumes/OS\ X\ Install\ ESD/Packages /Volumes/OS\ X\ Base\ System/System/Installation/Packages
sudo cp -a /Volumes/OS\ X\ Install\ ESD/BaseSystem.dmg /Volumes/OS\ X\ Install\ ESD/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System

Great guide for using Terminal, even for an unix-noob like me! Thanks
 

aholeinthewor1d

macrumors newbie
Mar 3, 2013
20
1
Of course you can install it without making the usb.

But the usb is a very good thing to have.

For a start, if you install directly from the installer app it will delete itself.

So if you want to install on several machines, the usb is better because you won't have to redownload it every time.

You can use it to wipe a drive to do a clean install.

You can also use the disk utility inside it to repair disk (although permissions repair seems disabled at the moment).

Usually you can also use it to restore from a backup (but that also seems to be missing at the moment).

I actually did it both ways with Yosemite for 2 computers and the bootable usb was faster than running the installer app.

After installing it to my second partition the installer remained in my main partition's applications folder. Also total install time was about 10-15 minutes. Late 2013 13" rMBP
 

RedRaven571

macrumors 65816
Mar 13, 2009
1,128
114
Pennsylvania
LOL, tried installing it on a 32GB flash drive, not such good results.....

Going to try 320GB external FW HDD. Also, after installing Yosemite on external drive, I could not see my Mavericks partition as a bootable drive. I had to hold down CMD + R while booting, then choose my 10.9.3 partition from the Start-up drive section of the apple menu.
 
Last edited:

yeldarbnamdlog

macrumors member
Jun 3, 2014
52
0
LOL, tried installing it on a 32GB flash drive, not such good results.....

You're never going to have 'good' results, installing an operating system - ANY operating system, onto an external drive...ESPECIALLY a very early build 'preview' Operating System.

What you want to do, if you are KEEN to try 10.10, is to use disk utility to create a new partition of your main, internal hard drive, and install 10.10 onto that.

Worst case scenario, you hate it, so you reboot with your 'main' partition, and then remove the 10.10 partition in Disk Utility - No harm, no foul!
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
34,482
16,197
California
What you want to do, if you are KEEN to try 10.10, is to use disk utility to create a new partition of your main, internal hard drive, and install 10.10 onto that.

Worst case scenario, you hate it, so you reboot with your 'main' partition, and then remove the 10.10 partition in Disk Utility - No harm, no foul!

Not necessarily. Something odd is going on with Yosemite installs to a second partition. See this thread and also this thread.
 

ken.kin

macrumors newbie
Jun 11, 2014
1
0
Hey guys!

I tried to copy a full OSX 10.10 installation from downloaded app to usb stick, but I couldn't!

I used createinstallmedia and I received the error: /Volumes/osx is not a valid volume mount point.

I'm sure this volume is mounted.

Anyone?

Modify the string value "CFBundleShortVersionString" of "Install OS X 10.10 Developer Preview.app\Contents\Info.plist" from "1.4.3" to "1.4.1", and createinstallmedia works fine.

https://www.facebook.com/photo.php?...495094543.1073741826.520454542&type=1&theater
 

tywebb13

macrumors 68040
Apr 21, 2012
3,079
1,750
Modify the string value "CFBundleShortVersionString" of "Install OS X 10.10 Developer Preview.app\Contents\Info.plist" from "1.4.3" to "1.4.1", and createinstallmedia works fine.

https://www.facebook.com/photo.php?...495094543.1073741826.520454542&type=1&theater

Yes you are right. This does seem to get createinstallmedia working. I was able to use your method to get createinstallmedia to make a bootable usb of yosemite and install it on a partition. But the resulting installer (which renames itself InstallAssistant on first boot and then OS X Installer on second boot) is much slower. This may be worth the wait though because it did install a recovery partition which the other method did not do.

After fixing the Info.plist file, I used this to make the usb:

sudo /Applications/Install\ OS\ X\ 10.10\ Developer\ Preview.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ 10.10\ Developer\ Preview.app --nointeraction

However the installer still creates logical volume groups and I still had to fix it with this method before the partitions got back to normal - and a recovery partition for 10.10 appears when booting up with the option key:

To fix partitions, you can run this in terminal:

diskutil cs list

and then

diskutil coreStorage revert lvUUID

where lvUUID is the last lvUUID reported by the previous Terminal command.

You may have to restart for everything to get back to normal after you have run these commands in Terminal.
 
Last edited:

dmccloud

macrumors 68040
Sep 7, 2009
3,146
1,902
Anchorage, AK
After installing it to my second partition the installer remained in my main partition's applications folder. Also total install time was about 10-15 minutes. Late 2013 13" rMBP

What I always do is once the installer is downloaded, I copy it to an external drive before even beginning the installation process. That way I have it in case I need to use it again at a later time (or even if I just need to install it on a different machine.
 

m4v3r1ck

macrumors 68030
Nov 2, 2011
2,607
555
The Netherlands
Very good practice indeed

What I always do is once the installer is downloaded, I copy it to an external drive before even beginning the installation process. That way I have it in case I need to use it again at a later time (or even if I just need to install it on a different machine.

Very good practice indeed, this way the original first installer 10.9.0 will not be overwritten by 10.9.1/2/3/4. A great way to revert to an original OS version. I do exactly the same.
 

tywebb13

macrumors 68040
Apr 21, 2012
3,079
1,750
Now that we have got createinstallmedia working again for yosemite, here is a more thorough set of instructions:

Bootable USB of yosemite installer made with createinstallmedia

In attempting to make a bootable usb of yosemite, people previously had a lot of difficulty with createinstallmedia before and had to resort to using other manual methods. But there is a fix you can do to an Info.plist file in the yosemite installer which will then allow the createinstallmedia unix executable file to work properly (thanks to ken.kin).

1. Fix the Info.plist file

Right click on Install OS X 10.10 Developer Preview and then Show Package Contents. Open the Contents folder and then open Info.plist with textedit and change the string value of CFBundleShortVersionString from 1.4.3 to 1.4.1. Save the file.

2. Make the bootable usb

Now format an 8 GB USB drive which should be called Untitled and formatted as Mac OS Extended (Journaled). The installer should be called Install OS X 10.10 Developer Preview.app and should be in your Applications folder.

Run this in terminal and wait about 20 minutes:

sudo /Applications/Install\ OS\ X\ 10.10\ Developer\ Preview.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ 10.10\ Developer\ Preview.app --nointeraction

3. Install yosemite

You can boot up and install yosemite from the bootable usb by holding the option key when booting up and then selecting the usb to boot up from that.

4. Fix partitions (including the recovery partition)

If the yosemite installer creates logical volume groups, you can run this in terminal to get your partitions back to normal. This will also make a recovery partition visible when you boot up when holding the option key down.

diskutil cs list

and then

diskutil coreStorage revert lvUUID

where lvUUID is the last lvUUID reported by the previous Terminal command.


You may have to restart for everything to get back to normal after you have run these commands in Terminal.
 

tywebb13

macrumors 68040
Apr 21, 2012
3,079
1,750
We basically now have 3 methods for making the bootable usb.

They all work, which is great.

The problem though is that none of them should be necessary.

GaresTaylan's complaint that

This is the command I tried:

sudo /Applications/Install\ OS\ X\ 10.10\ Developer\ Preview.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ 10.10\ Developer\ Preview.app --nointeraction

I get: /Volumes/Untitled is not a valid volume mount point.

Even though it is.

is still quite valid.

It should work without any special hacks

So I have sent a bug report to apple.

Even though there are the 3 workarounds, apple still needs to fix this.
 

a1234my

macrumors newbie
Oct 22, 2014
1
0
works for me.
just beware of the mount point ( usb name when partition )
my case i name usb to: osx
it should be
sudo /Applications/Install\ OS\ X\ 10.10\ Developer\ Preview.app/Contents/Resources/createinstallmedia --volume /Volumes/osx --applicationpath /Applications/Install\ OS\ X\ 10.10\ Developer\ Preview.app --nointeraction

hope this help someone
 

ubreakifixrepairs

macrumors newbie
Aug 24, 2015
1
0
I have the solution! I realised the name of my USB was Untitled... However there was a space after the name. Rename the partition with Untitled without the space. Or you can add a space in the command:sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Yosemite.app --nointeraction
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.