-- MikeGore - 19 Sep 2005

CSCF Boot Disk

  • Note Work in progress

What

  • Provides a network boot floppy (or CD) allowing network access to a file server for image deplyment
  • Based on the "The Universal TCP/IP Network Bootdisk" from http://www.netbootdisk.com/

Where

  • Local CSCF updated copy can be found at \\asimov.cscf.uwaterloo.ca\exports\export_dos\netboot

Why

  • We needed a network boot disk that was easier to maintain and update then Bart’s Boot Disk
    (A very capable but complex boot disk - full of spaghetti code and gotos with little internal documentation)

Aditional References

Main Directory and Notes

  • netboot54.zip original source "The Universal TCP/IP Network Bootdisk" from http://www.netbootdisk.com/ - Read netboot54\INSTRUCTIONS.TXT for how to build the boot disk
  • netboot54 - extracted copy of netboot54.zip - original copy
  • cscf - CSCF Updated copy of netboot54

cscf\ Files and Notes

  • Build - Files used by <!>MakeDisk.bat and installed on boot disk
  • images - raw image of updated netboot floppy and utils for read/writing floppy images
  • uha - extracted cscf\Files\FILES.UHA
  • MakeDisk.bat - Builds a boot floppy (you can make a boot CD from the floppy image)
  • what - files that had no refs to anything so I removed them
  • boot.zip - created by <!>MakeDisk.bat and installed on boot disk
  • INSTRUCTIONS.TXT - original instructions for building a disk
  • Files - Files used by <!>MakeDisk.bat and installed on boot disk
    • FileCopy - Used to hold User Preferences and scripts
      • cscf.bat - Does network mapping after booting
      • LMHOSTS - Map NETBIOS names to IP address as follows
        1. 0.0.1 localhost
        2. 168.1.1 server
        3. 97.15.251 asimov
  • makeuha.bat - rebuilds cscf\Files\FILES.UHA Local Maintenance Docs
  • mike_docs - various shell scripts that I used to find out dependencies * new - work on new scripts
  • orig - known working scripts as of 29July2005
  • diffit.bat - make diffs of working and new scripts
  • diff1.bat - used by diffit.bat to make diff of script
  • log.txt - result of diffit.bat when run

Theory of Operation

Files

  • config.sys
     - uses tunz.com to extract boot.zip and creates 32Meg Ram Disk as Q:
  • boot.zip
     - contains command.com and UHARCD.EXE
  • autoexec.bat
     - starts from command.com (boot.zip from config.sys)
     - copies FILES.UHA and script.bat to Q: - ram disk
     - starts Q:\script.bat
  • script.bat
     - copy user preferences saved in menuperf.bat from floppy to Q: ram disk
     - extract (uharcd) FILES.UHA to q: - ram disk
     - starts Q:\bin\script2.bat (from FILES.UHA)
  • script2.bat
     - starts menu interface with timeout
     - starts network and other services
     - restores user preferences running menuperf.bat
     - starts optional user scripts as defined with menu

Master Menu

  • Note: by default the manu menu will time out and execute the default boot script after a short timeout
    • With this menu you can change
      • How driver are loaded
      • Default Userid and Password
      • What post boot scripts will run (ie a script to run - (See Example Scripts)

Example Scripts

  • <!>FileCopy\cscf.bat - Map network drives
   @echo
   Rem EXPORT
   net use x: \\server\exports
   set path=%path%x:\bootdisk\bin;x:bootdisk\pqdi.550;

   Rem Nexus
   net use n: \\server\nexus

   Rem Core
   net use o: \\server\core

   Rem Sysprep
   net use s: \\server\sysprep

   Rem Optional Post Install Script Example
   REM n:
   REM cd \net
   REM call install.bat
  • n:\install.bat - Nexus Automatic Install batch file
   Echo Installing image on First Hard Drive
   pqimgctr /IDE=ON /CMD=N:\net\LAB.TXT /NOAFX
  • n:\LAB.TXT - Nexus Automatic Install script
   SELECT DRIVE 1
   DELETE ALL
   Set Image Filename 'N:\4SEP2005.PQI'
   SELECT FREESPACE FIRST
   SELECT IMAGE ALL
   RESIZE IMAGE PROPORTIONAL
   RESTORE
   SELECT PARTITION 1
   SET ACTIVE

TODO

  • Add Screen shots
  • Document steps to add drivers and rebuild disk image

Edit | Attach | Watch | Print version | History: r6 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2005-09-19 - MikeGore
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback