Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Base Install not working #370406
    dsuper7
    Participant

    It 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.

    in reply to: Base Install not working #370401
    dsuper7
    Participant

    here 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]

    in reply to: Base Install not working #370400
    dsuper7
    Participant

    I 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]

    in reply to: Base Install not working #370398
    dsuper7
    Participant

    never mind the post about $DATE. I see where you are defining it.

    in reply to: Base Install not working #370397
    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]

    in reply to: Base Install not working #370396
    dsuper7
    Participant

    I 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]

    in reply to: Base Install not working #370395
    dsuper7
    Participant

    I 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,
    Daniel

    in reply to: Base Install not working #370381
    dsuper7
    Participant

    I 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]

    in reply to: Base Install not working #370379
    dsuper7
    Participant

    I 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.

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