Forum Replies Created
-
AuthorPosts
-
dsuper7
ParticipantIt think changing the working directory to the same as the script fixed part of the problem. I added
[code]PATH=/bin:/sbin/:/usr/bin/:/usr/sbin[/code]
to the top of the script, but it still didn’t go.Terminal output:
[code]/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 422: Error Encountered in Defining Variables and command sets: command not found[/code]I am running it on 10.4.10. the script is located on a different partition from the booted system (if that matters).
I executed the script using the method you provided in the previous post. It may be significant that I got further with the original script than the revised script. The original script wrote to both of the log files and actually created a disk image though it didn’t have a system on it.
dsuper7
Participanthere is the terminal output.
[code]/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 393: —- starting —-: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 1: +DATE: %m/%d/%y%nTIME: %H:%M:%S: No such file or directory
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 125: 07-11-02: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 1: Macintosh: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 1: -n: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 1: { print $1 }: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 131: unmount: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 1: hw.machine: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 1: -c: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 149: [: -eq: unary operator expected
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 152: I’m Running on Intel Platform: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 92: Erasing Disk for PPC Platform: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 93: Formatting as Macintosh HD at : command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 95: Formatting as Hard Disk: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 96: eraseVolume: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 155: Formatting as Disk Image at Macintosh HD on : command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 158: Current Image Mount is /Volumes/Macintosh HD: No such file or directory
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 396: —- completed part 1 – create_and_mount_image_new —-: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 399: —- completed part 2 – mount_os_install_new —-: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 209: –source: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 1: attach: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 1: -n: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 1: { print $1 }: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 216: rename: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 217: Current state Macintosh HD /Volumes/Macintosh HD: No such file or directory
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 401: —- completed part 3 – install_system_new —-: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 223: 07-11-02: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 224: 07-11-02: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 225: Beginning Update Installs from /Volumes/Data/InstaDMG/AppleUpdates: No such file or directory
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 226: Beginning Update Installs from /Volumes/Data/InstaDMG/AppleUpdates: No such file or directory
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 1: /Volumes/Data/InstaDMG/AppleUpdates: is a directory
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 403: —- completed part 4 – install_updates —-: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 250: 07-11-02: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 251: 07-11-02: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 252: Beginning Update Installs from /Volumes/Data/InstaDMG/CustomPKG: No such file or directory
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 253: Beginning Update Installs from /Volumes/Data/InstaDMG/CustomPKG: No such file or directory
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 1: /Volumes/Data/InstaDMG/CustomPKG: is a directory
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 405: —- completed part 5 – install_custom —-: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 277: 07-11-02: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 278: Creating the deployment DMG and scanning for ASR: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 281: Rename the deployment volume /Volumes/Macintosh HD: No such file or directory
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 283: rename: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 286: Build a new image from folder /Volumes/OS-Build-07-11-02 …: No such file or directory
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 287: create: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 295: We Will not UnMount a Hard Disk on exit: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 300: Scanning image for ASR: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 301: Image to scan is /Volumes/Data/InstaDMG/ASR_Output/07-11-02.dmg: No such file or directory
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 302: imagescan: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 407: —- completed part 6 – close_up_and_compress —-: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 320: ejecting media: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 321: /Volumes/Data/InstaDMG/DMG_Scratch/dev_file.dat: No such file or directory
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 325: Removing Scratch files: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 326: /Volumes/Data/InstaDMG/DMG_Scratch/*: No such file or directory
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 409: —- completed part 7 – clean_up —-: command not found
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 1: +DATE: %m/%d/%y%nTIME: %H:%M:%S: No such file or directory
/Volumes/Data/Instadmg/instadmg-rmlcll-revision.bash: line 411: —- Program End —-: command not found[/code]dsuper7
ParticipantI seem to be getting stuck in the testkit function. I am getting
[code]Error Encountered in Defining Variables and command sets: command not found[/code]dsuper7
Participantnever mind the post about $DATE. I see where you are defining it.
dsuper7
Participant[code]$ECHO “Error Encountered in Defining Variables and command sets” >> $LOGFILE[/code]
Should be…
[code]$ECHO “Error Encountered in Defining Variables and command sets” >> $LOG_FILE[/code]dsuper7
ParticipantI just ran the script, and I had trouble with this line.
[code] CREATE_DATE=`$DATE +%y-%m-%d`[/code]
Shouldn’t it be this?
[code] CREATE_DATE=`DATE +%y-%m-%d`[/code]dsuper7
ParticipantI am booting to an external drive and I made the internal drive (“/Volumes/Macintosh HD”) the ASR_TARGET_VOLUME.
The script does create a mountable image with the contents of the InstaUser package in it.
I’ll try using your script and see what happens.
Thanks,
Danieldsuper7
ParticipantI changed the original code to reflect the revised code and I got the same result.
I am not able to interpret these lines in the log… or how to investigate this further.
[code]
Beginning Installation from /Volumes/Mac OS X Install DVD
installer: Cannot install on volume /Volumes/InstaDMG because its disabled.
installer: Mac OS X cannot start up from this volume.
[/code]dsuper7
ParticipantI did note those code blocks and I used the PPC block.
Thanks for the reply. I’ll try your version and see if I get a different result.
-
AuthorPosts
Recent Comments