Novell Home

My Favorites

Close

Please to see your favorites.

How to use the ZfD4 imaging bootcd and not having a network connection

(Last modified: 25Mar2003)

This document (10080005) is provided subject to the disclaimer at the end of this document.

goal

How to use the ZfD4 imaging bootcd and not having a network connection

fact

Novell ZENworks for Desktops 4 - ZFD4

Novell ZENworks Imaging

note

When using the BOOTCD coming with ZfD4, you will not be able to use it automate disconnected imaging operations. This due to the fact that the system is expecting a network connection to verify settings (e.g. in NDS). You can ommit this using the following.

fix

Please perform the following steps:

1) boot into the ZENWorks Imaging Linux Kernel and the select manual mode.
2) when you have the bash#- prompt enter the following command: cd bin 
3) Insert a (formatted) diskette in you workstation and mount this diskette (mount /dev/fd0 /mnt)
4) After this you need to create a file where you specify what to do. The following is an example. Please modify this to your needs. (Novell will take no responsibility if you use the example script.). Use the following command to create a new file: pico mnt/xpcd.s and enter the steps you want to do. E.g. below is an example:
    cdrom.s
    /bin/echo "\n\n\n\nCompany - Imaging Boot-CD for standard XP"
    while [ "$ValidOption" = "" ]
    do
         /bin/echo "\n\nYou have the following options...\n"
         /bin/echo "n - new installation"
         /bin/echo "r - replace current installation"
         /bin/echo "c - cancel"
         /bin/echo -n "\nYour Option"
         read userChoice
         case $userChoice in
               n | N )
                         zisedit objectdn= netbiosname= workgroup= sid=0-0-0-0-0 workstationid= dnshostname=
                         img rl /mnt/cdrom/images/xp.zmg                               #images/xp.zmg - your image that you also put on CD in dir images
                         ValidOption=1
                         ;; 
               r | R )
                         img pd1                                                                        #pd1 - delete partition 1
                         img pc1 ntfs                                                                 #pc1 ntfs - create partition 1 with NTFS 
                         img rl /mnt/cdrom/images/xp.zmg a1:p1                     #a1:p1 - add on partition 1
                         img pa1                                                                        #pa1 - activate partition 1 
                         ValidOption=1
                         ;;
                c | C )
                         /bin/echo "\nProcess cancelled\n\n"
                         ValidOption=1
                         ;; 
          esac 
     done
     umount mnt/cdrom
5) Unmount diskette with unmount /mnt
6) Add the following lines to SETTINGS.TXT:
         export IMGCMD="/bin/xpcd.s"
         export NONETWORK="1"
8) Use a UNZIP program that allows you to edit ISO-files (e.g. WinRAR or WinISO) and open BOOTCD.ISO. Add SETTINGS.TXT to the root, and xpcd.s to \ADDFILES\BIN. Also you need to create a directory IMAGES and add in this directory the image(s) you are using in xpcd.s.
9) Do not further edit one of the files created/modified in Linux with Windows Notepad. This will break the files!!!! You can also create/modify the scripts with UltraEdit or TextPad. These utilities are able to save the file in UNIX-format.

.

disclaimer

The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.

  • Document ID:
  • 10080005
  • Solution ID: NOVL86953
  • Creation Date: 06Feb2003
  • Modified Date: 25Mar2003
    • NovellManagement Products

Did this document solve your problem? Provide Feedback