Jump to content

Is it possible to create the bootable 10.4.4 DVD with maxxuss v1.0 patch?


8 posts in this topic

Recommended Posts

No, you need to create an ISO boot loader with BIOS

 

Custom BIOS bootable DVD

 

From Win2OSX Community Hacking Wiki

 

[edit]

Things to keep in mind with this Script

 

The script never mounts or needs a 10.4.3 DVD image you only need the i386 folder from 10.4.3 and a couple of kext's listed below.

The MASTERCD variable is the name of your 10.4.4 dmg you converted to an iso

MSTRCDMNTD variable is the name of the MASTERCD volume when its mounted in finder.

You will need a working verison of mkisofs which you can get from http://rapidshare.de/files/12913464/mkisofs.zip.html this can be put anywhere but the script assumes /usr/bin

Once the script has created you a new DVD you will need to add Maxxuss's patches to it as well.

 

The following are the apparent patches needed prior to burning (copied from Maxxuss' site):

Replace the mach_kernel with the one supplied with the 10.4.4 Anti-TPM patch. This is in the base (root) directory of the mounted ISO.

On the mounted ISO, modify the file /System/Installation/Packages/OSInstall.mpkg/Contents/OSInstall.dist with your text editor and change the JavaScript function hwbeModelCheck:

 

<script>function hwbeModelCheck() {

return true;

...

 

(news flash: this step apparently is NOT for dvd boot) On the mounted ISO, modify the BaseSystem package file /System/Installation/Packages/BaseSystem.pkg/Contents/Info.plist. Search for IFPkgFlagAltSourceLocation and replace the string value like shown below:

<key>IFPkgFlagAltSourceLocation</key>

<string>../../../../Volumes/Mac OS X Install Disc 1/</string>

 

[edit]

Steps to get things working

 

Convert the 10.4.4 dmg to and iso which will be about 4.73gb in size

e.g. "hdiutil convert masterdmgname.dmg -format UDTO -o masterisoname.iso"

Use hdiutil attach masterisoname -readwrite from the terminal to open the ISO in writable mode.

Remove the /usr/standalone/i386 folder from the 10.4.4 mounted ISO

Remove the Xcode Folder to free up some space.

Get the i386 folder from a 10.4.3 DVD image and copy it to /usr/standalone/ on the 10.4.4 mounted ISO

Rename the mounted name of the 10.4.4 iso from Mac OS X Install Disc 1 to Mac_OS_X_Install_Disc_1 (This is because the script doesn't like spaces in the name of a volume).

Create a custom Extensions.mkext including IOATAFamilty.kext and IONetworkingFamily.kext from the 10.4.3 DVD.

Create a folder on your desktop or other convenient place with the name Extensions.

Copy the 10.4.3 IOATAFamily.kext and IONetworkingFamily.kext from your 10.4.3 /System/Library/Extensions folder into this new one. It's best to do this via finder, as you want all contained files moved with the kexts. If you have problems seeing certain files, folders, or kexts from the Finder, use TinkerTool and disable hidden files in the Finder.

kextcache -k Extensions (this assumes your terminal is "cd" to the parent directory where your new Extensions folder lives. It should create an Extensions.mkext for you.)

Remove the Extensions folder and Extensions.mkext from the 10.4.4 mounted ISO (they are in /System/Library/).

Add your new Extensions.mkext and Extensions folder to /System/Library/ on the mounted ISO.

Un-mount (eject) the 10.4.4 iso you have been working on.

Run the script from the terminal with ./mkboot.sh

 

Below is the script for the rest of the boot image processing. You may change the MASTERCD and CDDMG variables to suit. You may copy this text and paste it into a terminal window that is editing a new file called mkboot.sh. Be sure after editing to perform a chmod +x mkboot.sh

 

 

##Begining of mkboot.sh

#!/bin/sh

 

MKISOFS=/usr/bin/mkisofs

VOLNAME="Mac OS X Install Disc x86"

MKSIOFS_QUIET=

HDIUTIL_QUIET=

I386ISO=/tmp/i386booter.iso

# This is the modified 10.4 disc with the new kernel and extensions.mkext

MASTERCD=/Users/username/Desktop/10.4.4Master.iso

# This is the name of the above disc when mounted

MSTRCDMNTD=/Volumes/Mac_OS_X_Install_Disc_1

# This give's you a DVD-R sized Disc Image

SIZE="4481M"

# The following can be anywhere you like its the the output image

CDDMG=/Users/username/Desktop/MacOSX_10.4.4DVD.iso

 

hdiutil attach $MASTERCD -owners on

mkdir -p /tmp/i386

cp $MSTRCDMNTD/usr/standalone/i386/* /tmp/i386/

cd /tmp/i386

#"$MKISOFS" -R -V "$VOLNAME" -no-emul-boot -T -J -c boot.cat -b cdboot -hide-joliet-trans-tbl $MKISOFS_QUIET -o "$I386ISO" .

"$MKISOFS" -V "$VOLNAME" -no-emul-boot -boot-load-size 4 -c boot.cat -b cdboot $MKISOFS_QUIET -o "$I386ISO" .

 

sectors=`du "$I386ISO" | tail -1 | awk '{print $1}'`

 

# create a bootable image and remove any previous copies

cd "$MSTRCDMNTD"

if [ -f "$CDDMG" -o -f "$CDDMG".dmg ]; then

rm -f "$CDDMG" "$CDDMG".dmg

fi

hdiutil create $HDIUTIL_QUIET "$CDDMG".dmg -size $SIZE -layout NONE

dev=`hdid -nomount "$CDDMG".dmg | tail -1 | awk '{print $1}'`

rdev=`echo $dev | sed s/disk/rdisk/`

 

pdisk $rdev -initialize

blocks=`pdisk $rdev -dump | grep 2: | awk -F" " '{print $4}'`

if [ "$QUIET" == "" ]; then

pdisk $rdev -dump

fi

# create the partition on the image

pdisk $rdev -createPartition "$VOLNAME" Apple_HFS $sectors `expr $blocks - $sectors`

# figure out what slice the partition was created on

slice=`pdisk $rdev -dump | grep "$VOLNAME" | awk -F: '{print $1}' | awk -F" " '{print $1}'`

 

# copy the data onto the image

dd if="$I386ISO" of=$rdev skip=64 seek=64 bs=512

newfs_hfs -v "$VOLNAME" ${rdev}s${slice}

mkdir -p /mnt

mount -t hfs -o perm ${dev}s${slice} /mnt

ditto -rsrc "$MSTRCDMNTD" /mnt

bless -folder /mnt/System/Library/CoreServices -bootinfo /mnt/usr/standalone/ppc/bootx.bootinfo -label "$VOLNAME"

umount /mnt

hdiutil eject $HDIUTIL_QUIET $dev

cd /tmp/

diskutil eject "$MSTRCDMNTD"

##End of mkboot.sh

 

 

Retrieved from "http://www.win2osx.net/wiki/index.php/Custom_BIOS_bootable_DVD"

Views

 

Article

Discussion

Edit

History

Personal tools

 

Create an account or log in

Navigation

 

Main Page

Community portal

Current events

Recent changes

Random page

Help

Donations

×
×
  • Create New...