| Gary Bernstein |
 |
Friday, July 02 2010 @ 11:44 am MDT (Read 842 times) |
|
|

End User
Status: offline
Registered: 06/23/05
Posts: 30
|
I am trying to use instadmg / instaUp2Date (1.6rc1 rev 309) to create my first images. I tried making a 10.5.8 image using a retail 10.5 disk and the 10.5 vanilla catalog (adding the createuser.pkg) to it. The resultant image does not boot. The machine that I created it on is a 10.6.4 machine. After trolling the forum, it looks like the problem might be because I created it on a 10.6 machine, so I copied the entire instadmg folder to a 10.5.8 machine and when I run the instaUp2Date command I get:
22:31:16 ###### InstaDMG build initiated ######
InstaDMG version 1.6rc1 (svn revision: 309)
Host OS: Mac OS X 10.5.8
Host Hardware: MacPro3,1
Output file name: 10.5.8 Vanilla
Output disk name: KCPA10-5-8
22:31:17 ###### Finding main MacOS X installer disk ######
Found primary OS installer disk: ./InstallerFiles/BaseOS/Mac OS X Install DVD.dmg
22:31:17 ###### Looking for a Cached Image ######
Mounting the shadow file (/private/tmp/InstaDMG_temp_folder.agg2Vy/9FAA2902-6E3C-4DA2-B500-7BDB618D6033.shadowfile) onto the cached image (./Caches/BaseImageCache/E556BB16.dmg)
Target OS: Mac OS X 10.5 (9A581)
Encasing installer daemon in a chroot jail
Chrooting com.apple.installdb.system daemon
22:31:22 ###### Beginning Update Installs from /tmp/InstaUp2DateFolder-JqCAtk ######
Working on folder 01 Mac OS X 10.5.8 Combo Update (22:31:22)
Mounting the package dmg: MacOSXUpdCombo10.5.8 sha1-0a88c9ecfbe08faf1a2307929c67f38b4822dfcb.dmg (/tmp/InstaUp2DateFolder-JqCAtk/01 Mac OS X 10.5.8 Combo Update) at: /private/tmp/InstaDMG_temp_folder.agg2Vy/mount_point.CFjHDl/private/tmp/mount_point.oXxnM4
###### There were no items to install in: /private/tmp/InstaDMG_temp_folder.agg2Vy/mount_point.CFjHDl/private/tmp/mount_point.oXxnM4 ######
22:31:23 ###### Cleaning up ######
Restoring normal installd daemon
Restoring com.apple.installdb.system daemon
Ejecting images
###### Internal error: tried to eject an image from /private/tmp/InstaDMG_temp_folder.agg2Vy/mount_point.CFjHDl/private/tmp/mount_point.oXxnM4 but that path is not a directory ######
Deleting scratch DMG
So, how can I create a bootable image of 10.5.8?
Thanks
-Gary
|
| |
|
|
| Allister |
 |
Friday, July 02 2010 @ 03:30 pm MDT |
|
|

Moderator
Status: online
Registered: 12/06/09
Posts: 93
|
Hey Mr.Bernstein,
I have had a bunch of issues with 10.5recently with similar log output from instaUp2Date, I can try to backtrack versions until I find one that works. You may want to try using the instadmg.bash option to turn of jailing the installer daemon. I think only manually populating the directories(instead of passing the --process flag to instaup2date.py) was working. Please try a few updates and let us know if at least manually calling instadmg.bash works for you, I know even 'manually'(without instaUp2Date) createUser wasn't working for me as of ~r301.
Allister
|
| |
|
|
| Gary Bernstein |
 |
Friday, July 02 2010 @ 03:33 pm MDT |
|
|

End User
Status: offline
Registered: 06/23/05
Posts: 30
|
Thanks. I'll give that a try. One question, how does one backtrace the versions? I'm not finding it on the website.
-Gary
|
| |
|
|
| Allister |
 |
Friday, July 02 2010 @ 03:52 pm MDT |
|
|

Moderator
Status: online
Registered: 12/06/09
Posts: 93
|
Hey Gary,
Here's a link to the googlecode view of the most recent revision of instadmg.bash,
http://code.google.com/p/instadmg/source/browse/trunk/instadmg.bash?r=309
I'm sure there's the terminal way of doing this that's more efficient, but if you follow the link you can then use the nav towards the upper-right(above the sidebars "hide details" button) to browse each previous version of instadmg.bash, same if your viewing the changes for instaUp2Date.py. Then you can svn down whichever rev you'd like to test with svn checkout URL -r 2xx PATH
Allister
|
| |
|
|
| larkost |
 |
Friday, July 02 2010 @ 07:02 pm MDT |
|
|

Server Wrangler
Status: offline
Registered: 09/05/07
Posts: 271
|
The latest 10.5 requires the chroot that I put in for 10.5, but that same system will not work for 10.6, the installer changed, and Apple has recently told me that they don't consider this a bug/problem that they are going to fix. Without changes from Apple there is probably no chance that I can fix this.
So if you are building 10.5 or 10.4 images then you need to be running from 10.5 (the latest version please). If you are making 10.6 images, then run 10.6 (once again: latest version). I should probably code this restriction in, like I have the one for not being able to create a newer version on an older OS.
|
| |
|
|
| Gary Bernstein |
 |
Friday, July 02 2010 @ 09:24 pm MDT |
|
|

End User
Status: offline
Registered: 06/23/05
Posts: 30
|
So, are you saying that the 1.6 release should work fine if I put it on a 10.5.8 machine to create a 10.5 disk image?
|
| |
|
|
| larkost |
 |
Saturday, July 03 2010 @ 04:14 pm MDT |
|
|

Server Wrangler
Status: offline
Registered: 09/05/07
Posts: 271
|
Quote by: Gary+BernsteinSo, are you saying that the 1.6 release should work fine if I put it on a 10.5.8 machine to create a 10.5 disk image?
In a word, yes.
|
| |
|
|
| Allister |
 |
Monday, July 05 2010 @ 01:37 pm MDT |
|
|

Moderator
Status: online
Registered: 12/06/09
Posts: 93
|
I'm testing clearreg.pkg as posted here on AFP548 and several versions of createUser and haven't had any packages(bare .apps are not affected) in CustomPackages work, un-jailed installer daemons or not, called via instaUp2Date or not. This has been present for many revisions of instadmg.bash as far as I can tell, and although I'd like to file bugs, I've had limited access to the 10.5 system I build on to verify each issue.
I'll follow up with issue reports as soon as I've tested that just putting custom .pkgs in BaseUpdates doesn't work.
Allister
|
| |
|
|
| Gary Bernstein |
 |
Tuesday, July 06 2010 @ 03:46 pm MDT |
|
|

End User
Status: offline
Registered: 06/23/05
Posts: 30
|
I just placed instadmg on a 10.5.8 PPC machine and I am still unable to use instaup2date:
14:08:28 ###### InstaDMG build initiated ######
InstaDMG version 1.6rc1 (svn revision: 309)
Host OS: Mac OS X 10.5.8
Host Hardware: PowerMac11,2
Output file name: 10.5.8 Vanilla
Output disk name: KCPA10-5-8
14:08:29 ###### Finding main MacOS X installer disk ######
Found primary OS installer disk: ./InstallerFiles/BaseOS/Mac OS X Install DVD.dmg
14:08:29 ###### Looking for a Cached Image ######
No cached image found
14:08:30 ###### Mounting Mac OS X installer image ######
Mac OS X installer image mounted
14:08:33 ###### Creating intermediary disk image ######
Target image: /private/tmp/InstaDMG_temp_folder.BpPO1q/27A1E2B0-2F8B-438F-A5C5-5561CD16D3F2.sparseimage mounted successfully at: /tmp/mount_point.h4yJjm
14:08:40 ###### Beginning Installation from /private/tmp/InstaDMG_temp_folder.BpPO1q/mount_point.KvdmUZ ######
Installing system from: /private/tmp/InstaDMG_temp_folder.BpPO1q/mount_point.KvdmUZ onto image at: /tmp/mount_point.h4yJjm using language code: en
Base OS installed
Compacting and saving cached image to: ./Caches/BaseImageCache/F388EB24.dmg
14:53:26 ###### Looking for a Cached Image ######
Mounting the shadow file (/private/tmp/InstaDMG_temp_folder.BpPO1q/9A4E9126-D7C6-4330-B8C7-16983DA58551.shadowfile) onto the cached image (./Caches/BaseImageCache/F388EB24.dmg)
Target OS: Mac OS X 10.5 (9A581)
Encasing installer daemon in a chroot jail
Chrooting com.apple.installdb.system daemon
14:53:34 ###### Beginning Update Installs from /tmp/InstaUp2DateFolder-1tE2FN ######
Working on folder 01 Mac OS X 10.5.8 Combo Update (14:53:34)
Mounting the package dmg: MacOSXUpdCombo10.5.8 sha1-0a88c9ecfbe08faf1a2307929c67f38b4822dfcb.dmg (/tmp/InstaUp2DateFolder-1tE2FN/01 Mac OS X 10.5.8 Combo Update) at: /private/tmp/InstaDMG_temp_folder.BpPO1q/mount_point.H98xaE/private/tmp/mount_point.3APvyF
###### There were no items to install in: /private/tmp/InstaDMG_temp_folder.BpPO1q/mount_point.H98xaE/private/tmp/mount_point.3APvyF ######
14:53:36 ###### Cleaning up ######
Restoring normal installd daemon
Restoring com.apple.installdb.system daemon
Ejecting images
Deleting scratch DMG
I am going to try using instadmg manually.....
|
| |
|
|
| Gary Bernstein |
 |
Tuesday, July 06 2010 @ 05:22 pm MDT |
|
|

End User
Status: offline
Registered: 06/23/05
Posts: 30
|
So, what I am doing wrong:
$ sudo ./instadmg/instadmg.bash -r -n KCPA-10-5-8-20100706 -m KCPA-10-5-8-20100706
Password:
17:32:08 ###### InstaDMG build initiated ######
InstaDMG version 1.6rc1 (svn revision: 309)
Host OS: Mac OS X 10.5.8
Host Hardware: PowerMac11,2
Output file name: KCPA-10-5-8-20100706
Output disk name: KCPA-10-5-8-20100706
17:32:09 ###### Finding main MacOS X installer disk ######
Found primary OS installer disk: ./InstallerFiles/BaseOS/Mac OS X Install DVD.dmg
17:32:09 ###### Looking for a Cached Image ######
Mounting the shadow file (/private/tmp/InstaDMG_temp_folder.jAa6cw/336CD493-55C4-4DC0-9823-1C0355EAC703.shadowfile) onto the cached image (./Caches/BaseImageCache/F388EB24.dmg)
Target OS: Mac OS X 10.5 (9A581)
Encasing installer daemon in a chroot jail
Chrooting com.apple.installdb.system daemon
17:37:34 ###### Beginning Update Installs from ./InstallerFiles/BaseUpdates ######
Working on folder 001 (17:37:35)
###### There were no items to install in: ./InstallerFiles/BaseUpdates/001 ######
17:37:35 ###### Cleaning up ######
Restoring normal installd daemon
Restoring com.apple.installdb.system daemon
Ejecting images
Deleting scratch DMG
Thanks
|
| |
|
|
| larkost |
 |
Tuesday, July 06 2010 @ 05:28 pm MDT |
|
|

Server Wrangler
Status: offline
Registered: 09/05/07
Posts: 271
|
The debug log is going to have more details, try perusing that near the line from "17:37:34". My guess is that a .dmg failed to mount, and a wild guess from there is that the .dmg was already mounted. Right now InstaDMG does not handle that case well.
|
| |
|
|
| Gary Bernstein |
 |
Tuesday, July 06 2010 @ 05:37 pm MDT |
|
|

End User
Status: offline
Registered: 06/23/05
Posts: 30
|
The section from the debug log:
17:32:09 ###### Looking for a Cached Image ######
Current image mount point: /private/tmp/InstaDMG_temp_folder.jAa6cw/mount_point.anLmRT
Shadow file location: /private/tmp/InstaDMG_temp_folder.jAa6cw/336CD493-55C4-4DC0-9823-1C0355EAC703.shadowfile
Mounting the shadow file (/private/tmp/InstaDMG_temp_folder.jAa6cw/336CD493-55C4-4DC0-9823-1C0355EAC703.shadowfile) onto the cached image (./Caches/BaseImageCache/F388EB24.dmg)
Checksumming Driver Descriptor Map (DDM : 0)…
Driver Descriptor Map (DDM : 0): verified CRC32 $E821D262
Checksumming Apple (Apple_partition_map : 1)…
Apple (Apple_partition_map : 1): verified CRC32 $20B9C230
Checksumming disk image (Apple_HFS : 2)…
disk image (Apple_HFS : 2): verified CRC32 $6911ADDF
verified CRC32 $BCBA060B
/dev/disk3 Apple_partition_scheme
/dev/disk3s1 Apple_partition_map
/dev/disk3s2 Apple_HFS /private/tmp/InstaDMG_temp_folder.jAa6cw/mount_point.anLmRT
Target OS: Mac OS X 10.5 (9A581)
Encasing installer daemon in a chroot jail
Chrooting com.apple.installdb.system daemon
17:37:34 ###### Beginning Update Installs from ./InstallerFiles/BaseUpdates ######
Working on folder 001 (17:37:35)
###### There were no items to install in: ./InstallerFiles/BaseUpdates/001 ######
17:37:35 ###### Cleaning up ######
Restoring normal installd daemon
Restoring com.apple.installdb.system daemon
Ejecting images
"disk3" unmounted.
"disk3" ejected.
Unmounted the Target Disk image from /private/tmp/InstaDMG_temp_folder.jAa6cw/mount_point.anLmRT
Deleting scratch DMG
|
| |
|
|
| larkost |
 |
Tuesday, July 06 2010 @ 10:39 pm MDT |
|
|

Server Wrangler
Status: offline
Registered: 09/05/07
Posts: 271
|
I think I finally see a possible difference: you are running on PPC hardware. My only PPC hardware is running an old server, so no testing has been done. I will see if I can find some PPC hardware to try things out on.
I have just confirmed that 10.5.8 image creation seems to be working fine on Intel, including the iLife updaters.
|
| |
|
|
| Allister |
 |
Wednesday, July 07 2010 @ 04:38 am MDT |
|
|

Moderator
Status: online
Registered: 12/06/09
Posts: 93
|
So larkost, can you confirm custom packages are working in 10.5 on intel for you, because clearReg(which one would expect to do the most trivial of things) is not working for me. Nothing in the debug log to say why postflight can't touch the file to /var/db, and it used to work previous to rev ~261(off the top of my head.)
Also, shouldn't instadmg.bash know its running on 10.5 and choose not jail the installer daemon? Even when called by instaUp2Date?
Allister
|
| |
|
|
| Gary Bernstein |
 |
Wednesday, July 07 2010 @ 10:39 am MDT |
|
|

End User
Status: offline
Registered: 06/23/05
Posts: 30
|
On a 10.5.8 Intel machine, I just install instadmg (315) and ran through the instaup2date process. I then ran: sudo ./instadmg/AddOns/InstaUp2Date/instaUp2Date.py 10.5_KCPA_vanilla.catalog --process
This is the end of the debug.log:
10:52:58 ###### Looking for a Cached Image ######
Current image mount point: /private/tmp/InstaDMG_temp_folder.04lUHR/mount_point.40CRMs
Shadow file location: /private/tmp/InstaDMG_temp_folder.04lUHR/7E0DE845-F2FF-439B-A680-86EB4E007145.shadowfile
Mounting the shadow file (/private/tmp/InstaDMG_temp_folder.04lUHR/7E0DE845-F2FF-439B-A680-86EB4E007145.shadowfile) onto the cached image (./Caches/BaseImageCache/480CC590.dmg)
/dev/disk4 GUID_partition_scheme
/dev/disk4s1 EFI
/dev/disk4s2 Apple_HFS /private/tmp/InstaDMG_temp_folder.04lUHR/mount_point.40CRMs
Target OS: Mac OS X 10.5 (9A581)
Encasing installer daemon in a chroot jail
Chrooting com.apple.installdb.system daemon
10:53:08 ###### Beginning Update Installs from /tmp/InstaUp2DateFolder-FRPV5j ######
Working on folder 01 Mac OS X 10.5.8 Combo Update (10:53:08)
Mounting the package dmg: MacOSXUpdCombo10.5.8 sha1-0a88c9ecfbe08faf1a2307929c67f38b4822dfcb.dmg (/tmp/InstaUp2DateFolder-FRPV5j/01 Mac OS X 10.5.8 Combo Update) at: /private/tmp/InstaDMG_temp_folder.04lUHR/mount_point.40CRMs/private/tmp/mount_point.sFO6CX
Mounting disk image from /Volumes/Users/Users/ciaoadmin/Desktop/instadmg/Caches/InstaUp2DateCache/MacOSXUpdCombo10.5.8 sha1-0a88c9ecfbe08faf1a2307929c67f38b4822dfcb.dmg at /private/tmp/InstaDMG_temp_folder.04lUHR/mount_point.40CRMs/private/tmp/mount_point.sFO6CX
###### There were no items to install in: /private/tmp/InstaDMG_temp_folder.04lUHR/mount_point.40CRMs/private/tmp/mount_point.sFO6CX ######
10:53:09 ###### Cleaning up ######
Restoring normal installd daemon
Restoring com.apple.installdb.system daemon
Ejecting images
"disk4" unmounted.
"disk4" ejected.
Unmounted the Target Disk image from /private/tmp/InstaDMG_temp_folder.04lUHR/mount_point.40CRMs
"disk3" unmounted.
"disk3" ejected.
Unmounted the Supporting Disk image from /private/tmp/InstaDMG_temp_folder.04lUHR/mount_point.R0aXCW
Deleting scratch DMG
I am going to try running instadmg manually again now...
|
| |
|
|
| larkost |
 |
Wednesday, July 07 2010 @ 10:52 am MDT |
|
|

Server Wrangler
Status: offline
Registered: 09/05/07
Posts: 271
|
The chances that InstaDMG is going to get you any different result is near zero.
Try this:
1) Reboot (just to be certain you don't have things open)
2) Run: sudo instaUp2Date.py --process 10.5_vanilla
If that works, then you know the problem is with your modifications. And I am pretty sure that it is going to work, since I have run it a few times in the last couple of days.
|
| |
|
|
| Gary Bernstein |
 |
Wednesday, July 07 2010 @ 10:57 am MDT |
|
|

End User
Status: offline
Registered: 06/23/05
Posts: 30
|
Started this before seeing larkost's comment:
ran: sudo ./instadmg/instadmg.bash -r -n KCPA-10-5-8-20100707 -m KCPA-10-5-8-20100707
debug.log:
11:52:39 ###### InstaDMG build initiated ######
InstaDMG version 1.6rc1 (svn revision: 309)
Host OS: Mac OS X 10.5.8
Host Hardware: MacPro3,1
Output file name: KCPA-10-5-8-20100707
Output disk name: KCPA-10-5-8-20100707
Host mount folder: /private/tmp/InstaDMG_temp_folder.0MUtbQ
11:52:40 ###### Finding main MacOS X installer disk ######
Found primary OS installer disk: ./InstallerFiles/BaseOS/Mac OS X Install DVD.dmg
11:52:40 ###### Looking for a Cached Image ######
Current image mount point: /private/tmp/InstaDMG_temp_folder.0MUtbQ/mount_point.C2zJRB
Shadow file location: /private/tmp/InstaDMG_temp_folder.0MUtbQ/F1311E31-2F1A-4ACA-B461-3E13E3D94E3A.shadowfile
Mounting the shadow file (/private/tmp/InstaDMG_temp_folder.0MUtbQ/F1311E31-2F1A-4ACA-B461-3E13E3D94E3A.shadowfile) onto the cached image (./Caches/BaseImageCache/480CC590.dmg)
expected CRC32 $382F3B33
/dev/disk3 GUID_partition_scheme
/dev/disk3s1 EFI
/dev/disk3s2 Apple_HFS /private/tmp/InstaDMG_temp_folder.0MUtbQ/mount_point.C2zJRB
Target OS: Mac OS X 10.5 (9A581)
Encasing installer daemon in a chroot jail
Chrooting com.apple.installdb.system daemon
11:54:15 ###### Beginning Update Installs from ./InstallerFiles/BaseUpdates ######
Working on folder 001 (11:54:15)
###### There were no items to install in: ./InstallerFiles/BaseUpdates/001 ######
11:54:15 ###### Cleaning up ######
Restoring normal installd daemon
Restoring com.apple.installdb.system daemon
Ejecting images
"disk3" unmounted.
"disk3" ejected.
Unmounted the Target Disk image from /private/tmp/InstaDMG_temp_folder.0MUtbQ/mount_point.C2zJRB
Deleting scratch DMG
Trying larkost's comments ...
|
| |
|
|
| Gary Bernstein |
 |
Wednesday, July 07 2010 @ 11:02 am MDT |
|
|

End User
Status: offline
Registered: 06/23/05
Posts: 30
|
|
| |
|
|
| Gary Bernstein |
 |
Wednesday, July 14 2010 @ 07:11 am MDT |
|
|

End User
Status: offline
Registered: 06/23/05
Posts: 30
|
I made a little progress yesterday and I thought I should share it.
In instadmg/InstallerFiles/BaseUpdates I was placing all of the updates in individually numbered folders. For instance: BaseUpdates/001/MacOSX10.5.8.ComboUpdate.dmg or BaseUpdates/002/QuickTime7.6.6.dmg, and etc. When I did this I was getting the errors mentioned above. I did this because it was hinted at in the instadmg docs that this was a good way to go and to provide an order to the updates.
I found last night that if I move the files up one level and rename them that instadmg works. For instance: BaseUpdates/001MacOSX10.5.8.ComboUpdate.dmg or BaseUpdates/002QuickTime7.6.6.dmg, and etc.
I was then able to successfully run:
sudo ./instadmg.bash -r -n KCPA-1058 -m KCPA-1058
I am still unable to get InstaUp2Date to run on 10.5.8 and create a 10.5.8 disk image. I get an error about There were no items to install in /private/tmp/InstaDMG_temp_folder.4pYx6b/mount_point.jTh1nO/private/tmp/mount_point.mBDYKi
Thoughts?
Thanks
-Gary
|
| |
|
|
| nobrainer |
 |
Thursday, July 22 2010 @ 11:56 am MDT |
|
|

Help Desk
Status: offline
Registered: 07/01/10
Posts: 66
|
Quote by: Gary+BernsteinI made a little progress yesterday and I thought I should share it.
In instadmg/InstallerFiles/BaseUpdates I was placing all of the updates in individually numbered folders. For instance: BaseUpdates/001/MacOSX10.5.8.ComboUpdate.dmg or BaseUpdates/002/QuickTime7.6.6.dmg, and etc. When I did this I was getting the errors mentioned above. I did this because it was hinted at in the instadmg docs that this was a good way to go and to provide an order to the updates.
I found last night that if I move the files up one level and rename them that instadmg works. For instance: BaseUpdates/001MacOSX10.5.8.ComboUpdate.dmg or BaseUpdates/002QuickTime7.6.6.dmg, and etc.
I was then able to successfully run:
sudo ./instadmg.bash -r -n KCPA-1058 -m KCPA-1058
I am still unable to get InstaUp2Date to run on 10.5.8 and create a 10.5.8 disk image. I get an error about There were no items to install in /private/tmp/InstaDMG_temp_folder.4pYx6b/mount_point.jTh1nO/private/tmp/mount_point.mBDYKi
Thoughts?
Thanks
-Gary
I tried the sudo ./instadmg -r and I still get
010-07-22 10:54:41.847 defaults[18141:10b]
The domain/default pair of (/private/tmp/InstaDMG_temp_folder.I3oXw1/mount_point.tUFb0d/System/Library/CoreServices/SystemVersion, ProductVersion) does not exist
2010-07-22 10:54:41.857 defaults[18144:10b]
The domain/default pair of (/private/tmp/InstaDMG_temp_folder.I3oXw1/mount_point.tUFb0d/System/Library/CoreServices/SystemVersion, ProductVersion) does not exist
2010-07-22 10:54:41.866 defaults[18146:10b]
The domain/default pair of (/private/tmp/InstaDMG_temp_folder.I3oXw1/mount_point.tUFb0d/System/Library/CoreServices/SystemVersion, ProductBuildVersion) does not exist
2010-07-22 10:54:41.874 defaults[18147:10b]
The domain/default pair of (/private/tmp/InstaDMG_temp_folder.I3oXw1/mount_point.tUFb0d/System/Library/CoreServices/SystemVersion, ProductName) does not exist
./instadmg.bash: line 700: [: 5: unary operator expected
Target OS: ()
Encasing installer daemon in a chroot jail
cp: /private/tmp/InstaDMG_temp_folder.I3oXw1/mount_point.tUFb0d/private/var/log/InstaDMG_package.log: No such file or directory
and then dumps out.
|
| |
|
|
| nobrainer |
 |
Friday, July 23 2010 @ 01:01 pm MDT |
|
|

Help Desk
Status: offline
Registered: 07/01/10
Posts: 66
|
Quote by: Gary+BernsteinI made a little progress yesterday and I thought I should share it.
In instadmg/InstallerFiles/BaseUpdates I was placing all of the updates in individually numbered folders. For instance: BaseUpdates/001/MacOSX10.5.8.ComboUpdate.dmg or BaseUpdates/002/QuickTime7.6.6.dmg, and etc. When I did this I was getting the errors mentioned above. I did this because it was hinted at in the instadmg docs that this was a good way to go and to provide an order to the updates.
I found last night that if I move the files up one level and rename them that instadmg works. For instance: BaseUpdates/001MacOSX10.5.8.ComboUpdate.dmg or BaseUpdates/002QuickTime7.6.6.dmg, and etc.
I was then able to successfully run:
sudo ./instadmg.bash -r -n KCPA-1058 -m KCPA-1058
I am still unable to get InstaUp2Date to run on 10.5.8 and create a 10.5.8 disk image. I get an error about There were no items to install in /private/tmp/InstaDMG_temp_folder.4pYx6b/mount_point.jTh1nO/private/tmp/mount_point.mBDYKi
Thoughts?
Thanks
-Gary
I'm kind of at the same point, I renamed my update files and put them all in the base updates folder.. and I was able to run the instadmg.bash -r -n -m and the instadmg script ran through but none of the updates applied, I still have a 10.5.5 OS (instead of 10.5.8)
Checked the debug log, and while it continued on through the whole process... the actual logs showed every addon failed the install...
Install failed: The Installer could not install some files in “/private/tmp/InstaDMG_temp_folder.LWia2J/mount_point.VzhoKv”. Contact the software manufacturer for assistance.
The install failed (The Installer could not install some files in “/private/tmp/InstaDMG_temp_folder.LWia2J/mount_point.VzhoKv”. Contact the software manufacturer for assistance.)
I guess I will try an older instadmg script (this was 1.6rc1, rev: 318).
|
| |
|
|
| nobrainer |
 |
Friday, July 23 2010 @ 03:22 pm MDT |
|
|

Help Desk
Status: offline
Registered: 07/01/10
Posts: 66
|
While using instadmg r261, I built a 10.5.8 using instadmg.bash -r -s -n "Macintosh HD" -m Mac1058_vanilla
I put all the updates in the installerfiles/baseupdates folder and renamed them as 01update, 02update, 03update
What did not appear to work was the CustomPKG files, so no clearreg, or admin account(s) created.
Soo.... anybody got any ideas for how to get the clearreg and admin account working?
|
| |
|
|
| larkost |
 |
Friday, July 23 2010 @ 04:02 pm MDT |
|
|

Server Wrangler
Status: offline
Registered: 09/05/07
Posts: 271
|
The 10.5.8 updater will not work with the '-r' flag. The chroot'ed installer code was put in place to handle the 10.5.7 and 10.5.8 updaters.
I have not been able to replicate any problems with the latest InstaDMG/InstaUp2Date running on 10.5.8 on Intel.
|
| |
|
|
| nobrainer |
 |
Monday, July 26 2010 @ 07:05 am MDT |
|
|

Help Desk
Status: offline
Registered: 07/01/10
Posts: 66
|
Quote by: larkostThe 10.5.8 updater will not work with the '-r' flag. The chroot'ed installer code was put in place to handle the 10.5.7 and 10.5.8 updaters.
I have not been able to replicate any problems with the latest InstaDMG/InstaUp2Date running on 10.5.8 on Intel.
I'm no where near considering myself an expert, I can only share what I found worked for me.
I do think there is a problem somewhere with instaDMG/InstaUp2Date. Maybe something your revision has or doesn't have that others do/don't. There looked to be several people with trouble with it (though you rarely hear about the ones that don't have trouble).
I spent 4 full working days last week of between 9-11hrs each trying to get the instaDMG/InstaUp2Date working, different revisions, different hardware platforms, etc, and the above cmd line was the only way I got a working dmg file.
I'm more than willing to work with someone to narrow down the problems, so the next person can have a smoother experience. This is a GREAT treasure to find and the support community is top notch. I just wish I had the expertise to narrow down the trouble spot myself and constructively share
|
| |
|
|
| Gary Bernstein |
 |
Monday, July 26 2010 @ 12:41 pm MDT |
|
|

End User
Status: offline
Registered: 06/23/05
Posts: 30
|
I have just tried to use my 10.5 image that I thought was updated to 10.5.8 by using the combo updater. It appears to have ran but not installed the updates.
I must be missing something stupid, as this should not be this hard.
Any thoughts?
|
| |
|
|
| Gary Bernstein |
 |
Monday, July 26 2010 @ 12:42 pm MDT |
|
|

End User
Status: offline
Registered: 06/23/05
Posts: 30
|
Quote by: larkostThe 10.5.8 updater will not work with the '-r' flag. The chroot'ed installer code was put in place to handle the 10.5.7 and 10.5.8 updaters.
I have not been able to replicate any problems with the latest InstaDMG/InstaUp2Date running on 10.5.8 on Intel.
Perhaps you would be willing to put a 10.5.8 disk image that I could use as a starting point?
|
| |
|
|
| nobrainer |
 |
Monday, July 26 2010 @ 12:47 pm MDT |
|
|

Help Desk
Status: offline
Registered: 07/01/10
Posts: 66
|
Quote by: Gary+BernsteinI have just tried to use my 10.5 image that I thought was updated to 10.5.8 by using the combo updater. It appears to have ran but not installed the updates.
I must be missing something stupid, as this should not be this hard.
Any thoughts?
Gary, that's EXACTLY what I ran into a couple times that I was "successful" the DMG would finish, but when I would try and test deploy it, there would be no updates on it... I would go back through the logs and see that they all failed and I would still be on the original version of the OS 10.5.5
One thing to note - you can load the log files up in the console and watch them in real time to see if they fail... if they do fail you can abort the image and save yourself the time (a little trick I learned at the very end).
|
| |
|
|
| Chris George |
 |
Saturday, July 31 2010 @ 07:58 pm MDT |
|
|

End User
Status: offline
Registered: 06/20/08
Posts: 33
|
I am running into the same issue as Mr. Bernstein above, running on 10.5.8 fully patched on an iMac 8,1. This is using InstaDMG 1.6rc1, svn 318, as checked out today.
Best as I can tell, it's an issue with hdiutil or with the DiskImages framework, not the script. I tried manually executing hdiutil and mounting the 10.5.8 Combo image to the same directory as InstaDMG would be using, and I got the same "no mountable file systems," yet if I just ran hdiutil with default options, the image mounted just fine. (I'm running DiskImages framework version 10.5.9, Source Version 2020000)
Here's the portion of the debug log, following the OS install (which completed successfully):
20:24:21 ###### Beginning Update Installs from ./InstallerFiles/BaseUpdates ######
Working on folder 01 Mac OS X 10.5.8 Combo Update (20:24:21)
Mounting the package dmg: MacOSXUpdCombo10.5.8 sha1-0a88c9ecfbe08faf1a2307929c67f38b4822dfcb.dmg (./InstallerFiles/BaseUpdates/01 Mac OS X 10.5.8 Combo Update) at: /private/tmp/InstaDMG_temp_folder.nVw6E0/mount_point.1jRxcb/private/tmp/mount_point.lX0mVb
Mounting disk image from /Volumes/WIEBETECH/instadmg/Caches/InstaUp2DateCache/MacOSXUpdCombo10.5.8 sha1-0a88c9ecfbe08faf1a2307929c67f38b4822dfcb.dmg at /private/tmp/InstaDMG_temp_folder.nVw6E0/mount_point.1jRxcb/private/tmp/mount_point.lX0mVb
Checksumming Driver Descriptor Map (DDM : 0)…
Driver Descriptor Map (DDM : 0): verified CRC32 $54CBFDAD
Checksumming (Apple_Free : 1)…
(Apple_Free : 1): verified CRC32 $00000000
Checksumming Apple (Apple_partition_map : 2)…
Apple (Apple_partition_map : 2): verified CRC32 $11142F78
Checksumming Macintosh (Apple_Driver_ATAPI : 3)…
Macintosh (Apple_Driver_ATAPI : 3): verified CRC32 $F1E8BA9E
Checksumming (Apple_Free : 4)…
(Apple_Free : 4): verified CRC32 $00000000
Checksumming Mac_OS_X (Apple_HFS : 5)…
Mac_OS_X (Apple_HFS : 5): verified CRC32 $9CD9C0E6
Checksumming (Apple_Free : 6)…
(Apple_Free : 6): verified CRC32 $00000000
verified CRC32 $A5C1C2C1
hdiutil: attach failed - no mountable file systems
###### There were no items to install in: /private/tmp/InstaDMG_temp_folder.nVw6E0/mount_point.1jRxcb/private/tmp/mount_point.lX0mVb ######
20:24:50 ###### Cleaning up ######
Restoring normal installd daemon
Restoring com.apple.installdb.system daemon
Ejecting images
"disk3" unmounted.
"disk3" ejected.
Unmounted the Target Disk image from /private/tmp/InstaDMG_temp_folder.nVw6E0/mount_point.1jRxcb
"disk2" unmounted.
"disk2" ejected.
Unmounted the Supporting Disk image from /private/tmp/InstaDMG_temp_folder.nVw6E0/mount_point.OCoyLq
Deleting scratch DMG
|
| |
|
|
| Chris George |
 |
Sunday, August 01 2010 @ 05:23 am MDT |
|
|

End User
Status: offline
Registered: 06/20/08
Posts: 33
|
For the record, I tried again on a MacBookPro 4,1 also running 10.5.8 and got the same results.
I also tried modifying the script to change from /private/tmp to just /tmp and still got the same results.
Last thing I'll try is removing the InstaDMG_temp_folder.XXXXXX and putting everything right within /tmp, just to see what that does. I'm not holding my breath.
|
| |
|
|
| Chris George |
 |
Sunday, August 01 2010 @ 05:46 am MDT |
|
|

End User
Status: offline
Registered: 06/20/08
Posts: 33
|
Curiouser and curiouser. It worked.
I commented out lines 573-575 and inserted the following on line 576:
HOST_MOUNT_FOLDER="/tmp"
I now need to go back and try and revert to /private/tmp (see my last post) and see if the changes hold. If so, it's an issue with $MOUNT_FOLDER_TEMPLATE. If you're working within /private/tmp you're fine, but if you're working within /private/tmp/InstaDMG_temp_folder.XXXXXXX, not so much.
Edit: Confirmed. Solution as noted above works; the only change required to resolve the issue is to comment out 573-575, and insert on 576:
HOST_MOUNT_FOLDER="/private/tmp"
The build process is continuing at this time on my machine; I'll let it finish and do my normal checks on the result, but I'm highly confident that it will be fine.
|
| |
|
|
| nobrainer |
 |
Tuesday, August 03 2010 @ 08:35 am MDT |
|
|

Help Desk
Status: offline
Registered: 07/01/10
Posts: 66
|
Quote by: Chris+GeorgeCuriouser and curiouser. It worked.
I commented out lines 573-575 and inserted the following on line 576:
HOST_MOUNT_FOLDER="/tmp"
I now need to go back and try and revert to /private/tmp (see my last post) and see if the changes hold. If so, it's an issue with $MOUNT_FOLDER_TEMPLATE. If you're working within /private/tmp you're fine, but if you're working within /private/tmp/InstaDMG_temp_folder.XXXXXXX, not so much.
Edit: Confirmed. Solution as noted above works; the only change required to resolve the issue is to comment out 573-575, and insert on 576:
HOST_MOUNT_FOLDER="/private/tmp"
The build process is continuing at this time on my machine; I'll let it finish and do my normal checks on the result, but I'm highly confident that it will be fine.
I tried your suggestions, and it worked flawlessly! Thank you!
|
| |
|
|