Home Forums Software InstaDMG InstaDMG and Java

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • #375859
    AllanMarcus
    Participant

    I don’t think you understand. The most recent universal Install DVD from Apple is 10.5.4 (as far as I know). That has to be the base image for nstaDMG. From there one uses the vanilla.catalog to bring the image to 10.5.6 and then to the current fully patched state. When using InstaDMG to create a fully patched image, java doesn’t work.

    In order to debug this Java issue, I started with just the 10.5.4 base image. I installed just the base image directly onto a Mac mini and java worked. I then used InstaDMG create an image with just the same 10.5.4 dmg file and installed that image on the same Mac mini and java didn’t work.

    So, when I use InstaDMG for a 10.5.4 image, 10.5.6 image, and 10.5.6 fully patched image, java doesn’t work. When I install directly onto the machine, java does work.

    I hope that explains it better.

    -Allan

    #375902
    AllanMarcus
    Participant

    Here’s some more data. I created an Iimage manually using the following commands and Java seems to work. From what I understand of InstaDMG, these are similar commands to what InstaDMG uses. Given that manually creating a “modular image” allows Java to work, and using InstaDMG does not, I’m inclined to believe this is a bug in InstaDMG. Should I report this on the google code issues list, or is this too obscure?

    based on Mac OS X Deployment v10.5 page 171 the resultant image allows java to work

    sudo -s

    hdiutil create -size 100g -type SPARSE -fs HFS+J /Users/allan/Desktop/modimage.sparseimagecreated: /Users/allan/Desktop/modimage.sparseimage

    hdiutil attach /Users/allan/Desktop/modimage.sparseimage

    # NOTE the Disk Number
    #WARNING: Make sure you ahve the right disk number
    diskutil eraseDisk “Journaled HFS+” myHD GPTFormat /dev/disk2

    hdiutil attach /Users/Shared/Installers/Apple/leopard_9e25_userdvd.dmg

    installer -applyChoiceChangesXML “/Users/allan/Documents/Projects/CSD/InstaDMG/instadmg-read-only/InstallerFiles/BaseOS/InstallerChoices.xml” -pkg “/Volumes/Mac OS X Install DVD/System/Installation/Packages/OSInstall.mpkg” -target “/Volumes/myHD” -verbose

    # manually mount 10.5.6 combo updater in the finder before running this command
    installer -pkg /Volumes/Mac\ OS\ X\ Update\ Combined/MacOSXUpdCombo10.5.6.pkg -target “/Volumes/myHD” -verbose

    # i’m using an external volume called scratch as the target
    hdiutil create -format UDZO -srcfolder /Volumes/myHD /Volumes/scratch/modSystem.dmg

    asr imagescan -source /Volumes/scratch/modSystem.dmg

    # Then I restore the image.

    #375926
    AllanMarcus
    Participant

    I deleted the cached image from the BaseImageCache folder, rebuilt, and now it works. Go figure!

    -Allan

Viewing 3 posts - 16 through 18 (of 18 total)
  • You must be logged in to reply to this topic.

Comments are closed