Jump to content

OS X Live DVD

* * * * * 4 votes

  • Please log in to reply
24 replies to this topic

#1
spartango

spartango

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 147 posts
  • Location:CA USA
Not long after REVENGE's call to arms, the OS X live dvd team has struck gold!

We now have a working Live dvd construction method that is easy to follow and works quite well. In fact, it will work on either hackintosh and legit macs, depending on the kext's and boot loader used!

This method works because OSX has a disk image boot system in place to support its network boot system. IOHDIXController and kernel can take a path to disk image supplied to them, and mount it as /, via "imageboot", which recognizes a disk image as an attachable filesystem.

Further, Apple has setup a system to take a read-only disk image and attach a shadowfile to it, so that it is writeable. Intended to support a network boot system by making the user's session local and non-persistent, it is implemented in /etc/rc.netboot. Basically, vndevice (/usr/libexec/vndevice) attaches a shadow file to the dmg, and enables a copy-on-write strategy on that device--writes to the dmg are diverted to the temporary shadow file. This is much like what happens on a linux live dvd, albeit with Unionfs.

Normally the shadowfile is created on a local disk or network share, on either nfs or hfs. Under my method, the shadowfile is created on ramdisk formatted with hfs, and the system behaves exactly as if it were booted with netboot. The difference is that I specify that the dmg to boot from is local(file:///), and then manually start a customized rc script. The script behaves like rc.netboot, except i create a ramdisk and setup the shadowfile there instead of on a local disk. After that / is R/W and OS X boots normally into finder...and beyond.

More details in the link below to the InsanelyMac X Labs!

http://forum.insanel...howtopic=144128

Attached File  Picture_5.png   915.73KB   4956 downloads

#2
krrr

krrr

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 421 posts
wow that is nice start to 2009 :) . thanks for the post here.

#3
realityiswhere

realityiswhere

    Insanely Unreal

  • Retired
  • 345 posts
  • Gender:Male
  • Location:Outskirts of insanity
Now THIS is front page worthy!

#4
taylorsyn

taylorsyn

    InsanelyMac Protégé

  • Members
  • PipPip
  • 97 posts
  • Gender:Male
  • Location:California
Awesome thanks for contributing! I have been waiting for something like this! :thumbsup_anim:

#5
.Drift

.Drift

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts
That looks nice. :gathering:

#6
Glubbdubdribian

Glubbdubdribian

    InsanelyMac Protégé

  • Members
  • PipPip
  • 55 posts
  • Gender:Male
  • Location:UK
  • Interests:APPLE!! w00t!
Wow. well done everybody! definitely gonna try this as soon as i have the time.

#7
3Dman

3Dman

    a3Dman

  • Members
  • PipPipPipPipPipPip
  • 494 posts
  • Gender:Male
Thanks a lot that's really a front page news :)

#8
rorydaredking

rorydaredking

    InsanelyMac Protégé

  • Members
  • PipPip
  • 78 posts
All I can say is wow!
And Like everyone has said, this reallly is front page news.
Cheers
R

#9
bofors

bofors

    ConvertIt2Mac.com

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 3,462 posts
Nice work guys!

#10
pito

pito

    InsanelyMac Protégé

  • Members
  • Pip
  • 27 posts
  • Gender:Male
  • Location:Slovakia
  • Interests:hiking, offroad bike, swiming, PC-(programming, gaming, testing)
Thanks for nice gift for my birthday! :(
Congratulations...

#11
~pcwiz

~pcwiz

    InsanelyMac V.I.P.

  • Retired
  • 5,900 posts
  • Gender:Male
Awesome, great work!! :(

#12
jafodia

jafodia

    InsanelyMac Protégé

  • Just Joined
  • Pip
  • 3 posts
Good news!

#13
Swad

Swad

    Founder.

  • Administrators
  • 3,711 posts
  • Gender:Male
  • Location:Chicago
Great job, guys. Pretty incredible stuff.

#14
macfinity

macfinity

    InsanelyMac Protégé

  • Donators
  • 19 posts
  • Gender:Male
  • Location:London
  • Interests:OSX86 Audio/Visual Equipment Science Fiction Running
Wow, A smashing start to 2009 indeed!

#15
namio

namio

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts

Not long after REVENGE's call to arms, the OS X live dvd team has struck gold!

We now have a working Live dvd construction method that is easy to follow and works quite well. In fact, it will work on either hackintosh and legit macs, depending on the kext's and boot loader used!

This method works because OSX has a disk image boot system in place to support its network boot system. IOHDIXController and kernel can take a path to disk image supplied to them, and mount it as /, via "imageboot", which recognizes a disk image as an attachable filesystem.

Further, Apple has setup a system to take a read-only disk image and attach a shadowfile to it, so that it is writeable. Intended to support a network boot system by making the user's session local and non-persistent, it is implemented in /etc/rc.netboot. Basically, vndevice (/usr/libexec/vndevice) attaches a shadow file to the dmg, and enables a copy-on-write strategy on that device--writes to the dmg are diverted to the temporary shadow file. This is much like what happens on a linux live dvd, albeit with Unionfs.

Normally the shadowfile is created on a local disk or network share, on either nfs or hfs. Under my method, the shadowfile is created on ramdisk formatted with hfs, and the system behaves exactly as if it were booted with netboot. The difference is that I specify that the dmg to boot from is local(file:///), and then manually start a customized rc script. The script behaves like rc.netboot, except i create a ramdisk and setup the shadowfile there instead of on a local disk. After that / is R/W and OS X boots normally into finder...and beyond.

More details in the link below to the InsanelyMac X Labs!

http://forum.insanel...howtopic=144128

Attached File  Picture_5.png   915.73KB   4956 downloads


Are there any specific details/instructions on what you need to do to make it boot an intel imac?

#16
enli

enli

    InsanelyMac Protégé

  • Members
  • Pip
  • 36 posts
Thats a wonderful gift from XDev team. Great job guys !

#17
spartango

spartango

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 147 posts
  • Location:CA USA
Oh, i wish i had an intel mac(sort of, for odd reasons)...
It should be really straightforward on an intel mac if you build off of an existing OSX install DVD...Same procedure applies, just stay away from hackintosh bits.
Thanks guys, and give it a try!

#18
cartri

cartri

    Just a Cone

  • Donators
  • 407 posts
  • Location:Brazil
Could it be burned to a Flash Drive?

#19
McPhil

McPhil

    InsanelyMac Protégé

  • Members
  • Pip
  • 35 posts
  • Gender:Male
  • Location:Indiana
how about a 'bay release for us lazy folks. also, i dont happen to have a retail of mac laying around and its gonna take 2 weeks to download one with all these {censored} leechers

#20
pyrates

pyrates

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 488 posts
  • Gender:Male
I do like this. I wonder if those with special hardware that requires tweaks can create custom OS X live dvd's? And can a live dvd have more then one image on it? Like maybe create a small rescue image to boot from with all the rescue tools that you'd need.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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