Jump to content

10.4.1/4/5 Live and Install DVD


  • This topic is locked This topic is locked
80 replies to this topic

#21
modbin

modbin

    InsanelyMac Geek

  • Developers
  • 130 posts
  • Gender:Male
Ok I deleted everything not workin on 10.4.1 anylonger :-(

@BugsBunny
draggin in DiskUtility doesn`t work maby it`s Finder I don`t know.

@REVENGE
for your 10.4.4 copy TextEdit into the Applications folder and edit the Installer to show it up in the Utillities Menu. it will load


I swiched to 10.4.4/5
it loads Finder and Dock
I post some details in a few days :)

#22
REVENGE

REVENGE

    Made of Win

  • Retired Developers
  • 684 posts
  • Gender:Male
  • Location:California, USA
Yeah, I know TextEdit edit already loads. The thing is HOW DID YOU GET DOCK AND FINDER TO LOAD? Now thats news!

#23
Swad

Swad

    Founder.

  • Administrators
  • 3,709 posts
  • Gender:Male
  • Location:Chicago
Great job, modbin! And you're smart for keeping all the documentation.

I would say that if it's too hard to make a LiveDVD that's also installable, just focus on the LiveDVD part first. Then after you get that working, maybe you can set up an installer.

#24
batavian

batavian

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts
Big thanks to you! mobdin
.. :thumbsdown_anim:

#25
modbin

modbin

    InsanelyMac Geek

  • Developers
  • 130 posts
  • Gender:Male
yeah X LABS DEV , thanks for that.

the steps posted above also work on 10.4.4/5
I sum it up a little for you.
in short: paste in what Apple removed :D


we go the rc.cdrom way to load Finder/Dock/SystemUIServer
my version of rc.cdrom is in the rar

http://rapidshare.de....4.4-5.rar.html

my image is in a shared folder on a ntfs partition in windows
all changes are made in osx installed in vmware with host-only network
use terminal: hdiutil attach draggyourimagehere -readwrite
always work as root!

below are the steps how to make a 10.4.1/4/5 (other versions may work too) Live and Install DVD:
________________________________________________________________________________
_______________

1. paste only the contents of the following
not the folder itself and skip existing files.

/System/Library/Frameworks
and
/System/Library/PrivateFrameworks

make shure you have
NetInfo.framework\Versions\A\Resources\lookupd\Agents\ds.bundle
as for some reason finder skips it sometimes.

and
/System/Library/Coresevices
and
/System/Library/LaunchDaemons
and
/System/Library/systemprofiler
and
/System/Library/services
and
/System/Library/perl/5.8.6
and
/System/Library/perl
and
/Library
and
/usr/libexec
and
/usr/bin
and
/usr/lib
and
/usr/sbin
and
/usr/share



2. now add the following folders, yeah the folder itself:

/System/Library/OuickTime
and
/System/Library/OuickTimeJava
and
/System/Library/Screen Savers
and
/System/Library/PreferencePanes
and
/System/Library/User Temlate
and
/System/Library/Automator
and
/System/Library/TCL
and
/system/Library/TextEncodings
and
/system/Library/perl/extras
and
/system/Library/perl/lib
and
/System/Library/Java
and
/usr/libexec/oah/shims


3. paste in your favorite or all Applications/Utilities
into the Applications/Utilities folder of your DVD

4. open
\System\Library\CoreServices\Dock.app\Contents\Resources\English.lproj\default.plist
with TextEdit and edit it to show up your favorite Apps instead of the default ones.
or paste in /private/var/root/Library/Preferences/com.apple.dock.plist (it will override default.plist)
make shure to place installer there.
(to install OSX open /System/Installation/Packages/OSInstall.mpkg)



5. Make a new folder called Desktop in
/private/var/root
paste in all the stuff you want to have on your Desktop.

6. change the Desktopscreen to your favarite
make shure it is also on the DVD and copy your preferences
to your DVD (same location)
/private/var/root/Library/Preferences/com.apple.desktop.plist (your desktop picture)
and
/private/var/root/Library/Preferences/com.apple.finder.plist (your finder preferences and so on)
and
/private/var/root/Library/Preferences/com.apple.dashboard.plist
and
or paste in /private/var/root/Library/Preferences/com.apple.dock.plist (it will override default.plist)
and
/private/var/root/Library/Preferences/.GlobalPreferences.plist
and
/private/var/root/Library/Preferences/com.apple.dashboard.client.plist
and
/private/var/root/Library/Preferences/com.apple.desktopservices.plist
and
/private/var/root/Library/Preferences/com.apple.MenuBarClock.plist

some preferences do not work yet :-(

7. notes:

(DO NOT ONLY READ THIS, BUILD YOUR OWN DVD AND IMPROVE IT!)

(if someone is able to use systemstarter or loginwindow please tell)



The recommend drink for working on the dvd is:

"Reissdorf Koelsch"

go and get yourself a bottle, it is the best!







How to edit a iso lokated on a ntfs volume within vmware running OSX:
1. install services for Macintosh (click help and support and search for it if you don`t know)
2. make a new shared folder for Macintosh users in Computer Management (it is also in help and support)
3. paste the image into your new shared folder
4. setup vmware with host only network; install OSX and connect to the windows network
5. mount the iso with hdiutil and edit
6. when you unmount the changes will be saved on ntfs no need to use transmac/macdrive or reboot your computer.

running server 2003 right now, maybe it also works on XP

#26
Swad

Swad

    Founder.

  • Administrators
  • 3,709 posts
  • Gender:Male
  • Location:Chicago
So Modbin, what all can the DVD you made do? Does everything work once it boots up to OS X? Is it just like having it installed? Can you just put it into most newer PCs and boot from it?

(Once I can get some of this info, I'll write an article about it and I'm sure it'll bring a lot of really interested people to help work on/improve things. :D )

#27
modbin

modbin

    InsanelyMac Geek

  • Developers
  • 130 posts
  • Gender:Male
@Mash
download the rar from my last post and watch the video inside.
it is just like having it installed,but some apps don`t work.
I think it is ram disk issue for most of them like iTunes.
most of the apps are working.

@all
is there anyone who followed my instructions and made a DVD?


update: delete or patch /usr/bin/login otherwise you get pam error when opening Terminal
(lazy me haven`t tested terminal).


make a new folder
/Network
and
/Network/Library
and
/Network/Users
and
/Network/Applications

and see what happens.


work to do for you:
make a global ram disk!
or we have to add a lot of them in rc.cdrom
and my desktop is already full of them,watch the video they are called untitled.




the following is only testing!
and only testing!

I think it is save to paste in all of your preferences com.apple.whatever.plist into/private/var/root/Library/Preferences/

paste
/System/Library/Speech/Voices
to have all the voices if you need.

added
/system/library/dictionaries
/system/library/find
searching still doesn`t work.

/System/Library/StartupItems
/System/Library/Caches
/System/Library/CFMSupport
/System/Library/ColorPickers
/System/Library/Colors
/System/Library/ColorSync/Scripting
/System/Library/ColorSync/Calibrators
/System/Library/Filters
/System/Library/Image Capture
/System/Library/Keychains
/System/Library/LocalePlugins
/System/Library/LoginPlugins
/System/Library/Modem Scripts
/System/Library/Monitor Panels
/System/Library/Printers
/System/Library/ScriptingAdditions
/System/Library/Security
/System/Library/StartupItems
/automount
/cores
/private/tftpboot

pasted
/System/Library/ColorSync/Profiles
/System/Library/Components
/System/Library/Services
/System/Library/Spotlight
/private/etc

now my /System/Library folder on DVD is completely synced to my hd one.
I only left out the extensions directory and bootcache.
do not replace anything!

made ram disk for automount and Network in rc.cdrom.
like:
#
# Create a RAM disk for /Network
#
echo "Creating RAM Disk for /Network"
dev=`hdik -drivekey system-image=yes -nomount ram://1024` # 512k
if [ $? -eq 0 ] ; then
newfs $dev
mount -o union -o nobrowse $dev /Network
fi

doesn`t work like I thought.

#28
REVENGE

REVENGE

    Made of Win

  • Retired Developers
  • 684 posts
  • Gender:Male
  • Location:California, USA
modbin, you have done more in a month than what all of us devs have been able to do for over half a year! :( BAH! You should go and start updating the main status page regularly now that you have basically fullfilled our original LiveDVD goals. Awesome work man...I think I should probably cede this forum to you :laser:

Also, I think I'll try to adapt Charles's ramdisk system to the system you've built. Hopefully, this will be a little more convenient and add some more functionality.

#29
Dragon

Dragon

    Insanely Dragon

  • Retired Developers
  • 414 posts
  • Gender:Male
  • Location:InsanelyMac forum
what's status revenge?

#30
REVENGE

REVENGE

    Made of Win

  • Retired Developers
  • 684 posts
  • Gender:Male
  • Location:California, USA
Ah guys, I've been away for the past few days. Yes, OS X LiveDVD is important, as is OS X Leopard, but there are still some things more important in life. :censored2:

#31
Dragon

Dragon

    Insanely Dragon

  • Retired Developers
  • 414 posts
  • Gender:Male
  • Location:InsanelyMac forum
more important than mac? :)

#32
BugsB

BugsB

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,513 posts
  • Gender:Male
  • Location:Kauai, Hawai'i
yes, macgirl .. :)

#33
modbin

modbin

    InsanelyMac Geek

  • Developers
  • 130 posts
  • Gender:Male
ok some hints for you revenge:


ok we will add the Charles bootcd ramdisk now

1. download bootcd and make a iso
ok it doesn`t work
you have to copy newfs_hfs from /sbin to /usr/sbin first
and if you like add the bless command from 10.4.1

2. copy some stuff from the created bootcd to your DVD; always same location
/usr/bin/RamDisk (it is also in bootcd.app)
/ramdisk
/private/etc/RamDisk
3. replace everything inside the contents folder
with your stuff

example:
/private/var/root (the complete folder)
you should now have:
/private/etc/RamDisk/contents/private/var/root
now delete /private/var/root
and replace it with a new created hex file called root
inside the hex file you should only have
/ramdisk/contents/private/var/root
in hex:
2F72616D6469736B2F636F6E74656E74732F707269766174652F7661722F726F6F74
it is like a hard link or alias,maybe you find a better way to create it.

I am no shure what the difference is between
private hex= 70726976617465
/private hex= 2F70726976617465
../private hex=2E2E2F70726976617465

some hardlinks have private some /private and other have ../private

!PLEASE FIGURE THIS OUT AS I`M NOT WORKING ON RAMDISK!

4. finally add the following line to your rc.cdrom

/usr/bin/RamDisk etc/RamDisk 5.000000 /ramdisk

maybe add -inkernel (not shure)

/usr/bin/RamDisk etc/RamDisk 5.000000 /ramdisk -inkernel

5.000000 = 5Mb

don`t forget to delete the original ramdisk in rc.cdrom

WORK TO DO:
load Loginwindow,if someone is famillar with IDA Pro please disassemble it.
that`s the main goal now,so we can remove finder,dock,systemuiserver from rc.cdrom as loginwindow does the job for us.


update of my instructions and rc.cdrom:
http://rapidshare.de...update.rar.html

#34
modbin

modbin

    InsanelyMac Geek

  • Developers
  • 130 posts
  • Gender:Male
some notes for loginwindow :construction:

use "Reset Password.app" to set new root password for your DVD or hack the original
(I really like to know what password apple set for root)

paste /private/var/db/.AppleSetupDone

add:
BUDDYCOOKIE="/var/db/.AppleSetupDone"
in rc.cdrom

loginwindow now loads :construction: instead of Setup Assistant
but doesn`t accept my password :-( Netinfo Manager does )


I have 2 questions:
where are the passwords stored in OSX?

is there anyone working on this?

#35
Neonkoala

Neonkoala

    Neon Prowess

  • Members
  • PipPipPipPipPipPip
  • 411 posts
Some information on how passwords are stored through OS X:
http://www.dribin.or..._x_passwords_2/
It seems that any reliable method for password retrieval on UNIX systems could well work for OS X with some modification to account for the use of the netinfo database.

#36
gu3d3s

gu3d3s

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 441 posts
  • Location:Fort-CE-BR
hi friends,

my excuses, I so wanted to congratulate for the excellent work!

go ahead!

[]'s guedes jr

#37
modbin

modbin

    InsanelyMac Geek

  • Developers
  • 130 posts
  • Gender:Male
My 250 Gb Maxtor crashed yesterday,every osx live related stuff is gone. :)
So no updates for the next time.

#38
REVENGE

REVENGE

    Made of Win

  • Retired Developers
  • 684 posts
  • Gender:Male
  • Location:California, USA

My 250 Gb Maxtor crashed yesterday,every osx live related stuff is gone. :compress:
So no updates for the next time.


:) :) :censored2: :censored2: :censored2: :censored2: :censored2: :censored2: :censored2: :censored2: :censored2: :censored2: :censored2:

Any chance of recovery? Was it a physical head crash?

#39
modbin

modbin

    InsanelyMac Geek

  • Developers
  • 130 posts
  • Gender:Male
the disk is physical damaged it`s not like recover the MBR or PT.
it is in Hard Disk Heaven now.

#40
Swad

Swad

    Founder.

  • Administrators
  • 3,709 posts
  • Gender:Male
  • Location:Chicago
Sorry to hear that, modbin - that really sucks.

(Mash rushes off to do a backup...)





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