Jump to content
105 posts in this topic

Recommended Posts

swag01,

 

Thanks, I know that I didn't have the correct volume name. How do I set the volume name when making the image in Tiger (Mac OS X Install DVD)? Your instructions talk about Leopard4G....

 

SMF

 

The only way I was able to do it was in the steps in this page (http://web.mac.com/owenmcgarry/iWeb/Downloads/Leopard%20on%20a%20single%20layer%20DVD.html) where it asks you to save as, save it as "Mac OS X Install DVD" and it should put the correct volume name on there.

 

You might try this too:

 

diskutil rename Leopard "Mac OS X Install DVD"

 

What this does is rename the volume named Leopard to "Mac OS X Install DVD".

 

One more thing... Make sure the image name is Leopard4Gig.sparseimage or rename it in the script to what your name is.

thanks swag01 yes I worked through this at a later stage and found bless1 was just bless from other things I had tried and I have reduced my file size by removing more .pkg files and now only get this

 

===> Mount patched image for copying...

/dev/disk6 Apple_partition_scheme

/dev/disk6s1 Apple_partition_map

/dev/disk6s2 Apple_HFS /Volumes/Mac OS X Install DVD 1

===> Copy patched image into bootable image...

Validating target...done

Validating source...asr: Couldn't validate source - No such file or directory

===> Unmount patched image so we can load the new boot image for additional work...

"disk5" unmounted.

"disk5" ejected.

hdiutil: detach failed - No such file or directory

===> Mount boot image to continue work on it...

hdiutil: attach failed - no mountable file systems

===> bless the boot image so darwin knows where to boot the installer...

No mount point for /Volumes/Mac OS X Install DVD/System/Library/CoreServices

Can't determine mount point of '/Volumes/Mac OS X Install DVD/System/Library/CoreServices' and ''

===> Update prebinding...

 

update_prebinding: temp file missing: /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib_redoprebinding

update_prebinding: temp file missing: /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib_redoprebinding

 

===> cleaning up unused files...

===> Unmount Final DVD...

hdiutil: detach failed - No such file or directory

PHASE 2: finished creating the bootable DVD. Enjoy...

 

and your script

 

echo "===> Mount patched image for copying..."

hdiutil attach "$APDIR/"$PATCHEDMG.iso.cdr

 

echo "===> Copy patched image into bootable image..."

asr -verbose -updatebless -source "$VOL" -target ${dev}s${slice} -erase -noprompt

 

echo "===> Unmount patched image so we can load the new boot image for additional work..."

hdiutil detach ${dev}s${slice} -force

hdiutil detach "$VOL" -force

sleep 5

 

echo "===> Mount boot image to continue work on it..."

hdiutil attach -readwrite "$LEOPARD4GB".dmg -owners on

 

echo "===> bless the boot image so darwin knows where to boot the installer..."

bless -folder "$VOL/System/Library/CoreServices" -bootinfo "$VOL/usr/standalone/i386/boot" -label "$VOLNAME"

 

echo "===> Update prebinding..."

echo

"$APDIR/bin"/update_prebinding -root "$VOL" -force

echo

 

#echo "===> Creating a new Extensions.kext for a faster dvd boot"

#TMPDIR="$VOL/private/var/tmp"

rm -R -f "$VOL/System/Library/Extensions.mkext"

#cp "$APDIR/Extensions.mkext" "$VOL/System/Library/Extensions.mkext"

#chmod -R 755 "$VOL/System/Library/Extensions.mkext"

#chown -R root:wheel "$VOL/System/Library/Extensions.mkext"

#kextcache -l -K "$VOL/mach_kernel" -m "$VOL/System/Library/#Extensions.mkext" "$VOL/System/Library/Extensions"

 

echo "===> cleaning up unused files..."

rm -R -f "$APDIR/"$PATCHEDMG.iso.cdr

 

echo "===> Unmount Final DVD..."

hdiutil detach "$VOL" -force

 

echo "PHASE 2: finished creating the bootable DVD. Enjoy..."

 

echo

echo

 

not sure if the source image being called Mac OS X Install DVD 1 has anything to do with it ?

thanks swag01 yes I worked through this at a later stage and found bless1 was just bless from other things I had tried and I have reduced my file size by removing more .pkg files and now only get this

 

===> Mount patched image for copying...

/dev/disk6 Apple_partition_scheme

/dev/disk6s1 Apple_partition_map

/dev/disk6s2 Apple_HFS /Volumes/Mac OS X Install DVD 1

===> Copy patched image into bootable image...

Validating target...done

Validating source...asr: Couldn't validate source - No such file or directory

===> Unmount patched image so we can load the new boot image for additional work...

"disk5" unmounted.

"disk5" ejected.

hdiutil: detach failed - No such file or directory

===> Mount boot image to continue work on it...

hdiutil: attach failed - no mountable file systems

===> bless the boot image so darwin knows where to boot the installer...

No mount point for /Volumes/Mac OS X Install DVD/System/Library/CoreServices

Can't determine mount point of '/Volumes/Mac OS X Install DVD/System/Library/CoreServices' and ''

===> Update prebinding...

 

update_prebinding: temp file missing: /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib_redoprebinding

update_prebinding: temp file missing: /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib_redoprebinding

 

===> cleaning up unused files...

===> Unmount Final DVD...

hdiutil: detach failed - No such file or directory

PHASE 2: finished creating the bootable DVD. Enjoy...

 

and your script

 

echo "===> Mount patched image for copying..."

hdiutil attach "$APDIR/"$PATCHEDMG.iso.cdr

 

echo "===> Copy patched image into bootable image..."

asr -verbose -updatebless -source "$VOL" -target ${dev}s${slice} -erase -noprompt

 

echo "===> Unmount patched image so we can load the new boot image for additional work..."

hdiutil detach ${dev}s${slice} -force

hdiutil detach "$VOL" -force

sleep 5

 

echo "===> Mount boot image to continue work on it..."

hdiutil attach -readwrite "$LEOPARD4GB".dmg -owners on

 

echo "===> bless the boot image so darwin knows where to boot the installer..."

bless -folder "$VOL/System/Library/CoreServices" -bootinfo "$VOL/usr/standalone/i386/boot" -label "$VOLNAME"

 

echo "===> Update prebinding..."

echo

"$APDIR/bin"/update_prebinding -root "$VOL" -force

echo

 

#echo "===> Creating a new Extensions.kext for a faster dvd boot"

#TMPDIR="$VOL/private/var/tmp"

rm -R -f "$VOL/System/Library/Extensions.mkext"

#cp "$APDIR/Extensions.mkext" "$VOL/System/Library/Extensions.mkext"

#chmod -R 755 "$VOL/System/Library/Extensions.mkext"

#chown -R root:wheel "$VOL/System/Library/Extensions.mkext"

#kextcache -l -K "$VOL/mach_kernel" -m "$VOL/System/Library/#Extensions.mkext" "$VOL/System/Library/Extensions"

 

echo "===> cleaning up unused files..."

rm -R -f "$APDIR/"$PATCHEDMG.iso.cdr

 

echo "===> Unmount Final DVD..."

hdiutil detach "$VOL" -force

 

echo "PHASE 2: finished creating the bootable DVD. Enjoy..."

 

echo

echo

 

not sure if the source image being called Mac OS X Install DVD 1 has anything to do with it ?

 

 

Yes, your assessment is correct. At any given time you can only have one image mounted with "Mac OS X Install DVD" otherwise you will have problems.

 

When you have multiple dvd's loaded with the same volume name, OSX puts a number behind the name. So, you must have another image mounted or a dvd in your drive with "Mac OS X Install DVD" as its volume name.

 

 

What I would do is try it again, but make sure there aren't any mounted images before you begin.

 

To see if you have any mounted images, do the following:

diskutil list

 

If you see any "names" named "Mac OS X Install DVD", then unmount it.

 

I'll have to look at the script and see if there is a way to remove the requirement.

Ok I am back to this

 

===> Copy patched image into bootable image...

Validating target...done

Validating source...done

Erasing target device /dev/disk5s3...done

Validating sizes...

Not enough space on /dev/disk5s3 to restore

===> Unmount patched image so we can load the new boot image for additional work...

"disk5" unmounted.

"disk5" ejected.

"disk6" unmounted.

"disk6" ejected.

===> Mount boot image to continue work on it...

/dev/disk5 Apple_partition_scheme

/dev/disk5s1 Apple_partition_map

/dev/disk5s3 Apple_HFS /Volumes/Mac OS X Install DVD

===> bless the boot image so darwin knows where to boot the installer...

No mount point for /Volumes/Mac OS X Install DVD/System/Library/CoreServices

Can't determine mount point of '/Volumes/Mac OS X Install DVD/System/Library/CoreServices' and ''

===> Update prebinding...

 

update_prebinding: temp file missing: /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib_redoprebinding

update_prebinding: temp file missing: /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib_redoprebinding

 

===> cleaning up unused files...

===> Unmount Final DVD...

"disk5" unmounted.

"disk5" ejected.

PHASE 2: finished creating the bootable DVD. Enjoy...

 

I have tried deleting all .pkg files from the sparse image file and all languages and printer drivers from the osinstall directory and x code what else is there that I need to do to complete the last stages I have been trying many times and still will keep trying

 

I believe all the other errors that follow are due to the first error of not enough space

 

I might try to put a sleep=30 command somewhere so I can see the size of the temp mounted disk just before this error

Ok I am back to this

 

===> Copy patched image into bootable image...

Validating target...done

Validating source...done

Erasing target device /dev/disk5s3...done

Validating sizes...

Not enough space on /dev/disk5s3 to restore

===> Unmount patched image so we can load the new boot image for additional work...

"disk5" unmounted.

"disk5" ejected.

"disk6" unmounted.

"disk6" ejected.

===> Mount boot image to continue work on it...

/dev/disk5 Apple_partition_scheme

/dev/disk5s1 Apple_partition_map

/dev/disk5s3 Apple_HFS /Volumes/Mac OS X Install DVD

===> bless the boot image so darwin knows where to boot the installer...

No mount point for /Volumes/Mac OS X Install DVD/System/Library/CoreServices

Can't determine mount point of '/Volumes/Mac OS X Install DVD/System/Library/CoreServices' and ''

===> Update prebinding...

 

update_prebinding: temp file missing: /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib_redoprebinding

update_prebinding: temp file missing: /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib_redoprebinding

 

===> cleaning up unused files...

===> Unmount Final DVD...

"disk5" unmounted.

"disk5" ejected.

PHASE 2: finished creating the bootable DVD. Enjoy...

 

I have tried deleting all .pkg files from the sparse image file and all languages and printer drivers from the osinstall directory and x code what else is there that I need to do to complete the last stages I have been trying many times and still will keep trying

 

I believe all the other errors that follow are due to the first error of not enough space

 

I might try to put a sleep=30 command somewhere so I can see the size of the temp mounted disk just before this error

 

 

Okay, making progress...

 

There is very little space available to put packages on the dvd.

 

Do a "Get Info" and see what the size is of the OSInstall folder. Mine is 2.82 GB. I also include some extra packages I created for my sound card and to update quicktime to the latest.

 

When I open the LeopardFinal.dmg, it says I have 183 MB available.

 

You might compare yours to mine and see what you have in addition. I did an ls -l above so you can see what I have installed.

ok os install folder is 2.81 G (in the patch folder) 8Kb on the sparse image the leopard4gigpathed.iso.cdr when finished stage 1 is 4.05 gig with 335.9Mb spareI then opened leoparffinal and got info from disk utility that shows this

Disk Identifier : disk5s3

Mount Point : /Volumes/Mac OS X Install DVD

File System : Mac OS Extended (Journaled)

Connection Bus : Disk Image

Partition Type : Apple_HFS

Device Tree : IODeviceTree:/

Writable : Yes

Universal Unique Identifier : E96AFD66-3F3E-3496-8CA9-4A2FDFA3A554

Capacity : 4.4 GB (4,698,140,672 Bytes)

Free Space : 4.4 GB (4,677,009,408 Bytes)

Used : 20.2 MB (21,131,264 Bytes)

Number of Files : 2

Number of Folders : 3

Owners Enabled : Yes

Can Turn Owners Off : Yes

Can Repair Permissions : No

Can Be Verified : Yes

Can Be Repaired : Yes

Can Be Formatted : Yes

Bootable : Yes

Supports Journaling : Yes

Journaled : Yes

S.M.A.R.T. Status : Not Supported

 

It seems that the leopardfinal.dmg could be where the problem is as this I think should be the burn image there is plenty of space there I am thinking that it is possible that during the creation process this is not mounted read write or does it not matter?I will try to manually copy files over but not sure how succesful it will be

 

it seems that the leopard4gigpatched file disappears so that I cant access the patched files I need can i fix this by removing the erase command here echo "===> Copy patched image into boot able image..."asr -verbose -updatebless -source "$VOL" -target ${dev}s${slice} -erase -noprompt

ok os install folder is 2.81 G (in the patch folder) 8Kb on the sparse image

 

the leopard4gigpathed.iso.cdr when finished stage 1 is 4.05 gig with 335.9Mb spare

 

I then opened leoparffinal and got info from disk utility that shows this

 

Disk Identifier : disk5s3

Mount Point : /Volumes/Mac OS X Install DVD

File System : Mac OS Extended (Journaled)

Connection Bus : Disk Image

Partition Type : Apple_HFS

Device Tree : IODeviceTree:/

Writable : Yes

Universal Unique Identifier : E96AFD66-3F3E-3496-8CA9-4A2FDFA3A554

Capacity : 4.4 GB (4,698,140,672 Bytes)

Free Space : 4.4 GB (4,677,009,408 Bytes)

Used : 20.2 MB (21,131,264 Bytes)

Number of Files : 2

Number of Folders : 3

Owners Enabled : Yes

Can Turn Owners Off : Yes

Can Repair Permissions : No

Can Be Verified : Yes

Can Be Repaired : Yes

Can Be Formatted : Yes

Bootable : Yes

Supports Journaling : Yes

Journaled : Yes

S.M.A.R.T. Status : Not Supported

 

It seems that the leopardfinal.dmg could be where the problem is as this I think should be the burn image there is plenty of space there I am thinking that it is possible that during the creation process this is not mounted read write or does it not matter?

 

I will try to manually copy files over but not sure how succesful it will be

 

 

copying the files over won't work. You loose lots of permissions and other issues.

 

for some reason asr doesn't like the size...

 

Wait, is the original sparseimage an 8GB image? When I was creating the script I tried to do this all with an 8GB image, but just removing the files didn't help. asr still thought the image was still 8Gb.

 

In my environment, I followed the instructions here: http://web.mac.com/owenmcgarry/iWeb/Downlo...ayer%20DVD.html to create my 4Gb image.

Important make sure when you do save as, that it is named Mac OS X Install DVD otherwise you will need to modify the script.

Name : xxxx.sparseimage

Type : Disk Image

 

Disk Identifier : disk5

Media Name : Apple sparse disk image Media

Media Type : Generic

Connection Bus : Disk Image

Disk Image Path : /Main/Users/Numberonekiwi/Desktop/Patch_Folder/xxxx.sparseimage

Full Path : /Users/Numberonekiwi/Desktop/Patch_Folder/xxxx.sparseimage

Partition Type : Apple_partition_scheme

Writable : Yes

Ejectable : Yes

Mac OS 9 Drivers Installed : No

Total Capacity : 4.4 GB (4,699,488,256 Bytes)

Disk Number : 5

Partition Number : 0

 

This is the sparse image I am using so 4.4 gig should be ok and when mounted

 

Name : Mac OS X Install DVD

Type : Volume

 

Disk Identifier : disk5s2

Mount Point : /Volumes/Mac OS X Install DVD

File System : Mac OS Extended (Journaled)

Connection Bus : Disk Image

Partition Type : Apple_HFS

Device Tree : IODeviceTree:/

Writable : Yes

Universal Unique Identifier : CEF82F06-01D1-3292-89AD-B515BC2C979D

Capacity : 4.4 GB (4,699,447,296 Bytes)

Free Space : 3.1 GB (3,370,594,304 Bytes)

Used : 1.2 GB (1,328,852,992 Bytes)

Number of Files : 16,504

Number of Folders : 7,752

Owners Enabled : No

Can Turn Owners Off : Yes

Can Be Formatted : Yes

Bootable : Yes

Supports Journaling : Yes

Journaled : Yes

S.M.A.R.T. Status : Not Supported

Disk Number : 5

Partition Number : 2

 

This is with all the .pkg files removed and only in the patch folder

Name : xxxx.sparseimage

Type : Disk Image

 

Disk Identifier : disk5

Media Name : Apple sparse disk image Media

Media Type : Generic

Connection Bus : Disk Image

Disk Image Path : /Main/Users/Numberonekiwi/Desktop/Patch_Folder/xxxx.sparseimage

Full Path : /Users/Numberonekiwi/Desktop/Patch_Folder/xxxx.sparseimage

Partition Type : Apple_partition_scheme

Writable : Yes

Ejectable : Yes

Mac OS 9 Drivers Installed : No

Total Capacity : 4.4 GB (4,699,488,256 Bytes)

Disk Number : 5

Partition Number : 0

 

This is the sparse image I am using so 4.4 gig should be ok and when mounted

 

Name : Mac OS X Install DVD

Type : Volume

 

Disk Identifier : disk5s2

Mount Point : /Volumes/Mac OS X Install DVD

File System : Mac OS Extended (Journaled)

Connection Bus : Disk Image

Partition Type : Apple_HFS

Device Tree : IODeviceTree:/

Writable : Yes

Universal Unique Identifier : CEF82F06-01D1-3292-89AD-B515BC2C979D

Capacity : 4.4 GB (4,699,447,296 Bytes)

Free Space : 3.1 GB (3,370,594,304 Bytes)

Used : 1.2 GB (1,328,852,992 Bytes)

Number of Files : 16,504

Number of Folders : 7,752

Owners Enabled : No

Can Turn Owners Off : Yes

Can Be Formatted : Yes

Bootable : Yes

Supports Journaling : Yes

Journaled : Yes

S.M.A.R.T. Status : Not Supported

Disk Number : 5

Partition Number : 2

 

This is with all the .pkg files removed and only in the patch folder

 

 

Here's the info for my sparseimage:

 

Name : Mac OS X Install DVD

Type : Volume

 

Disk Identifier : disk4s9

Mount Point : /Volumes/Mac OS X Install DVD

File System : Mac OS Extended (Journaled)

Connection Bus : Disk Image

Writable : Yes

Universal Unique Identifier : 17878BCD-DC26-3705-8EB2-320BE3F38C56

Capacity : 4.4 GB (4,699,484,160 Bytes)

Free Space : 166.4 MB (174,526,464 Bytes)

Used : 4.2 GB (4,524,957,696 Bytes)

Number of Files : 16,773

Number of Folders : 7,854

Owners Enabled : No

Can Turn Owners Off : Yes

Can Be Formatted : Yes

Bootable : Yes

Supports Journaling : Yes

Journaled : Yes

Disk Number : 4

Partition Number : 9

 

 

Did you follow the instructions on creating the sparse image?

fairly sure I followed then fully only difference was a different name for the sparseimage I removed all files in the package folder which is the only difference as they are in the patch folder anyway

 

I will try again later on calling the file the same as you have done and only removing some package files (although I cant see it making any difference as all files in the package folder are deleted and replaced)

fairly sure I followed then fully only difference was a different name for the sparseimage I removed all files in the package folder which is the only difference as they are in the patch folder anyway

 

I will try again later on calling the file the same as you have done and only removing some package files (although I cant see it making any difference as all files in the package folder are deleted and replaced)

 

 

Very odd. I was trying to think of other reasons it might not be working. I noticed you have using 10.4.9? Is that true?

 

Maybe Disk Utility had been changed in some way in 10.4.10?

swag01,

 

Well I'm getting a lot closer but .....

 

I mounted my Leopard4Gig.sparseimage and did a get info on the mounted drive. It's volume label was Leopard so I changed it to "Mac OS X Install DVD" and the script ran until I hit the following error -

 

 

===> Mount patched image for copying...

/dev/disk5 Apple_partition_scheme

/dev/disk5s1 Apple_partition_map

/dev/disk5s2 Apple_HFS /Volumes/Mac OS X Install DVD

===> Copy patched image into bootable image...

Validating target...done

Validating source...done

Erasing target device /dev/disk4s3...done

Validating sizes...done

Restoring ./9a581-patch.sh: line 129: 493 Segmentation fault asr -verbose -updatebless -source "$VOL" -target ${dev}s${slice} -erase -noprompt

===> Unmount patched image so we can load the new boot image for additional work...

"disk4" unmounted.

"disk4" ejected.

hdiutil: detach failed - No such file or directory

===> Mount boot image to continue work on it...

/dev/disk4 Apple_partition_scheme

/dev/disk4s1 Apple_partition_map

/dev/disk4s3 Apple_HFS /Volumes/Mac OS X Install DVD

===> bless the boot image so darwin knows where to boot the installer...

No mount point for /Volumes/Mac OS X Install DVD/System/Library/CoreServices

Can't determine mount point of '/Volumes/Mac OS X Install DVD/System/Library/CoreServices' and ''

===> Update prebinding...

 

update_prebinding: temp file missing: /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib_redoprebinding

update_prebinding: temp file missing: /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib_redoprebinding

 

===> cleaning up unused files...

===> Unmount Final DVD...

"disk4" unmounted.

"disk4" ejected.

PHASE 2: finished creating the bootable DVD. Enjoy...

I ended up with an empty file "LeopardFinal.dmg

 

Thanks,

SMF

swag01,

 

Well I'm getting a lot closer but .....

 

I mounted my Leopard4Gig.sparseimage and did a get info on the mounted drive. It's volume label was Leopard so I changed it to "Mac OS X Install DVD" and the script ran until I hit the following error -

===> Mount patched image for copying...

/dev/disk5 Apple_partition_scheme

/dev/disk5s1 Apple_partition_map

/dev/disk5s2 Apple_HFS /Volumes/Mac OS X Install DVD

===> Copy patched image into bootable image...

Validating target...done

Validating source...done

Erasing target device /dev/disk4s3...done

Validating sizes...done

Restoring ./9a581-patch.sh: line 129: 493 Segmentation fault asr -verbose -updatebless -source "$VOL" -target ${dev}s${slice} -erase -noprompt

===> Unmount patched image so we can load the new boot image for additional work...

"disk4" unmounted.

"disk4" ejected.

hdiutil: detach failed - No such file or directory

===> Mount boot image to continue work on it...

/dev/disk4 Apple_partition_scheme

/dev/disk4s1 Apple_partition_map

/dev/disk4s3 Apple_HFS /Volumes/Mac OS X Install DVD

===> bless the boot image so darwin knows where to boot the installer...

No mount point for /Volumes/Mac OS X Install DVD/System/Library/CoreServices

Can't determine mount point of '/Volumes/Mac OS X Install DVD/System/Library/CoreServices' and ''

===> Update prebinding...

 

update_prebinding: temp file missing: /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib_redoprebinding

update_prebinding: temp file missing: /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib_redoprebinding

 

===> cleaning up unused files...

===> Unmount Final DVD...

"disk4" unmounted.

"disk4" ejected.

PHASE 2: finished creating the bootable DVD. Enjoy...

I ended up with an empty file "LeopardFinal.dmg

 

Thanks,

SMF

 

Yes, it looks like for some reason asr crashed on your machine? I've never seen that happen. I choose asr because it does a direct dvd copy and you don't have problems with permissions and .DS_store being changed.

 

Are you using 10.4.10? Or, any other hacks on your system?

 

 

Do you know where you got the sparseimage? Might be the source you got the original from?

I got mine from converting the retail dvd to a 4 gig sparseimage.

 

The commands I see around the crash are different too (mainly when mounting the patched image):

 

===> Mount patched image for copying...

/dev/disk4 Apple_partition_scheme

/dev/disk4s1 Apple_partition_map

/dev/disk4s2 Apple_Driver43

/dev/disk4s3 Apple_Driver43_CD

/dev/disk4s5 Apple_Driver_ATAPI

/dev/disk4s6 Apple_Driver_ATAPI

/dev/disk4s7 Apple_Patches

/dev/disk4s9 Apple_HFS /Volumes/Mac OS X Install DVD

===> Copy patched image into bootable image...

Validating target...done

Validating source...done

Erasing target device /dev/disk3s3...done

Validating sizes...done

Restoring ....10....20....30....40....50....60....70....80....90....100

Copied 4507680768 bytes in 163.72 seconds, 26887.79 KiB/s

Verifying ....10....20....30....40....50....60....70....80....90....100

Verified block checksum 4507680768 bytes in 61.93 seconds, 71080.48 KiB/s

===> Unmount patched image so we can load the new boot image for additional work...

@Swag01, I would not worry so much about not being able to get 10.5.1 to install from the disk. Actually, I'd rather install it directly from Apple's updater because that is a good check to see that EFI is working as it should. I'll prepare an install disk from your method and let you know how it works on my system.

@Swag01, I would not worry so much about not being able to get 10.5.1 to install from the disk. Actually, I'd rather install it directly from Apple's updater because that is a good check to see that EFI is working as it should. I'll prepare an install disk from your method and let you know how it works on my system.

 

 

Yeah, I would like to install the "official download" from apple and have it automatically installed when I run the installer.

 

The advantage to this is I'm automatically at 10.5.1. from the start. Of course, this is with efi enabled.

 

I did it with the quicktime update and each time I install now, I don't have to specifically install the quicktime update.

 

As apple does more updates, I would add them to the install dvd and have them installed automatically.

 

The main reason for doing this is I reinstall OSX a lot each time.

 

There is just some problem with mpkgs calling other mpkgs I haven't been able to solve. The apple update for 10.5.1 is a mpkg, but named a pkg.

swag01,

 

I'm running 10.4.10 (the XxX version). I'm using a sparse image I created from the original install DVD. I'll try and build it again and see where I get....

 

 

UPDATE: Well I rebuilt the sparse image and get the same error - it fails at the asr command. Let me know if you have any other thoughts on what might be causing the problem.

 

Thanks,

SMF

SMF & numberonekiwi;

 

I think I found the problem. I was able to create an original dvd which was larger.

 

By doing this it was larger than the dvd created via the LeopardFinal.dmg.

 

asr does an "image to image" copy and if it detects the size isn't large enough, it fails.

 

So, to get around this, I bumped up the DVD_SIZE value from 4481 to 4482 and was able to create the dvd.

 

4482 created a dvd with the size of 4,699,717,632 bytes. I tried 4483, but that was too large and the dvd required a double layer dvd.

 

Please give it a try and let me know if this fixes your problem....

 

Thanks

swag01,

 

Unfortunately it didn't work. Here's the beginnings of my modified patch file -

 

#!/bin/sh

 

APDIR=/Users/Steve/Desktop/Patch_Folder

ORIGLEO=Leopard4Gig.sparseimage

PATCHEDMG=Leopard4GbPatched

 

VOLNAME="Mac OS X Install DVD"

VOL="/Volumes/$VOLNAME"

I386BOOTISO="$APDIR"/i386booter.iso

# This gives you a DVD-R sized disc image

DVDSIZE="4482M"

Is there anything I could insert to check the size of the file? The command does say it validated the target and source as well as validated the sizes.

 

===> Copy patched image into bootable image...

Validating target...done

Validating source...done

Erasing target device /dev/disk4s3...done

Validating sizes...done

Restoring ./9a581-patch.sh: line 129: 549 Segmentation fault asr -verbose -updatebless -source "$VOL" -target ${dev}s${slice} -erase -noprompt

 

UPDATE: I deleted all the text in script from the asr command on. In diskutility there are size differences between the LeopardFinal.dmg (4.4 GB (4,699,717,632 Bytes)) and Leopard4GPatched.iso.cdr (4.4 GB (4,699,480,064 Bytes)) as well as between "disk4S3" (4.4 GB (4,699,189,248 Bytes)) and "Mac OS X Install DVD" (4.4 GB (4,699,447,296 Bytes)). Of course I don't know enough to know if that's significant....

 

 

Thanks for sticking with me....

 

SMF

===> Creating a bootable image...

................................................................................

.........

created: /Users/Numberonekiwi/Desktop/Patch_Folder/LeopardFinal.dmg

===> Creating partition on the image...

3

======> Leopard Partition for /Users/Numberonekiwi/Desktop/Patch_Folder/LeopardFinal is: /dev/disk3s3

===> Add boot partition to image...

900+0 records in

900+0 records out

460800 bytes transferred in 1.285045 secs (358587 bytes/sec)

===> Mount patched image for copying...

/dev/disk4 Apple_partition_scheme

/dev/disk4s1 Apple_partition_map

/dev/disk4s2 Apple_HFS /Volumes/Mac OS X Install DVD

===> Copy patched image into bootable image...

Validating target...done

Validating source...done

Erasing target device /dev/disk3s3...done

Validating sizes...done

Restoring ./9a581-patch.sh: line 130: 756 Segmentation fault asr -verbose -updatebless -source "$VOL" -target ${dev}s${slice} -erase -noprompt

===> Unmount patched image so we can load the new boot image for additional work...

"disk3" unmounted.

"disk3" ejected.

hdiutil: detach failed - No such file or directory

===> Mount boot image to continue work on it...

/dev/disk3 Apple_partition_scheme

/dev/disk3s1 Apple_partition_map

/dev/disk3s3 Apple_HFS /Volumes/Mac OS X Install DVD

===> bless the boot image so darwin knows where to boot the installer...

No mount point for /Volumes/Mac OS X Install DVD/System/Library/CoreServices

Can't determine mount point of '/Volumes/Mac OS X Install DVD/System/Library/CoreServices' and ''

===> Update prebinding...

 

update_prebinding: temp file missing: /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib_redoprebinding

update_prebinding: temp file missing: /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib_redoprebinding

 

===> cleaning up unused files...

===> Unmount Final DVD...

"disk3" unmounted.

"disk3" ejected.

PHASE 2: finished creating the bootable DVD. Enjoy...

 

 

 

Well I am progressing but I am using 10.4.8 not .9 had to roll back cause of a problem with .9

 

Would I be correct I thinking that the command here that causes the error is the one that copys the entire patched.iso.cdr to the bootable .dmg as leopard final is blank ?

 

Thanks for all your help so far I know I am getting closer maybe i could find 10.4.10 diskutil somewhere and try that on its own without doing an update

===> Creating a bootable image...

................................................................................

.........

created: /Users/Numberonekiwi/Desktop/Patch_Folder/LeopardFinal.dmg

===> Creating partition on the image...

3

======> Leopard Partition for /Users/Numberonekiwi/Desktop/Patch_Folder/LeopardFinal is: /dev/disk3s3

===> Add boot partition to image...

900+0 records in

900+0 records out

460800 bytes transferred in 1.285045 secs (358587 bytes/sec)

===> Mount patched image for copying...

/dev/disk4 Apple_partition_scheme

/dev/disk4s1 Apple_partition_map

/dev/disk4s2 Apple_HFS /Volumes/Mac OS X Install DVD

===> Copy patched image into bootable image...

Validating target...done

Validating source...done

Erasing target device /dev/disk3s3...done

Validating sizes...done

Restoring ./9a581-patch.sh: line 130: 756 Segmentation fault asr -verbose -updatebless -source "$VOL" -target ${dev}s${slice} -erase -noprompt

===> Unmount patched image so we can load the new boot image for additional work...

"disk3" unmounted.

"disk3" ejected.

hdiutil: detach failed - No such file or directory

===> Mount boot image to continue work on it...

/dev/disk3 Apple_partition_scheme

/dev/disk3s1 Apple_partition_map

/dev/disk3s3 Apple_HFS /Volumes/Mac OS X Install DVD

===> bless the boot image so darwin knows where to boot the installer...

No mount point for /Volumes/Mac OS X Install DVD/System/Library/CoreServices

Can't determine mount point of '/Volumes/Mac OS X Install DVD/System/Library/CoreServices' and ''

===> Update prebinding...

 

update_prebinding: temp file missing: /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib_redoprebinding

update_prebinding: temp file missing: /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib_redoprebinding

 

===> cleaning up unused files...

===> Unmount Final DVD...

"disk3" unmounted.

"disk3" ejected.

PHASE 2: finished creating the bootable DVD. Enjoy...

Well I am progressing but I am using 10.4.8 not .9 had to roll back cause of a problem with .9

 

Would I be correct I thinking that the command here that causes the error is the one that copys the entire patched.iso.cdr to the bootable .dmg as leopard final is blank ?

 

Thanks for all your help so far I know I am getting closer maybe i could find 10.4.10 diskutil somewhere and try that on its own without doing an update

 

Looks like you are seeing the same problem SMF is seeing. I gave him asr from tiger 10.4.10 and leopard. If he reports back a success, then I'll give them to you too.

 

 

I guess since asr is crashing for you guys, it might be worth switching back to ditto which brazilMac's installer was using.

 

The problem with it was it doesn't copy the correct file permissions. It still worked though.

swag01,

 

Well no joy. With both the tiger and leo asr files I get the following error -

 

===> Copy patched image into bootable image...

./9a581-patch.sh: line 129: 465 Bus error "$APDIR/bin"/asr -verbose -updatebless -source "$VOL" -target ${dev}s${slice} -erase -noprompt

===> Unmount patched image so we can load the new boot image for additional work...

 

What is a bit different is I don't get the

 

Validating target...done

Validating source...done

Erasing target device /dev/disk3s3...done

Validating sizes...done

 

Lines.

 

SMF

swag01,

 

Well no joy. With both the tiger and leo asr files I get the following error -

 

===> Copy patched image into bootable image...

./9a581-patch.sh: line 129: 465 Bus error "$APDIR/bin"/asr -verbose -updatebless -source "$VOL" -target ${dev}s${slice} -erase -noprompt

===> Unmount patched image so we can load the new boot image for additional work...

 

What is a bit different is I don't get the

 

Validating target...done

Validating source...done

Erasing target device /dev/disk3s3...done

Validating sizes...done

 

Lines.

 

SMF

 

 

I'm at a loss... I'll need to think of other ideas which might make it work.

 

Can you look in your log files with the original asr where it would crash?

 

Maybe something is being written into the log files.

swag01,

 

Sure, I can rerun the script with the original text using my installed asr. Now, as a complete newbie, where would the log file be created/stored?

 

SMF

 

 

FYI... I'm about to head out for the holiday, so I won't be around for a couple days.

 

In the apple finder select "Go", then select "Console"

 

There should be logging information stored in there. It's handy to look at to check the health of your machine anyway.

×
×
  • Create New...