Forum Replies Created

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • in reply to: Updated catalogs #381882
    db1021
    Participant

    [QUOTE][u]Quote by: Allister[/u][p]Hey db,

    Please rename MacOS X Client 10.6 10A432.dmg to “Mac OS X Install DVD.dmg”, it’s in the right place(as mentioned in the error message). You may also want to make sure the image isn’t mounted, a reboot helps it flush any lingering mounts just in case the diskarbitrationframework is being flaky.
    And are you sure you can’t find a 10.6.3 installer? It could potentially save you some time, since there would conceivably be less changes to the code.

    Allister[/p][/QUOTE]

    OK that seems to have done the trick! I’ll let it run and report back.

    No 10.6.3 installer disc. I’m working with limited resources so I was happy to find a 10.6 retail disc even 🙂

    in reply to: Updated catalogs #381880
    db1021
    Participant

    [QUOTE][u]Quote by: Allister[/u][p]Hey db,
    When cd’d to that directory(if you pulled it down over svn the first time) you can run:
    [code]svn update[/code]
    Optionally, I’ve been uploading a zip to the downloads section. Thanks, Allister[/p][/QUOTE]

    OK I ran the svn update and it updated the catalog.

    What’s the next step?

    I tried: [code]sudo ./instaUp2Date.py -p 10.6_vanilla[/code] but it returned the following errors:

    [code]Finding the Installer disc for 10.6_vanilla
    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 “/Users/mmadmin/Desktop/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: [‘/Users/mmadmin/Desktop/instadmg/InstallerFiles/InstallerDiscs’, ‘/Users/mmadmin/Desktop/instadmg/InstallerFiles/BaseOS’] ([‘.DS_Store’, ‘.svn’, ‘MacOS X Client 10.6 10A432.dmg’], [‘.svn’])[/code]

    I see “MacOS X Client 10.6 10A432.dmg” inside of InstallerFiles/InstallerDiscs

    in reply to: Updated catalogs #381875
    db1021
    Participant

    Newbie question here. What’s the command to pull down the latest catalog updates?

    I recently started using InstaDMG and was able to make a base image from it months back. Haven’t touched it since but all the files that were generated are still sitting on my desktop. I assume there’s a simple command to run that will only pull down the latest catalog files and updates so that I can make an updated image?

    in reply to: Unable to make 10.6 Vanilla image #381613
    db1021
    Participant

    [QUOTE][u]Quote by: Allister[/u][p]Yes indeed, here’s a few to get started:
    https://raw.github.com/gist/1720094/729ad4dc743b23c9798ca827deb1d83a7c6c38e0/gistfile1.txt
    I’m missing the remote desktop and security updates for 10.6, though.

    Allister[/p][/QUOTE]

    Nice! Thanks!

    Where do the downloaded updates go in the InstaDMG folder? not in caches/instaup2datecache right? Maybe installerfiles/baseupdates?

    in reply to: Unable to make 10.6 Vanilla image #381611
    db1021
    Participant

    Just booted the Mac Pro using the newly built image. Ran software update and it seems that there have been new iTunes, ARD, and security updates. Running Instaup2date doesn’t see these new updates yet so I can manually insert them into my vanilla catalog file correct? Just need the checksum for each package after I manually put them in the installerfiles folder?

    in reply to: 10.6.8 image reboot loop #381610
    db1021
    Participant

    OK rebuilding it seems to work this time around. Maybe something just got goofed during the build process. :question:

    in reply to: 10.6.8 image reboot loop #381609
    db1021
    Participant

    Just using Disc Utility and Firewire. Its never failed me before but I’d be happy to try another method if its more reliable.

    in reply to: Unable to make 10.6 Vanilla image #381591
    db1021
    Participant

    Boy the code I pasted made the page stretch pretty far out there huh? 🙂

    I’m building on 10.6.8 machine, trying to build a 10.6 image.

    And whaddayaknow .. simple reboot fixed it. I thought Mac’s don’t need all the Win tips and tricks!? :mrgreen:

    Thanks Allister

    in reply to: Immediate error when running instaup2date.py #381525
    db1021
    Participant

    Pesky hidden characters indeed!!

    I got around another error by removing the problematic package ( stuff it expander ) from the catalog, but I’m curious as to why its failing at that step below. I hit “Y” when it prompted me to agree. Then it spits out the error lines and quits.

    [code]
    Working on folder 11 googlechrome (10:38:06)
    Mounting the package dmg: googlechrome.dmg (/private/tmp/idmg_temp.ACOrbw/items-PuJ8Xp/11 googlechrome) at: /private/tmp/idmg.Gars/idmg_mp.kQqI
    Folder 11 googlechrome done (10:38:17)
    Working on folder 12 stuffitexpander (10:38:17)
    Mounting the package dmg: stuffitexpander.dmg (/private/tmp/idmg_temp.ACOrbw/items-PuJ8Xp/12 stuffitexpander) at: /private/tmp/idmg.Gars/idmg_mp.eDWG
    Agree Y/N? Y
    ###### Unable to mount /private/tmp/idmg.Gars/idmg_mp.eDWG: Traceback (most recent call last):
    File “AddOns/InstaUp2Date/Resources/dmgMountHelper.py”, line 80, in
    actualMountPoint = dmgManager.mountImage(imageToMount, mountPoint=options.mountPoint, mountReadWrite=options.readWrite, shadowFile=None, paranoidMode=options.paranoidMode)
    File “/Users/mmadmin/Desktop/instadmg/AddOns/InstaUp2Date/Resources/volumeManager.py”, line 486, in mountImage
    process = managedSubprocess(command, processAsPlist=True)
    File “/Users/mmadmin/Desktop/instadmg/AddOns/InstaUp2Date/Resources/managedSubprocess.py”, line 55, in __init__
    raise RuntimeError(‘Unable to convert the “%s” output into a plist, got error: %s\nOutput was:\n%s\n’ % (‘ ‘.join(command), error, output))
    UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xc2 in position 755: ordinal not in range(128) ######
    10:39:32 ###### Cleaning up ######
    Restoring normal installd daemon
    Restoring com.apple.installd daemon
    Ejecting images
    Deleting scratch DMG
    Traceback (most recent call last):
    File “./instaUp2Date.py”, line 716, in

    main()
    File “./instaUp2Date.py”, line 705, in main
    thisController.runInstaDMG(scratchFolder=options.instadmgScratchFolder, outputFolder=options.instadmgOutputFolder)
    File “./instaUp2Date.py”, line 472, in runInstaDMG
    raise RuntimeError(‘InstaDMG process did not run sucessfully’)
    RuntimeError: InstaDMG process did not run sucessfully
    [/code]

    in reply to: Immediate error when running instaup2date.py #381520
    db1021
    Participant

    ah ha! it was too much copying and pasting off the web or something w/ the common.catalog file!

    I used Text Wrangler to manually remove and replace line breaks. Looks like there were some extra tabs or oddities in the code. Edited line 2, the error moved to line 5 .. repeated the fix until it now off and running verifying files and whatnot.

    in reply to: Immediate error when running instaup2date.py #381519
    db1021
    Participant

    I tried editing the catalogs with the full paths, no dice 🙁

    Here’s the new error:

    [code]ssfhce014-l:instaup2date dbong$ sudo ./instaUp2Date.py -p Snowleopard

    Parsing the catalog files for Snowleopard
    Traceback (most recent call last):
    File “./instaUp2Date.py”, line 716, in
    main()
    File “./instaUp2Date.py”, line 662, in main
    thisController.parseCatalogFile()
    File “./instaUp2Date.py”, line 286, in parseCatalogFile
    self.parseCatalogFile( self.getCatalogFullPath(includeLineMatch.group(“location”), self.catalogFolders) )
    File “./instaUp2Date.py”, line 286, in parseCatalogFile
    self.parseCatalogFile( self.getCatalogFullPath(includeLineMatch.group(“location”), self.catalogFolders) )
    File “./instaUp2Date.py”, line 319, in parseCatalogFile
    raise Exception(‘Error in config file: %s line number: %i\n%s’ % (fileLocation, lineNumber, line)) # TODO: improve error handling
    Exception: Error in config file: /Users/dbong/desktop/instadmg/addons/instaup2date/catalogfiles/common.catalog line number: 2
    [/code]

    My common.catalog code:

    [code]# This is the catalog for packages shared between all images.
     
    include-file: /Users/dbong/desktop/instadmg/addons/instaup2date/catalogfiles/10.6_vanilla.catalog
    # Output Volume Name = Macintosh HD
    # Output File Name = Common-1.0.0
     
    Base OS Disk:
    # the first one should be disk 1 of an installer disk
    # this is not yet implimented
     
    System Settings:
     
    Third Party Software:

    clear Registration clearReg.dmg sha1:0cf3080cc0179fe63883e40a180f6a92b573fd70
     
    Firefox Firefox.dmg sha1:0e7b963b28d11ab8ffbf776b88cbe68a3efcf62a

    googlechrome googlechrome.dmg sha1:ca4e937dfe5ccff1e5b1b5bcae5b3c31b6999237

    stuffitexpander stuffitexpander.dmg sha1:afcc9e14029086b5239e44d33babc1259c54a377 

    Apple Updates:
     
     
    Software Settings:
    [/code]

    Maybe I need to remove the random comments in the files?

    in reply to: Immediate error when running instaup2date.py #381518
    db1021
    Participant

    Text Wrangler – thanks for the tip! Its soooo much easier to use and read! Does it matter that its changing the file icons? Just making sure its not saving in some strange format that instaDMG won’t like.

    Regarding the common.catalog – I think I goofed up my copy/pasting trying to fight the forum spam issue. Here’s my actual common.cataog:

    # This is the catalog for packages shared between all images.
     
    include-file: 10.6_vanilla.catalog
    # Output Volume Name = Macintosh HD
    # Output File Name = Common-1.0.0
     
    Base OS Disk:
    # the first one should be disk 1 of an installer disk
    # this is not yet implimented
     
    System Settings:
     
    Third Party Software:

    clear Registration clearReg.dmg sha1:0cf3080cc0179fe63883e40a180f6a92b573fd70
     
    Firefox Firefox.dmg sha1:0e7b963b28d11ab8ffbf776b88cbe68a3efcf62a

    googlechrome googlechrome.dmg sha1:ca4e937dfe5ccff1e5b1b5bcae5b3c31b6999237

    stuffitexpander stuffitexpander.dmg sha1:afcc9e14029086b5239e44d33babc1259c54a377 

    Apple Updates:
     
     
    Software Settings:

    So it should be running them in this order: snowleopard.catalog -> base.catalog -> common.catalog -> 10.6_vanilla.catalog

    in reply to: Immediate error when running instaup2date.py #381514
    db1021
    Participant

    Thanks for the replies guys! I’m going to take another stab at it here at work in a bit.

    Curious … what do you guys use to edit the .catalog files? What is the correct format and suffix I should be appending? Using the built in editor it was converting files to rich text and appending .rtf to the end of the files.

    in reply to: Immediate error when running instaup2date.py #381509
    db1021
    Participant

    It wouldn’t let me post this in the original thread:

    Here are my catalog files that should be chaining together to give me the tweaked image:

    [b]snowleopard.catalog:[/b]

    # This is the catalog for the Base Snow Leopard Settings

    include-file: common.catalog

    # Output Volume Name = Macintosh HD
    # Output File Name = Base-1.0.0

    Base OS Disk:
    # the first one should be disk 1 of an installer disk
    # this is not yet implimented

    System Settings:

    Third Party Software:

    create local admin createUser.pkg sha1:211e7b4faf68410821b16f54d1854b8dcd7aabd7

    First Boot Setting Firstboot.mpkg sha1:54bdf575d6415bbc470992d95f6c03f4a658d4b1

    Apple Updates:

    Software Settings:

    [b]base.catalog:[/b]

    # This is the catalog for the Base Snow Leopard Settings

    include-file: common.catalog

    # Output Volume Name = Macintosh HD
    # Output File Name = Base-1.0.0

    Base OS Disk:
    # the first one should be disk 1 of an installer disk
    # this is not yet implimented

    System Settings:

    Third Party Software:

    create local admin createUser.pkg sha1:211e7b4faf68410821b16f54d1854b8dcd7aabd7

    First Boot Setting Firstboot.mpkg sha1:54bdf575d6415bbc470992d95f6c03f4a658d4b1

    Apple Updates:

    Software Settings:

    [b]common.catalog:[/b]

    # This is the catalog for packages shared between all images.
     
    include-file: 10.6_vanilla.catalog
    # Output Volume Name = Macintosh HD
    # Output File Name = Common-1.0.0
     
    Base OS Disk:
    # the first one should be disk 1 of an installer disk
    # this is not yet implimented
     
    System Settings:
     
    Third Party Software:

    clear Registration clearReg.dmg sha1:0cf3080cc0179fe63883e40a180f6a92b573fd70
     
    Firefox Firefox.dmg sha1:0e7b963b28d11ab8ffbf776b88cbe68a3efcf62a

    googlechrome googlechrome.dmg sha1:ca4e937dfe5ccff1e5b1b5bcae5b3c31b6999237

    stuffitexpander stuffitexpander.dmg sha1:afcc9e14029086b5239e44d33babc1259c54a377 

    Apple Updates:
     
     
    Software Settings:

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