--
MikeGore - 19 Sep 2005
CSCF Boot Disk
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
127.0.0.1 localhost
192.168.1.1 server
129.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
- uses tunz.com to extract boot.zip and creates 32Meg Ram Disk as Q:
- contains command.com and UHARCD.EXE
- starts from command.com (boot.zip from config.sys)
- copies FILES.UHA and script.bat to Q: - ram disk
- starts Q:\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)
- 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 ( See PowerQuest for more technical information )
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