Jump to content

How to create a Bootable Yosemite install - Updated.


Allan
 Share

11 posts in this topic

Recommended Posts

OS-X-Yosemite.png?resize=620%2C346

 

 

Prerequisites

 

1) Ensure your Mac is compatible with OS X Yosemite. These are the supported devices:

  • iMac (Mid 2007 or newer)
  • MacBook (Late 2008 Aluminium, or Early 2009 or newer)
  • MacBook Pro (Mid/Late 2007 or newer)
  • MacBook Air (Late 2008 or newer)
  • Mac mini (Early 2009 or newer)
  • Mac Pro (Early 2008 or newer)
  • Xserve (Early 2009)

2) Back up important data and settings (photos, videos, music files, documents and the like) on your Mac to an external hard drive. You can do this by using the Time Machine feature in Mac OS X, or third-party software such as Carbon Copy Cloner.

 

3) Create a bootable USB flash drive with a storage size of at least 8GB.

 

4) Download OS X 10.10 Yosemite Final from the Mac App Store and save it to the Applications folder – its default location.

 

How to Create Bootable USB Flash Drive

 

First, create bootable USB flash drive. Here is how you do it:

Plug in your USB drive into the computer and open Disk Utility (in Applications).

 

  • Select the USB drive from the left sidebar and click on Erase tab.
  • Choose Mac OS Extended (Journaled) in the format box and let the name be Untitled (default).
  • Now click on Erase button and wait until the format process completes.

Jxc.png

  • Then choose Partition tab and select 1 Partition from Partition Layout dropdown menu. Click on Option and ensure GUID Partition Table is selected as the partition scheme, with its name set to Untitled.

Kxc.png

  • After downloading the OS X 10.10 Yosemite instakker from the Mac App Store, just quit the installer and set the downloaded file's name to Install OS X Yosemite.app.
  • Launch the Terminal app (in Applications/Utilities) and type or paste the following command in, and then hit Enter:
sudo /Applications/Install OS X Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install OS X Yosemite.app --nointeraction

Note: The code above has missing double dashes in the quotes. Please replace a single "-" with "- -" when you enter the above command line in the terminal.

  • This will create the bootable USB flash drive. This takes between 10-20 minutes. Do not interrupt the Terminal or eject the flash drive during the process. Once the process completes, you will see the message "Copy Complete. Done."

The OS X Yosemite bootable USB flash drive will be ready for use and you can start the clean installation process.

How to Clean Install OS X Yosemite on Your Mac

 

Step 1: Ensure the bootable USB flash drive is plugged into your Mac and restart the computer. As soon as the start-up chime plays, press the Option key (Alt). 

 

Step 2: Choose the USB drive on the start-up drive selection screen and hit Enter/Return on the keyboard.

 

Step 3: Wait until the Yosemite installer appears on screen. This could take a few seconds or minutes.

 

Step 4: Click on Disk Utility and then hit Continue.

 

Step 5: Click on Macintosh HD from the left hand-side pane and then hit Erase tab on the top-right portion of the window. Leave all the settings at their default values and then hit Erase button at the bottom right. This will wipe all files stored on your startup hard drive.

 

Step 6: When the erasing process is complete, return to the first screen where you selected Disk Utility. Now click on Install OS X and then hit Continue.

 

Step 7: Choose the Macintosh HD partition you erased in step 5 and then click Install.

If you have followed all the steps correctly, your computer should now boot right into the newly installed operating system, OS X Yosemite, and you could cherish its stunning new UI.

 

Create bootable Yosemite ISO

 

1- You need download Install OS X Yosemite.app

2- Run this script in Terminal:

#!/bin/bash

# Mount the installer image
hdiutil attach /Applications/Install\ OS\ X\ Yosemite.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app

# Convert the boot image to a sparse bundle
hdiutil convert /Volumes/install_app/BaseSystem.dmg -format UDSP -o /tmp/Yosemite

# Increase the sparse bundle capacity to accommodate the packages
hdiutil resize -size 8g /tmp/Yosemite.sparseimage

# Mount the sparse bundle for package addition
hdiutil attach /tmp/Yosemite.sparseimage -noverify -nobrowse -mountpoint /Volumes/install_build

# Remove Package link and replace with actual files
rm /Volumes/install_build/System/Installation/Packages
cp -rp /Volumes/install_app/Packages /Volumes/install_build/System/Installation/

# Copy Yosemite installer dependencies
cp -rp /Volumes/install_app/BaseSystem.chunklist /Volumes/install_build/BaseSystem.chunklist
cp -rp /Volumes/install_app/BaseSystem.dmg /Volumes/install_build/BaseSystem.dmg

# Unmount the installer image
hdiutil detach /Volumes/install_app

# Unmount the sparse bundle
hdiutil detach /Volumes/install_build

# Resize the partition in the sparse bundle to remove any free space
hdiutil resize -size `hdiutil resize -limits /tmp/Yosemite.sparseimage | tail -n 1 | awk '{ print $1 }'`b /tmp/Yosemite.sparseimage

# Convert the sparse bundle to ISO/CD master
hdiutil convert /tmp/Yosemite.sparseimage -format UDTO -o /tmp/Yosemite

# Remove the sparse bundle
rm /tmp/Yosemite.sparseimage

# Rename the ISO and move it to the desktop
mv /tmp/Yosemite.cdr ~/Desktop/Yosemite.iso

3 - Burn the .ISO in Pendrive, and enjoy!

 

Source: Ibtimes and AppleInsiderForum

Credits for help: Duran Keeley

Edited by Allaп
Script Add
  • Like 4
Link to comment
Share on other sites

Hey Allan

 

Sorry to reply so late.

Yeah just did a find & replace from Mavericks to Yosemite and worked perfectly on my MBPr

 

Below is the code as well as attached is the script.

 

#!/bin/bash

# Mount the installer image
hdiutil attach /Applications/Install\ OS\ X\ Yosemite.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app

# Convert the boot image to a sparse bundle
hdiutil convert /Volumes/install_app/BaseSystem.dmg -format UDSP -o /tmp/Yosemite

# Increase the sparse bundle capacity to accommodate the packages
hdiutil resize -size 8g /tmp/Yosemite.sparseimage

# Mount the sparse bundle for package addition
hdiutil attach /tmp/Yosemite.sparseimage -noverify -nobrowse -mountpoint /Volumes/install_build

# Remove Package link and replace with actual files
rm /Volumes/install_build/System/Installation/Packages
cp -rp /Volumes/install_app/Packages /Volumes/install_build/System/Installation/

# Copy Yosemite installer dependencies
cp -rp /Volumes/install_app/BaseSystem.chunklist /Volumes/install_build/BaseSystem.chunklist
cp -rp /Volumes/install_app/BaseSystem.dmg /Volumes/install_build/BaseSystem.dmg

# Unmount the installer image
hdiutil detach /Volumes/install_app

# Unmount the sparse bundle
hdiutil detach /Volumes/install_build

# Resize the partition in the sparse bundle to remove any free space
hdiutil resize -size `hdiutil resize -limits /tmp/Yosemite.sparseimage | tail -n 1 | awk '{ print $1 }'`b /tmp/Yosemite.sparseimage

# Convert the sparse bundle to ISO/CD master
hdiutil convert /tmp/Yosemite.sparseimage -format UDTO -o /tmp/Yosemite

# Remove the sparse bundle
rm /tmp/Yosemite.sparseimage

# Rename the ISO and move it to the desktop
mv /tmp/Yosemite.cdr ~/Desktop/Yosemite.iso

yosemite-iso.sh.zip

Edited by Duran Keeley
  • Like 1
Link to comment
Share on other sites

  • 1 month later...
  • 4 months later...
 Share

×
×
  • Create New...