Home Forums Software InstaDMG Can't complete build of 10.8.2 image

This topic contains 14 replies, has 4 voices, and was last updated by  Maurits 6 years, 10 months ago.

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #384455

    typofonic
    Participant

    Hi,

    I’m trying to build an image using the newest Lion 10.8.2 installESD image. However I keep getting this error:

    sudo ./instadmg.bash -i da
    Password:
    12:07:02 ###### InstaDMG build initiated ######
    InstaDMG version 1.6rc1 (svn revision: 459)
    Host OS: Mac OS X 10.8.2
    Host Hardware: MacBookPro8,2
    Output file name: 12-10-17.dmg
    Output disk name: InstaDMG
    12:07:02 ###### Finding main MacOS X installer disk ######
    Found primary OS installer disk: /Volumes/Lacie/Lacie/Technical/instadmg/InstallerFiles/BaseOS/InstallESD.dmg
    12:07:02 ###### Looking for a Cached Image ######
    Mounting the shadow file (/private/tmp/idmg.Rxok/DFBB1888-1B8A-46EC-B0D0-76460CEEEE24.shadowfile) onto the cached image (./Caches/BaseImageCache/843509E4.dmg)
    Recovery Partition Found
    2012-10-17 12:07:10.693 defaults[5033:707]
    The domain/default pair of (/private/tmp/idmg.Rxok/idmg_mp.3NU1/Macintosh HD/System/Library/CoreServices/SystemVersion, ProductVersion) does not exist
    2012-10-17 12:07:10.704 defaults[5035:707]
    The domain/default pair of (/private/tmp/idmg.Rxok/idmg_mp.3NU1/Macintosh HD/System/Library/CoreServices/SystemVersion, ProductVersion) does not exist
    2012-10-17 12:07:10.715 defaults[5037:707]
    The domain/default pair of (/private/tmp/idmg.Rxok/idmg_mp.3NU1/Macintosh HD/System/Library/CoreServices/SystemVersion, ProductBuildVersion) does not exist
    2012-10-17 12:07:10.725 defaults[5038:707]
    The domain/default pair of (/private/tmp/idmg.Rxok/idmg_mp.3NU1/Macintosh HD/System/Library/CoreServices/SystemVersion, ProductName) does not exist
    ./instadmg.bash: line 674: [: 8: unary operator expected
    Target OS: ()
    WARNING: Chroot jails only work with 10.5, so disabling that functionality
    WARNING: Installer daemon-jailing does not currently work with 10.7, disabling that functionality as well
    12:07:10 ###### Beginning Update Installs from ./InstallerFiles/BaseUpdates ######
    Working on folder 1 iTunes 10.7 (12:07:10)
    Mounting the package dmg: iTunes10.7 sha1-0ff7c404f87122f89d49ed6c411b3692f1016e0a.dmg (./InstallerFiles/BaseUpdates/1 iTunes 10.7) at: /private/tmp/idmg.Rxok/idmg_mp.IyRp
    Installing Install iTunes.pkg
    Folder 1 iTunes 10.7 done (12:07:12)
    Working on folder 2 Java for OS X 2012-005 (12:07:12)
    Mounting the package dmg: JavaForOSX sha1-eff777cdc39b4e3336b3477f60e8ad769ded8532.dmg (./InstallerFiles/BaseUpdates/2 Java for OS X 2012-005) at: /private/tmp/idmg.Rxok/idmg_mp.KvBe
    Installing JavaForOSX.pkg
    Folder 2 Java for OS X 2012-005 done (12:07:14)
    Working on folder 3 OS X Mountain Lion 10.8.2 Supplemental Update (12:07:14)
    Mounting the package dmg: OSXUpd10.8.2Supp sha1-ccd53770fd5beff7c457594599907d8a36e40807.dmg (./InstallerFiles/BaseUpdates/3 OS X Mountain Lion 10.8.2 Supplemental Update) at: /private/tmp/idmg.Rxok/idmg_mp.DS0k
    Installing OSXUpd10.8.2Supp.pkg
    Folder 3 OS X Mountain Lion 10.8.2 Supplemental Update done (12:07:16)
    12:07:16 ###### Beginning Update Installs from ./InstallerFiles/CustomPKG ######
    Working on folder 1 ClearRegistration (12:07:16)
    Installing clearReg.pkg
    Folder 1 ClearRegistration done (12:07:16)
    Working on folder 2 Brother Printer Drivers 2.9 for OS X (12:07:17)
    Mounting the package dmg: BrotherPrinterDrivers2.9 sha1-ced12cc349a6990094796395f8da579ba07ec5b7.dmg (./InstallerFiles/CustomPKG/2 Brother Printer Drivers 2.9 for OS X) at: /private/tmp/idmg.Rxok/idmg_mp.dk8G
    Installing BrotherPrinterDrivers.pkg
    Folder 2 Brother Printer Drivers 2.9 for OS X done (12:07:18)
    Working on folder 3 Canon Printer Drivers v2.10 for OS X (12:07:18)
    Mounting the package dmg: CanonPrinterDrivers.2.10 sha1-74f49c6dc6e33c562ebea78ead84d52ed4cdb30a.dmg (./InstallerFiles/CustomPKG/3 Canon Printer Drivers v2.10 for OS X) at: /private/tmp/idmg.Rxok/idmg_mp.tKWi
    Installing CanonPrinterDrivers.pkg
    Folder 3 Canon Printer Drivers v2.10 for OS X done (12:07:20)
    Working on folder 4 Postflight Script Mountain Lion (12:07:20)
    Installing Postflight Script Mountain Lion.pkg
    Folder 4 Postflight Script Mountain Lion done (12:07:21)
    Working on folder 5 create_anni1105-1.0 (12:07:21)
    Installing create_anni1105-1.0.pkg
    Folder 5 create_anni1105-1.0 done (12:07:21)
    Working on folder 6 LAME Framework 3.97 (12:07:21)
    Installing LAME Framework 3.97.pkg
    Folder 6 LAME Framework 3.97 done (12:07:21)
    Working on folder 7 Xerox N17 PPD (12:07:21)
    Installing Xerox N17 PPD.pkg
    Folder 7 Xerox N17 PPD done (12:07:21)
    12:07:21 ###### Correcting some generic installer errors ######
    Correcting symlinks that point off the disk
    Closing programs that have opened files on the disk
    Deleting Extensions.mkext cache file
    Deleting cache files created during installations
    12:07:23 ###### Creating the deployment DMG and scanning for ASR ######
    Rename the deployment volume: InstaDMG
    Could not find disk for /private/tmp/idmg.Rxok/idmg_mp.3NU1/Macintosh HD
    Create a read-only image
    cp: /private/tmp/idmg.Rxok/idmg_mp.3NU1/Macintosh HD/private/var/log/InstaDMG_package.log: No such file or directory
    The image did not eject cleanly, so I will force it
    ###### Failed to unmount the Target image image from /private/tmp/idmg.Rxok/idmg_mp.3NU1/Macintosh HD, unable to continue ######
    hdiutil: convert failed - Arkiv findes
    Scanning image for ASR: ./OutputFiles/12-10-17.dmg
    ASR image scan complete
    12:07:23 ###### InstaDMG Complete #####

    Running InstaDMG through InstaUp2Date gives me this:
    sudo ./instaUp2Date.py -p basic

    Parsing the catalog files for basic
    iTunes 10.7
    Java for OS X 2012-005
    OS X Mountain Lion 10.8.2 Supplemental Update
    ClearRegistration
    Brother Printer Drivers 2.9 for OS X
    Canon Printer Drivers v2.10 for OS X
    Postflight Script Mountain Lion
    create_anni1105-1.0
    LAME Framework 3.97
    Xerox N17 PPD

    Finding and validating the sources for basic
    iTunes 10.7 - found based on checksum and verified in less than one second Megabytes/sec)
    Java for OS X 2012-005 - found based on checksum and verified in less than one secondMegabytes/sec)
    OS X Mountain Lion 10.8.2 Supplemental Update - found based on checksum and verified in less than one secondMegabytes/sec)
    ClearRegistration - found based on guessed name and verified in less than one secondnd
    Brother Printer Drivers 2.9 for OS X - found based on checksum and verified in less than one second Megabytes/sec)
    Canon Printer Drivers v2.10 for OS X - found based on checksum and verified in 1 second Megabytes/sec)
    Postflight Script Mountain Lion - found based on guessed name and verified in less than one secondnd
    create_anni1105-1.0 - found based on guessed name and verified in less than one secondtes/sec)
    LAME Framework 3.97 - found based on guessed name and verified in less than one secondnd
    Xerox N17 PPD - found based on guessed name and verified in less than one secondnd

    Finding the Installer disc for basic
    Traceback (most recent call last):
    File "./instaUp2Date.py", line 716, in
    main()
    File "./instaUp2Date.py", line 678, in main
    foundInstallerDiscs = findInstallerDisc.findInstallerDisc(allowedBuilds=thisController.installerDiscBuilds)
    File "/Volumes/Lacie/Lacie/Technical/instadmg/AddOns/InstaUp2Date/Resources/findInstallerDisc.py", line 201, in findInstallerDisc
    raise commonExceptions.FileNotFoundException('Unable to find OS Installer disc in any provided folder: %s%s' % (str(searchItems), folderString))
    Resources.commonExceptions.FileNotFoundException: Unable to find OS Installer disc in any provided folder: ['/Volumes/Lacie/Lacie/Technical/instadmg/InstallerFiles/InstallerDiscs', '/Volumes/Lacie/Lacie/Technical/instadmg/InstallerFiles/BaseOS'] (['.DS_Store', '.svn'], ['.DS_Store', 'InstallESD.dmg'])

    I have tried everything including rebuilding the base image from scratch and leaving out all the parameters. Any InstaDMG experts how knows what’s causing this?

    #384456

    typofonic
    Participant

    I’ve also tried formatting my startdisk and reinstalling Mountain Lion 10.8.2 (including XCode) without any luck. I’m running the newest SVN of InstaDMG.

    #384460

    Allister Banks
    Participant

    The first failure was a recent symptom, the recovery partition in the cache was being mounted incorrectly, but 459 and later should’ve addressed that. The second failure is usually due to a fluke that is solved by a reboot, so i’m not sure where to start. Please let me know if you’re still having  issues, and if you can’t make an image from the vanilla catalog please let me know you’re InstallESD.dmg’s build number.

    Allister

    #384464

    typofonic
    Participant

    Hi Allister,

    Thanks for your fast answer!

    I tried what you suggested. Rebooted, but it still fails the same way. This Is my 10.8_vanilla.catalog (the default one):
    Installer Disc Builds: 12A269, 12B19, 12C54

    Output Volume Name: Macintosh HD
    Output File Name: 10.8_vanilla

    OS Updates:
    # We're assuming you're using the newest 10.8.2 build 12C54 as your install 'media', otherwise uncomment (remove # from the beginning of) the next line
    # OS X Mountain Lion Update v10.8.2 http://support.apple.com/downloads/DL1581/en_US/OSXUpdCombo10.8.2.dmg sha1:b08f10233d362e39f20b69f91d1d73f5e7b68a2c
    iTunes 10.7 http://appldnld.apple.com/iTunes10/041-7195.20120912.d3uzQ/iTunes10.7.dmg sha1:0ff7c404f87122f89d49ed6c411b3692f1016e0a
    Java for OS X 2012-005 http://support.apple.com/downloads/DL1572/en_US/JavaForOSX.dmg sha1:eff777cdc39b4e3336b3477f60e8ad769ded8532
    OS X Mountain Lion 10.8.2 Supplemental Update http://support.apple.com/downloads/DL1600/en_US/OSXUpd10.8.2Supp.dmg sha1:ccd53770fd5beff7c457594599907d8a36e40807

    This is the error from InstaUp2Date:

    sudo ./instaUp2Date.py -p CatalogFiles/10.8_vanilla.catalog
    Password:

    Parsing the catalog files for 10.8_vanilla
    iTunes 10.7
    Java for OS X 2012-005
    OS X Mountain Lion 10.8.2 Supplemental Update

    Finding and validating the sources for 10.8_vanilla
    iTunes 10.7 - found based on checksum and verified in 1 second
    Java for OS X 2012-005 - found based on checksum and verified in less than one secondegabytes/sec)
    OS X Mountain Lion 10.8.2 Supplemental Update - found based on checksum and verified in less than one secondegabytes/sec)

    Finding the Installer disc for 10.8_vanilla
    Found Installer Disc: /Volumes/Lacie/Lacie/Technical/instadmg/InstallerFiles/BaseOS/InstallESD.dmg

    Setting up for 10.8_vanilla
    Setting up InstaDMG folders

    Running InstaDMG: /Volumes/Lacie/Lacie/Technical/instadmg/instadmg.bash -f -I /Volumes/Lacie/Lacie/Technical/instadmg/InstallerFiles/BaseOS/InstallESD.dmg -n Macintosh HD -m 10.8_vanilla.dmg -K /private/tmp/idmg_temp.mBirW1/items-BKIksA -o /Volumes/Lacie/Lacie/Technical/instadmg/OutputFiles

    00:44:22 ###### InstaDMG build initiated ######
    InstaDMG version 1.6rc1 (svn revision: 459)
    Host OS: Mac OS X 10.8.2
    Host Hardware: MacBookPro8,2
    Output file name: 10.8_vanilla.dmg
    Output disk name: Macintosh HD
    00:44:24 ###### Finding main MacOS X installer disk ######
    00:44:24 ###### Looking for a Cached Image ######
    Mounting the shadow file (/private/tmp/idmg.vnAr/6191754E-5DCC-4557-8ED6-6BFD6A3994B7.shadowfile) onto the cached image (./Caches/BaseImageCache/843509E4.dmg)
    Recovery Partition Found
    2012-10-18 00:44:32.384 defaults[480:707]
    The domain/default pair of (/private/tmp/idmg.vnAr/idmg_mp.soBa/Macintosh HD/System/Library/CoreServices/SystemVersion, ProductVersion) does not exist
    2012-10-18 00:44:32.394 defaults[482:707]
    The domain/default pair of (/private/tmp/idmg.vnAr/idmg_mp.soBa/Macintosh HD/System/Library/CoreServices/SystemVersion, ProductVersion) does not exist
    2012-10-18 00:44:32.405 defaults[484:707]
    The domain/default pair of (/private/tmp/idmg.vnAr/idmg_mp.soBa/Macintosh HD/System/Library/CoreServices/SystemVersion, ProductBuildVersion) does not exist
    2012-10-18 00:44:32.415 defaults[485:707]
    The domain/default pair of (/private/tmp/idmg.vnAr/idmg_mp.soBa/Macintosh HD/System/Library/CoreServices/SystemVersion, ProductName) does not exist
    /Volumes/Lacie/Lacie/Technical/instadmg/instadmg.bash: line 674: [: 8: unary operator expected
    Target OS: ()
    WARNING: Chroot jails only work with 10.5, so disabling that functionality
    WARNING: Installer daemon-jailing does not currently work with 10.7, disabling that functionality as well
    00:44:32 ###### Beginning Update Installs from /private/tmp/idmg_temp.mBirW1/items-BKIksA ######
    Working on folder 1 iTunes 10.7 (00:44:32)
    Mounting the package dmg: iTunes10.7 sha1-0ff7c404f87122f89d49ed6c411b3692f1016e0a.dmg (/private/tmp/idmg_temp.mBirW1/items-BKIksA/1 iTunes 10.7) at: /private/tmp/idmg.vnAr/idmg_mp.tsnj
    Installing Install iTunes.pkg
    Folder 1 iTunes 10.7 done (00:44:35)
    Working on folder 2 Java for OS X 2012-005 (00:44:35)
    Mounting the package dmg: JavaForOSX sha1-eff777cdc39b4e3336b3477f60e8ad769ded8532.dmg (/private/tmp/idmg_temp.mBirW1/items-BKIksA/2 Java for OS X 2012-005) at: /private/tmp/idmg.vnAr/idmg_mp.pHlV
    Installing JavaForOSX.pkg
    Folder 2 Java for OS X 2012-005 done (00:44:37)
    Working on folder 3 OS X Mountain Lion 10.8.2 Supplemental Update (00:44:37)
    Mounting the package dmg: OSXUpd10.8.2Supp sha1-ccd53770fd5beff7c457594599907d8a36e40807.dmg (/private/tmp/idmg_temp.mBirW1/items-BKIksA/3 OS X Mountain Lion 10.8.2 Supplemental Update) at: /private/tmp/idmg.vnAr/idmg_mp.Nehn
    Installing OSXUpd10.8.2Supp.pkg
    Folder 3 OS X Mountain Lion 10.8.2 Supplemental Update done (00:44:39)
    00:44:39 ###### Correcting some generic installer errors ######
    Correcting symlinks that point off the disk
    Closing programs that have opened files on the disk
    Deleting Extensions.mkext cache file
    Deleting cache files created during installations
    00:45:09 ###### Creating the deployment DMG and scanning for ASR ######
    Rename the deployment volume: Macintosh HD
    Could not find disk for /private/tmp/idmg.vnAr/idmg_mp.soBa/Macintosh HD
    Create a read-only image
    cp: /private/tmp/idmg.vnAr/idmg_mp.soBa/Macintosh HD/private/var/log/InstaDMG_package.log: No such file or directory
    The image did not eject cleanly, so I will force it
    ###### Failed to unmount the Target image image from /private/tmp/idmg.vnAr/idmg_mp.soBa/Macintosh HD, unable to continue ######
    hdiutil: convert failed - Arkiv findes
    Scanning image for ASR: /Volumes/Lacie/Lacie/Technical/instadmg/OutputFiles/10.8_vanilla.dmg
    ASR image scan complete
    00:45:10 ###### InstaDMG Complete ######
    00:45:10 ###### Cleaning up ######
    Ejecting images
    Deleting scratch DMG

    Done

    And this is by running InstaDMG directly with only the files from the Vanilla catalog. Also without any luck. And I am running the newest version (just did an svn update).

    sudo ./instadmg.bash
    00:52:39 ###### InstaDMG build initiated ######
    InstaDMG version 1.6rc1 (svn revision: 459)
    Host OS: Mac OS X 10.8.2
    Host Hardware: MacBookPro8,2
    Output file name: 12-10-18.dmg
    Output disk name: InstaDMG
    ###### A required folder is missing or was not a folder: CUSTOM_FOLDER: ./InstallerFiles/CustomPKG ######
    Anderss-MacBook-Pro:instadmg anni1105$ sudo ./instadmg.bash
    00:52:51 ###### InstaDMG build initiated ######
    InstaDMG version 1.6rc1 (svn revision: 459)
    Host OS: Mac OS X 10.8.2
    Host Hardware: MacBookPro8,2
    Output file name: 12-10-18.dmg
    Output disk name: InstaDMG
    00:52:51 ###### Finding main MacOS X installer disk ######
    Found primary OS installer disk: /Volumes/Lacie/Lacie/Technical/instadmg/InstallerFiles/BaseOS/InstallESD.dmg
    00:52:51 ###### Looking for a Cached Image ######
    Mounting the shadow file (/private/tmp/idmg.Abcd/0CB375A3-6F46-46D1-94DB-770001E9ACE3.shadowfile) onto the cached image (./Caches/BaseImageCache/843509E4.dmg)
    Recovery Partition Found
    2012-10-18 00:52:59.655 defaults[2192:707]
    The domain/default pair of (/private/tmp/idmg.Abcd/idmg_mp.w3sF/Macintosh HD/System/Library/CoreServices/SystemVersion, ProductVersion) does not exist
    2012-10-18 00:52:59.666 defaults[2194:707]
    The domain/default pair of (/private/tmp/idmg.Abcd/idmg_mp.w3sF/Macintosh HD/System/Library/CoreServices/SystemVersion, ProductVersion) does not exist
    2012-10-18 00:52:59.675 defaults[2196:707]
    The domain/default pair of (/private/tmp/idmg.Abcd/idmg_mp.w3sF/Macintosh HD/System/Library/CoreServices/SystemVersion, ProductBuildVersion) does not exist
    2012-10-18 00:52:59.685 defaults[2197:707]
    The domain/default pair of (/private/tmp/idmg.Abcd/idmg_mp.w3sF/Macintosh HD/System/Library/CoreServices/SystemVersion, ProductName) does not exist
    ./instadmg.bash: line 674: [: 8: unary operator expected
    Target OS: ()
    WARNING: Chroot jails only work with 10.5, so disabling that functionality
    WARNING: Installer daemon-jailing does not currently work with 10.7, disabling that functionality as well
    00:52:59 ###### Beginning Update Installs from ./InstallerFiles/BaseUpdates ######
    Working on folder 1 iTunes 10.7 (00:52:59)
    Mounting the package dmg: iTunes10.7 sha1-0ff7c404f87122f89d49ed6c411b3692f1016e0a.dmg (./InstallerFiles/BaseUpdates/1 iTunes 10.7) at: /private/tmp/idmg.Abcd/idmg_mp.QB2j
    Installing Install iTunes.pkg
    Folder 1 iTunes 10.7 done (00:53:01)
    Working on folder 2 Java for OS X 2012-005 (00:53:01)
    Mounting the package dmg: JavaForOSX sha1-eff777cdc39b4e3336b3477f60e8ad769ded8532.dmg (./InstallerFiles/BaseUpdates/2 Java for OS X 2012-005) at: /private/tmp/idmg.Abcd/idmg_mp.gifS
    Installing JavaForOSX.pkg
    Folder 2 Java for OS X 2012-005 done (00:53:03)
    Working on folder 3 OS X Mountain Lion 10.8.2 Supplemental Update (00:53:03)
    Mounting the package dmg: OSXUpd10.8.2Supp sha1-ccd53770fd5beff7c457594599907d8a36e40807.dmg (./InstallerFiles/BaseUpdates/3 OS X Mountain Lion 10.8.2 Supplemental Update) at: /private/tmp/idmg.Abcd/idmg_mp.C6nU
    Installing OSXUpd10.8.2Supp.pkg
    Folder 3 OS X Mountain Lion 10.8.2 Supplemental Update done (00:53:05)
    00:53:05 ###### Beginning Update Installs from ./InstallerFiles/CustomPKG ######
    00:53:05 ###### Correcting some generic installer errors ######
    Correcting symlinks that point off the disk
    Closing programs that have opened files on the disk
    Deleting Extensions.mkext cache file
    Deleting cache files created during installations
    00:53:36 ###### Creating the deployment DMG and scanning for ASR ######
    Rename the deployment volume: InstaDMG
    Could not find disk for /private/tmp/idmg.Abcd/idmg_mp.w3sF/Macintosh HD
    Create a read-only image
    cp: /private/tmp/idmg.Abcd/idmg_mp.w3sF/Macintosh HD/private/var/log/InstaDMG_package.log: No such file or directory
    The image did not eject cleanly, so I will force it
    ###### Failed to unmount the Target image image from /private/tmp/idmg.Abcd/idmg_mp.w3sF/Macintosh HD, unable to continue ######
    hdiutil: convert failed - Arkiv findes
    Scanning image for ASR: ./OutputFiles/12-10-18.dmg
    ASR image scan complete
    00:53:37 ###### InstaDMG Complete ######
    00:53:37 ###### Cleaning up ######
    Ejecting images
    Deleting scratch DMG

    #384469

    typofonic
    Participant

    A followup. Based on the SystemVersion.plist in the InstallESD image it’s build 12c54.

    #384488

    typofonic
    Participant

    Does anyone know if InstaDMG is incompatible with 10.8.2? It seems like it is since everything is based on a clean install

    #384489

    Allister Banks
    Participant

    Hey typofonic, I haven’t had any issues with the previous 12C54 build, and created the cache while building a 12C60(it integrates the supplemental update) from scratch before running to the airport without a problem. I haven’t gotten it to fail since the tweaks made in r459.

    I saw the same symptom you’re having previous to that commit, where the recovery is mounting incorrectly, and intermittently got around it before that  by changing the tmp path with

    --instadmg-scratch-folder=

    since I often use an external SSD connected over thunderbolt to house my instadmg test directories. Please keep trying, I unfortunately can’t give too much help until the end of next week, but it would be awesome if you could find time to join IRC ##osx-server and ping those folks in the meantime. Thanks, Allister

    #384494

    typofonic
    Participant

    Hi Allister,

    Thanks for your suggestions! I actually tried that out changing the scratch folder as the first thing, as I also wanted to use an SSD disk for scratch – but still no luck. I’m stuck unfortunately. But I’ll let you know if I get anywhere.

    All the best

    Anders

    #384526

    typofonic
    Participant

    Still haven’t gotten anywhere with this. None seems to work at all, even with a clean install. I’m puzzled…

    #384527

    sonata1666
    Participant

    Check out the diffs here in the latest rev:

    http://code.google.com/p/instadmg/source/diff?spec=svn459&r=459&format=side&path=/trunk/instadmg.bash

    It appears “Macintosh HD” was hardcoded into the instaDMG.bash script. It seems it should be “InstaDMG” as the volume name, not “Macintosh HD”. Change it in the bash script you’re running and see if that works.

     

    #384529

    typofonic
    Participant

    Hi sonata1666,

    Thanks a lot for your help! Really appreciate it! You were right. There was a bug in the script so that it couldn’t build. It finally works now!

    Hope to see a rev 460 that will fix this bug so that InstaDMG works again.

    Have a great weekend!

    #384530

    Allister Banks
    Participant

    There is a bug filed so you can track its progress, https://code.google.com/p/instadmg/issues/detail?id=115

    I’m the one who hard-coded it, sorry about that. I’ll work on logic to detect whatever’s NOT the recovery partition on 10.8/10.7 images, and may consider turning off recovery partition creation with a flag by default, since it’s causing more difficulties this way, especially when people create cache files with custom names.

    #384531

    typofonic
    Participant

    No problem! I’m glad that the problem has been found.

    #384534

    sonata1666
    Participant

    Glad to have helped. I was checking in since I wrote that response but it appears that only the first 2 comments in this thread are viewable unless you’re logged in to AFP548? Anyone know why that might be? I’ve confirmed this isn’t a problem with my machine as I’ve tried it with a freshly installed computer as well.  Weird.

    #384542

    Maurits
    Participant

    In addition to sonata1666, I use a custom volume name, and if I changed line 666 of the script (r.459) to this line:

    TARGET_IMAGE_MOUNT=”$TARGET_IMAGE_MOUNT/$ASR_FILESYSTEM_NAME”

    now it seems to work with my custom name to make a simple image.

    Funny enough I have to specify the InstallESD file, otherwise it fails… This is the command I used:

    sudo ./instadmg.bash -m 1082_SUA -n MLionHD -I InstallerFiles/InstallerDiscs/InstallESD.dmg

    Have to test the image yet, but it looks OK.

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in to reply to this topic.

Comments are closed