Jump to content

10.4.8 live/install DVD with semthex kernel


modbin
 Share

68 posts in this topic

Recommended Posts

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) ^_^

 

greets,

modbin

post-38694-1163343076_thumb.jpg

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 :happymac:

 

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 :hysterical:

 

edit:the zip should be ok now

 

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

Link to comment
Share on other sites

awesome guide modbin :( 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 ^_^

 

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 ;))

 

Nice work :)

 

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

 Share

×
×
  • Create New...