Jump to content

[How to] Make it Bootable 2009 OS X Live DVD


  • Please log in to reply
4 replies to this topic

#1
cacatuatl

cacatuatl

    CocoxcuiMac Teotl

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,117 posts
  • Location:Mēxihco
  • Interests:Maxilia para cochitlehua
OK I change place of this Tutorial to Genius Bar...

First, i can't create a launchd, to "autostart" the script (rc.netboot, rc.liveboot, etc...) in single user mode :(
But if anyone have a suggestion, thanks.

Second, changing a little the tutorial, you maybe create a Live OS X for Mac, but in fact, this guide is for OSx86.

Thanks to @spartango @TheTeam @All others for customize this script.
This guide has been translated into English via google translator so I am not responsible for any misunderstanding/translated.
This guide is based on others... Thanks to them...

In my case is Mac OS X 10.5.6 (DSDT in Bios using just this kext AppleDecrypt / AppleSMBIOSEFI / IOUSBS's / skge for my network) thanks @roisoft @Pere @fassl @makerintel

Nothing DFE/132/CD in this tutorial...

Things you maybe need:
  • The script customized
  • Chameleon 1.0.11
  • DVD R-RW-etc...
  • Target Media (USB-Flash, USB-HDD, HDD, other partition...)
  • Newly installed OS X partition
  • Other OS X partition
  • Kext's for your hardware...
ZERO (preparing the newly installed OS X)
On the way described by @spartango (I assume that you have the OS X installed on a partition functional).
  • Use (boot) the newly installed OS X.
  • Locate the /System/Library/Extensions/IOHDIXController.kext
  • Copy IOHDIXController.kext on the desktop (for example)
  • Show content kext and change the Info.plist:

<key>OSBundleRequired</key>
<string>Network-Root</string>

Replacing Network-Root with Root
  • Repeat these steps for ALL plugins kext mentioned here would be:
IOHDIXController.kext/Contents/PlugIns/
  • After modifying the IOHDIXController.kext, add it to /System/Library/Extensions/ replacing the original by this new.
  • Regenerate mkext (Deleting /System/Library/Extensions.mkext)
(in this step should be restarted again the newly installed OS X)

ONE (preparing the "Target Media")

In my case I used a HDD with a clean partition (10.6 GB) to prove that the ramdisk charge before proceeding to burn DVD.
  • First start with an other OS X that is not the newly installed OS X.
  • Have the "Target Media" ready. (This means partition with HFS+ and plenty free space)
  • A partition that give correct permissions Terminal if required, but it is not necessary:
sudo chmod -R 775 /Volumes/(Target Media)
sudo chown root:admin /Volumes/(Target Media)
* Replace (Target Media) with name of your recently created partition.
  • Now the fun part, following the above. Make a copy from terminal (with sudo) of the files suggested:

/.Spotlight-V100
/.Trashes
/.com.apple.timemachine.supported
/.fseventsd
/mach_kernel

  • These files are copied to the root of your newly installed OS X to the root of your Target Media via Terminal, for example:
sudo cp -R /Volumes/(newly installed OS X)/.Spotlight-V100 /Volumes/(Target Media)/
* Replace (newly installed OS X) with the name of yout newly installed OS X.
* Replace (Target Media) with name of your recently created partition.
  • Repeat for this:

/.Trashes
/.com.apple.timemachine.supported
/.fseventsd
/mach_kernel

  • Repair Permissions.
  • Create a new folder at the root of your Target Media with com.apple.Boot.plist , for example:

/Volumes/(Target Media)/Library/Preferences/SystemConfiguration/com.apple.Boot.plist

  • Touch a little com.apple.Boot.plist adding -v -f -s rp=file:///live.dmg in Kernel Flags:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com...yList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string>-v -f -s rp=file:///live.dmg</string>
</dict>
</plist>

*file:///live.dmg can be change to the name of .dmg to be created later.
*The Kernel Flags "-v -f -s rp=file:///live.dmg" can be omitted from the plist (in which case it will be necessary to add them manually in Darwin)
  • Repair Permissions.
  • Create a new folder at the root of Target Media:

/Volumes/(Target Media)/System/Library/

  • Then copy the generated Extensions.mkext to the newly installed OS X, use the terminal for example:
sudo cp -R /Volumes/(newly installed OS X)/System/Library/Extensions.mkext /Volumes/(Target Media)/System/Library/
  • Repair Permissions.

TWO (the famous script rc.liveboot)

Assuming you already have a script rc.liveboot (without .txt extension). In my case I did it manually from Terminal with nano because it might not only be a matter of removing the extension (.txt). I use 2 GB RAM, and I have not played in the value of the script RAMdisk
  • Put rc.liveboot in /Volumes/(newly installed OS X)/etc/
  • Give the same permission to rc.liveboot just like rc.netboot. Usually rc.netboot has permissions 755 and root:wheel:everyone so do the following in Terminal for rc.liveboot:
sudo chmod -R 755 /Volumes/(newly installed OS X)/etc/rc.liveboot
sudo chown-R root:wheel /Volumes/(newly installed OS X)/etc/rc.liveboot


THREE (Creating a .dmg compressed image of newly installed OS X)
  • Open Disk Utility.
  • Select OS X partition newly installed.
  • Create New Image with the following:

Save As: live (if you modify the script, give the same)
Where: Desktop
Image Format: compressed
Encryption: none

*This creates a compressed dmg "live.dmg" on the desktop (for example)
*This new image contains the entire volume of its newly installed OS X, of course, compressed.
  • Open and mount the image to see who pulls no mistakes and everything OK.
  • Unmount live.dmg and copy it at the root of Target Media.

FOUR (Adding Boot in Target Media)
  • Using EFI Chameleon Installer 1.0.11 (htt p://chameleon.osx86.hu/)
  • Choose the correct Volume, in this case, Target Media
  • Install
As a parenthesis, to this point... use Terminal:

ls /Volumes/(Target Media)/

You see this files:

. com.apple.timemachine.supported
.DS_Store
.fseventsd
.hidden
.Spotlight-V100
.Trashes
boot
Library
live.dmg
mach_kernel
System
usr


At this time we have a Target Media (not DVD) to boot the ramdisk

:)

Now we have to try it...
  • Start with this partition (volume) Target Media...
  • Darwin will appears, later in Single User Prompt, type the following:
sh /etc/rc.liveboot init
A message saying "messed with swap!... Setting ComputerName to ..."
  • Then type:
exit
Single User exit and then enter the "live mode".

If all this has been good and you are enjoying your "Live Mode"... continue with the next step...

FIVE (Creating a bootable DVD image hybrid of Target Media previously done)
We returned to our normal partition OS X (no Target Media)
For this step we do it an .iso with "El Torito" and the cdboot of Chameleon (previously added to our Target Media, using EFI Chameleon Installer 1.0.11)
  • With a DVD ready to burn and Target Media mounted. Put the following in Terminal:
sudo hdiutil makehybrid -o livehecabe.iso /Volumes/(Target Media)/ -iso -hfs -joliet -eltorito-boot /Volumes/(Target  Media)/usr/standalone/i386/cdboot -no-emul-boot -hfs-volume-name "Mac  OS X Live DVD" -joliet-volume-name "Mac OS X Live DVD"


After that we will have an iso image in the home directory called livehecabe.iso list for burning via Toast, Disk Utility, etc...
And none of DFE at the moment...

Saludos...
And sorry my google traduction.

#2
TheAppleFreak

TheAppleFreak

    InsanelyMac Protégé

  • Members
  • PipPip
  • 98 posts
  • Gender:Male
  • Location:/dev/null
Will this work with a USB flash drive on a Dell Optiplex 745 (it's an 8 GB one)?

'Cuz this looks really interesting; I'd hate to see this not work.


Also, by "fresh installation," does this mean I can use my BlackBook's backup DVD?

#3
mattrb

mattrb

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 318 posts
  • Location:Chicago, IL

Will this work with a USB flash drive on a Dell Optiplex 745 (it's an 8 GB one)?

'Cuz this looks really interesting; I'd hate to see this not work.


Also, by "fresh installation," does this mean I can use my BlackBook's backup DVD?


It will work, if you have a pci video card (look for low-profile, if needed), unless you got the internal video working.


By fresh installation, he means any installation that works on your computer already, as well you need another installation to deal with the fresh install that you want to create a osx live dvd with.

#4
skystar3

skystar3

    InsanelyMac Protégé

  • Members
  • PipPip
  • 54 posts
Hello .....

Thank you for your great tutorial, i have been able to make a LiveDVD based on my Snow Leopard 10.6.1 installation, but i have i silly question ;) can i be able to boot Leopard entirely on RAM ? hence i have 4GB :D like the feature (copyToRAM) that is available on PCLinuxOS distribution.

I don't if Leopard can fit entirely on RAM or not!

Thanks in advance for your help

Regards

#5
skystar3

skystar3

    InsanelyMac Protégé

  • Members
  • PipPip
  • 54 posts

Hello .....

Thank you for your great tutorial, i have been able to make a LiveDVD based on my Snow Leopard 10.6.1 installation, but i have i silly question :P can i be able to boot Leopard entirely on RAM ? hence i have 4GB :D like the feature (copyToRAM) that is available on PCLinuxOS distribution.

I don't if Leopard can fit entirely on RAM or not!

Thanks in advance for your help

Regards



Anyone have an idea? :blink:





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy