Help - Search - Members - Calendar
Full Version: 10.4.8 live/install DVD with semthex kernel
InsanelyMac Forum > InsanelyMac Lounge > The X Labs > OS X LiveDVD
Pages: 1, 2
modbin
I found a really simple way to create a 10.4.8 live DVD with 8.8.1 semthex kernel (ty).
but see yourself, here is a movie captured in vmware.

http://www.mediafire.com/?endnnmdydnn

I will write down what I did exactly and post a detailed "how to" within the next days.
I need to create a Extensions.mkext with correct timestamp first.

ps.: we also have a full 10.4.8 install DVD now (10.4.4 based DVDs are gone) biggrin.gif

greets,
modbin
cbmkgd
And AMD friendly too... that's great. Looking forward to it.

Btw, would customization be straightforward, say for not loading dashboard or other dock items? Or replacing Safari with Firefox?

Thanks.
Menno
I am really looking forward to a real 10.4.8 install dvd biggrin.gif
Hagar
Well this is most interesting, and I look forwards to reading the How-To. I assume this started out with an original 10.4.8 install DVD, I didn't know there was such a beast. fun fun fun smile.gif
JaS
Awesome job smile.gif Congrats.... can i take a break now ?
ampTK
Thats great! I hope you will publish the disk image as well as an How-to when you are done.
REVENGE
Nice modbin, will look forward to building one soon.
yoda75
It would really be awesome if the 10.4.8 Live DVD was like the Ubuntu Live CD in that it would give you the option to install by clicking a button. biggrin.gif
munky
rockin! congratulations smile.gif
batavian
hmm cant wait on demon biggrin.gif



great job 'mob
borisbadenov
In the past, when buying a computer, I would bring in a Linux live cd with me to a store in order to see how compatable the hardware was with whatever flavour of Linux I wanted to try. I admit, I can be a lazy sod but I would rather be spending my time running a working OS than to sit for a week plugging away at it til I got it configured my way (or at least til the next build was out and start all over).

Now, with the live osx cd, it will great fun to try it out in a store and test it out on a computer/laptop that I have my eyes on. Even more fun is to watch the sales staff watch as the OS boots up. It is the simple things in life that appeal to me.

Boris
modbin
QUOTE(borisbadenov @ Nov 17 2006, 06:35 PM) *
Now, with the live osx cd, it will great fun to try it out in a store and test it out on a computer/laptop that I have my eyes on. Even more fun is to watch the sales staff watch as the OS boots up. It is the simple things in life that appeal to me.

Boris

I already did this with my 10.4.4 live /install DVD and it was big fun biggrin.gif

back to topic:

Back in town for the weekend I had some time to write down the "how to" for you.
I`m not shure if I replaced the keychain folder in
/private/etc/Ramdisk/contents/private/var/root/Library/ ,test it.

How to create a 10.4.8 live DVD:

-follow semthex`s guide to install 10.4.8 onto a seperate partition,
boot 10.4.8 enable root user and make it autologin
install your favorite apps and setup your preferences and so on.
open keychain access and delete your keychains

-reboot and check if everything is working (all permissions correct?)!

-reboot to your first OS X install (not the 10.4.8 you just created!)

-open teminal and mount a jas or myzar osx install iso you have laying around
"hdiutil attach dragyourimagehere -readwrite" without quotes
save the automount folder for later use
-delete everything inside the image we just need the boot sector
finder won`t allow you to delete the .trashes and desktop db/df files, it`s ok.

-open Disk Utility ,select the empty iso and click restore
as source drag in the new 10.4.8 hd install you created
as destination the iso
click restore (don`t check Erase Destination)

-wait (time for some hot coffee/girlfriend)

-done? fun? ok save the /private/var/root/Library/Preferences folder for later use
delete the private folder and replace it with my patched one.

cut the following folders
/Library/Caches
/Library/Logs
and paste them into
/private/etc/Ramdisk/contents/Library/

now cut
/System/Library/Caches
and paste it into
/private/etc/Ramdisk/contents/System/Library/
now
/Users
and paste into
/private/etc/Ramdisk/contents/

now paste in the following symlinks
/Library/Caches
/Library/Logs
/System/Library/Caches
/Users

paste in back the automount folder
paste in the RamDisk command into /usr/bin/
paste in /System/Installation/CDIS

delete the /System/Library/Extensions.mkext

add the kernel flags -v -legacy in /Library/Preferences/SystemConfiguration/com.apple.boot.plist
-v is not needed if you specify a fixed ramdisk size in /private/etc/rc

Attention! changing the kernel afterwards will not work because of the kernelcache

please test if this works for you and post your results here, ty
It`s pure fun to have an OS X live DVD.

ps.:for a install dvd you have to repack the EssentialSystemSoftwareGroup.
open osinstall.mpkg with pacifist and take a look at it.

greets,
modbin pirate2.gif

edit:the zip should be ok now

http://www.mediafire.com/?8njmmzjj04i
SaberSHO
awesome guide modbin wink.gif cant wait to try this out...i might just go to BestBuy just to freak some people out when their shiny new compaqs boot up into os x wink.gif
mac.nub
QUOTE(SaberSHO @ Nov 18 2006, 06:35 PM) *
awesome guide modbin wink.gif cant wait to try this out...i might just go to BestBuy just to freak some people out when their shiny new compaqs boot up into os x wink.gif


Haha. Nice SaberSHO.

modbin - great guide! I'll be testing it out later on my USB HD, i'd love to have a pre-made 10.4.8 image (with semthex beta 3 kernel - so I can boot in VMWare with both cores wink.gif)

Nice work smile.gif

Edit: Didn't like me adding a USB HD in VMWare... looks like i'll have to wait til I get some DVD-R's.
Darth OS X
Just finished replacing files and am burning now I will report back on what happens.

EDIT: It boots but ramdisk isn't working...almost there!

P.S. I made a channel on irc #live.dvd to talk about the live dvd and the progress and errors and whatnot so join if you need help or suggestions.
eto
im tryin this now.. these aint very clear [to me ]
now paste in the following symlinks
/Library/Caches
/Library/Logs
/System/Library/Caches <- paste where? and its resisting
/Users

paste in back the automount folder
paste in the RamDisk command into /usr/bin/
paste in /System/Installation/CDIS <- FROM where?
Dragon
paste in the files from your osx installation into your mounted dvd
btw,
tip : you can use windows+shift+g to get to folders you can't find in the finder
and to get the the hidden folders on the dvd use windows+shift+g and type /Volumes/Mac OS X Install Disc x86/ <----- path e.g /usr/libexec


Dragon
cbmkgd
Thank you modbin for the guide.

I have a few questions too, hoping they're not too noobish:
  • After mounting the myz/jas iso, the guide says "save the automount folder for later use". But I see no such folder in either iso's. (I've unhidden files/folders with Onyx).
  • Near the end of the guide it says: "paste in /System/Installation/CDIS"; I assume this was saved from the above iso, right?
  • The dvdroot.zip also contains two folders, "ramdisk" and "ramdisk.inkernel", each containing a symlink. The guide doesn't refer to them; where should we put them? Do we put both folders in the root of the dvd?
  • /private/etc/RamDisk/contents/Library/ contains a folder "Application Support/copy and paste here". I assume it is the /private/var/root/Library/Preferences folder that was saved after the Restore, right?
Darth OS X
1: dont worry about the automount after restoring and booting it showed up.
2: Installation is for if you need install and yes from previous.
3: Ramdisk and Ramdisk.inkernel both go in / (root) of the iso.
4: It is actually the one from the previous install that you restore onto the iso.

I'm not sure of the folder on #4 but i will check and change it.
cbmkgd
Ok, thanks for the clarifications.

As for #4, ok, I see a bit better now. We should then just copy to the RamDisk/contents/Library/ the /Library/Application Support that is already in the Live image.

Now to know of what use is the saved "/private/var/root/Library/Preferences"; probably to place in same place as above, but will wait for confirmation.

Also, what minimum is suggested for the ramdisk?
Darth OS X
Minimum suggested is 30 as it says when booting in -v but i would go with like 60.
cbmkgd
Well, I got it going (in vmware), and mostly worked well, except a few details, probably because I mistepped at some point.

Got some errors messages in the first moments, but could be vmware related; will check on that when testing natively.

When coming in the GUI, I get "Home folder of user 'root' not located..." etc. I'll recheck every step and be careful for the next build.

Also get three "?" in the dock: for iPhoto, iMovie and iMovieHD... Now, I never installed those! So might be phantoms from modbin's 'private' folder; will check later to remove these.

Since this was quite slow in vmware, didn't do extensive testing. One thing I noticed was AddressBook bouncing but not opening. Not that important by itself: probably related to my 'Home' problem above.
So I'll solve that problem before reporting anything more...

Overall, quite impressed by this MacPE... Great work modbin (and of course semthex too). And thanks Darth for the tips.

Eventually will install TechTool Pro; the TTP doesn't boot on my hackintosh, so hoping that this LiveDVD will solve this problem indirectly.
munky
any chance of someone slapping a working ISO onto the usual places?
modbin
The reason why you get the ?`s in dock and the "root folder is not located..." message is:
The main ramdisk is not working, it can`t copy the /private/etc/RamDisk/contents/ to /ramdisk/contents/
I was in irc and someone had exactly the same issue. If you boot with -v you will see the message "unable to copy contens" or similar.This never happend to me it might be a permission problem.Try to correct them.
It will fasten up booting when it works.

I will try to reproduce the error and fix it.

greets,
modbin

ps.:you can find me in irc now for the next few hours.
Darth OS X
cbmkgd: I am going to try to work on fixing those problems as well and do some testing for modbin and try to fix the few things that don't work correctly.
1 suggestion I have is to take the iso and check the disk in Disk Util and if it has errors repair it.
cbmkgd
Didn't get any "unable to copy contents" message; I did get a couple of 'copy' messages related to ramdisk, followed by "done creating ramdisk".

To make sure, I redid everything, first by fixing permissions on osx install (since I've messed a bit with it since), then following the guide.
Still pasting the "/private/var/root/Library/Preferences" folder in the "/private/etc/ramdisk/contents/Library/" folder... is this confirmed? No mention in the guide.
Or should it go into "/private/etc/RamDisk/contents/private/var/root/Library"? blink.gif

So after a new image, for which I repaired the iso permissions (just a few repairs) and verified disk (no problem found), I tried again.
(To repair permissions on the iso, I had to use Revenge's suggestion)

Same result.

(Note: I do get a diskarb error, but that might be a vmware thing.
The "notify[69]: config file /etc/notify.conf not owned by root: ignored" definitely doesn't look good.
Nor "cupsd: unable to read configuration file '/private/etc/cups/cupsd.conf' exiting!"
And then "Failed to stat homedir chdir returns -1 for /var/root"
)

====

Apart from this, I did put the "-v -legacy" in the plist. But about the "-legacy": is this related to semthex's suggestion to use this in his former kernels (not needed for recent ones)? Or something necessary for the Live osx to work properly?
asapreta
Can I put my necessary/unique extensions in this compilation?
Darth OS X
I believe so I am using Titan with mine and it works correctly as well as a few of the Ethernet port drivers from a 10.4.6 DVD.
asapreta
I wanna try it.
This is great, but I have some issues with this part too:

QUOTE(eto @ Nov 19 2006, 08:22 PM) *
im tryin this now.. these aint very clear [to me ]
now paste in the following symlinks
/Library/Caches
/Library/Logs
/System/Library/Caches <- paste where? and its resisting
/Users

paste in back the automount folder
paste in the RamDisk command into /usr/bin/
paste in /System/Installation/CDIS <- FROM where?


I'll start the "new" 10.4.8 intallation on a new partition while I wait for further explanations!

Thanks!
modbin
just fixed the ramdisk error (root folder is not located..), it should work now for everyone.
If you got this error the main ramdisk didn`t start up correctly, resulting in a non working system.
I will upload a new zip tomorrow.

modbin blink.gif
Tush
QUOTE(modbin @ Nov 24 2006, 06:59 PM) *
just fixed the ramdisk error, it should work now for everyone.
I will upload a new zip tomorrow.

modbin blink.gif


Thx mate. I didnt have success so far.
Darth OS X
Thanks modbin,

Sorry i have not been online to test I am on vacation for thanksgiving but i will be back on Monday.

thanks again for correcting the ramdisk!
cbmkgd
Yes, thank you, looking forward to it, patiently.
Darth OS X
Modbin,
Try to get those files hosted somewhere as soon as possible...I want to see the look on the system admins face at school when i boot his server/my computer into OSX smile.gif
modbin
Part II

ALWAYS WORK AS ROOT!

please test in vmware first.
vmware can`t handle hybrid iso/hfs+ media! - mount the iso with daemon tools

you just need to replace the /private/etc/rc script.
make shure you have the ramdisk and ramdisk.inkernel folders at /

You also need /Library/Preferences/SystemConfiguration/autodiskmount.plist from a install dvd
make shure all integer values are 0 in
/Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist


delete everything in /Library/Preferences/ exept com.apple.loginwindow.plist, /SystemConfiguration and /DirectoryService
delete everything inside /DirectoryService
just to be save for the first run.


delete the caches inside
/private/etc/RamDisk/contents/Library/Caches
/private/etc/RamDisk/contents/System/Library/Caches

the folder
/private/etc/RamDisk/contents/Library/ApplicationSupport is not needed - delete it.

repair permissions with diskutility!
hdiutil attach yourisohere -readwrite -owners on

kernel flag -legacy is not needed in new kernel

you may want to create a working Extensions.mkext
boot your hd install, login as root and open a terminal window
cd desktop
kextcache -a i386 -m Extensions.mkext /System/Library/Extensions


notes:

-the diskarb error (I also get this error on my hd install, can someone confirm?)

-the launchd bug: launchd.c:1990:17: ioctl(s6, SIOCAIFADDR_IN6, &ifra6) != -1 (same as above)
on 8.4.1 based systems I get ioctl ipv6 file exists

-if you boot native watch out for netinfo connection failed for 127.0.0.1/local
(I also got this error on my hd install sometimes, not shure if it is my hardware)
if you get this error you can`t login,
setting up the loopback address failed and netinfo can`t talk to itself
the passwd won`t work even if it is correct

-if you get errors it is 90% related to the rc script.
open it with textedit to get some idea what I did and improve it.

-I won`t upload this dvd with my 56k so don`t wait for it!


greets,
modbin


http://www.mediafire.com/?dntzyyxantn
asapreta
Will try again the LiveDVD procedure.
Thanks for the new files.
Darth OS X
Hey ModBin thanks for the updated files and instructions!

I will test today and downloading as we speak.
cbmkgd
Found some time to test these latest changes, in vmware.

They actually solved the 'root' and dock problems.

Still a long pause after initial booting... well, only slightly more than a minute actually, nothing dramatic.

The connection to my machine through vmware (host connection only) showed up in Network, but 'alias' is said to be wrong; possibly (unexisting) vmware tools could be needed and explains this, i don't know.

Before trying natively, i'll redo everything with newer kernel, more optimizations (kill that dashboard!), some more tools, etc.

Thanks again modbin.
thedguy
Modbin, you rock for this...and anyone involved.

I made a disc, worked great. Based it on a jas 10.4.8 install. I couldn't get it to work in vmware, but I burned it, and fired it up and ran the first time.

BTW, thanks to this disc/tutorial, I have found a glimpse of hope, that IDE support for my motherboard can be had in the install disc. This is the ONLY thing OSX Related that has booted from the IDE on my motherboard (has 965/ich8, so no uses an extra IDE chipset).

With all that being said, it's horribly slow (took over 10 minutes to boot), I'm not worried about it personally, but thought I'd mention it.

Oh and for some reason the disc ONLY works on my system. Not sure if there's anything I can do, but when I fired it up on my brothers box, it locked up loading an extension.

One last thing, how'd you make everything fit on the disc? I had to fight for things to remove, then found a file called "sleepimage" in the /vm folder I think, didn't seem to affect the system, but cut down on the install size.

Thanks for this...
Dustin


Ps. Any testing I can help out with, I'd be glad to do. Just keep in mind I'm still new to mac, though I have boat loads of windows, and decent *nix experience.
modbin
if you have ich7/8 chipset you need paulicat`s IOATAFamily.kext or booting in vmware/other machines will not work.
some people could not log in booting native, I fixed it will upload soon.

if you got errors post them and I will try to fix.

greets
modbin
B612
QUOTE(modbin @ Nov 30 2006, 07:13 PM) *
if you have ich7/8 chipset you need paulicat`s IOATAFamily.kext or booting in vmware/other machines will not work.
some people could not log in booting native, I fixed it will upload soon.

if you got errors post them and I will try to fix.

greets
modbin


Is it possible to make a live DVD without having MAC OS X on two partitions? I mean, I have MAC OSX and WinXP. Is it possible to make a live DVD from WinXP, by using the programs and the content of the HD with MAC OSX???? construction.gif
Rammjet
QUOTE(B512 @ Nov 30 2006, 01:52 PM) *
Is it possible to make a live DVD from WinXP, by using the programs and the content of the HD with MAC OSX????

Or maybe one Win/VMWare virtual installation of OSX and one real partition of OSX?

Then, maybe two virtual installs of OSX using VMWare - with no real OSX partitions?
modbin
QUOTE(Rammjet @ Nov 30 2006, 07:59 PM) *
Or maybe one Win/VMWare virtual installation of OSX and one real partition of OSX?


That`s the way I do it
B612
then I should learn how to make a virtual installation of OSX under VMWare!!!?? shock.gif
Darth OS X
Yes, you should that is what I am doing now because my other installation has an old kernel and tons of extraneous programs on it. So I am about to test a vmware install to make sure it works and then make a new Live DVD.
thedguy
QUOTE(modbin @ Nov 30 2006, 12:13 PM) *
if you have ich7/8 chipset you need paulicat`s IOATAFamily.kext or booting in vmware/other machines will not work.
some people could not log in booting native, I fixed it will upload soon.

if you got errors post them and I will try to fix.

greets
modbin


Thanks, I was needing that bit of info.
modbin
fixed some errors with native booting on some machines

http://www.mediafire.com/?8nmi5ybz4ej

greets,
modbin
Dragon
i gave up making the 10.4.4/5 livedvd modbin... never got dock to load. i screwed my os x install last weekend and now i'm on holidays i'm going to try your 10.4.8 guide with the sse2 kernel. i'll post what happens.

Dragon
asap18
im taking it theres no way of doing this from a real mac by changing the kernel, please correct me if im wrong.
asapreta
IŽll give it another try this hollidays
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.