-
August 24th, 2005, 08:46 AM
#1
multiple nic for ghost boot disk
I've created a boot cdrom for symantec ghost 8.2 to boot to a menu so that our techs can select nic drivers from a list depending on which machine they are trying to ghost.
My problem is in the protocol.ini:
[protman]
drivername=PROTMAN$
[pktdrv]
drivername=PKTDRV$
bindings=nic
intvec=0x60
chainvec=0x66
[nic]
drivername = SIS900$
drivername = E100B$
drivername = B57$
drivername = EL90X$
drivername = E1000$
drivername = ELNK3$
The process will only try to bind the first driver name in the [nic] section so if I am trying to bind the sis900.dos driver then I am fine. But say I want to bind the B57.dos driver I am hosed because it wont go beyond the first drivername line.
Is there a syntax that makes it possible for me to get to whichever drivername I need to see in the boot?
Thanks
-
August 24th, 2005, 09:20 AM
#2
Tech-To-Tech Mod
you are much much better off IMO looking into this as a solution
http://www.nu2.nu/bcd/index.php
if you get CDRpack, and a trial of winimage, you can make individual boot floppies then take an uncompressed image of them with winimage and use CDRpack to create a menu driven system with ISOlinux to boot any of the ghost boot disks you need.
I've done this for work. it's a little cumbersome at first and there is a little bit of a learning curve, but once you get the hang of it, it's pretty easy and works really well.
Nonsense prevails, modesty fails
Grace and virtue turn into stupidity - E. Costello
-
August 24th, 2005, 09:26 AM
#3
I've been testing that bcd and still working on it. There is quite a learning curve, you are correct. Thus far I'm way below the curve. DOS just isnt my thing, but I'm stuck with this project.
As far as what I have going now, do you know of any if/then type syntax I could use for what I currently have going?
-
August 24th, 2005, 10:18 AM
#4
Tech-To-Tech Mod
Originally Posted by bshaner
I've been testing that bcd and still working on it. There is quite a learning curve, you are correct. Thus far I'm way below the curve. DOS just isnt my thing, but I'm stuck with this project.
As far as what I have going now, do you know of any if/then type syntax I could use for what I currently have going?
not really. cdrpack 1.3 isn't that bad.
get it here
http://www.nu2.nu/download.php?sFile=cdrpack13.zip
here's the basics of how to do it
extract the cdrpack files to a folder
use ghost and create single boot disks for the network cards you need.
use winimage to read those disks to images and save then as uncompressed ima files.
place the images into the cdprack directory in the following sub directory
\cds\multi_memdisk\disk1\isolinux
then edit the isolinux.cfg file and add your information
label 0
localboot 0x80
label a
localboot 0x00
label q
localboot -1
label 1
kernel memdisk
append initrd=510.img
just keep adding labels and images until you've got all your options
then go and edit the bootmsg.txt to add your menu text.
that go into cdrpack directory and choose run.bat
that's it. pretty easy.
now if you are using a map drive boot disk it becomes a touch more complicated because of the computername switch in the system.ini but I've found a handy way around that using a dos program called compname and another find and replace utility called GSAR to randomly generate a computer name and replace it in the system.ini file as part of the autoexec.bat
if you need help I'm more than willing to walk you through it.
Last edited by kato2274; August 24th, 2005 at 10:20 AM.
Nonsense prevails, modesty fails
Grace and virtue turn into stupidity - E. Costello
-
August 26th, 2005, 05:55 PM
#5
Registered User
I've done what you're trying, bshaner, but I was slightly more successful.
The problem seems more to do with memory. It's very limited. In my case, I get the first three to five drivers in my list. The rest won't load. If I change the order, it works for only a select few.
So it isn't a syntax problem but one of memory.
Although, good MultiConfig Autoexec/Config can probably make things better.
If you aren't familiar with MultiConfig, just take a look at my code. MultiConfig jumps back and forth from Autoexec to Config.sys, loading only what you choose from a menu. That reduces the amount of stuff that loads to memory. Each boot is custom-taylored to what you're booting for.
In the [GHOST] section of Config.sys, you'll see where I remark some lines so that I can get different sets of drivers to load. I wish I could get them all, but that might require longer, fancier coding that I'm still learning.
It's easier to edit than to write from scratch. So maybe you can grab this code and get a few steps farther.`
:: Autoexec.bat
@echo on
SET TZ=GHO+07:00
set EXPAND=YES
SET DIRCMD=/O:N
set LglDrv=27 * 26 Z 25 Y 24 X 23 W 22 V 21 U 20 T 19 S 18 R 17 Q 16 P 15
set LglDrv=%LglDrv% O 14 N 13 M 12 L 11 K 10 J 9 I 8 H 7 G 6 F 5 E 4 D 3 C
call SETRAMD.BAT %LglDrv%
set temp=c:\
set tmp=c:\
path=C:\;%RAMD%:\;%CDROM%:\;c:\dos
copy command.com %RAMD%:\ > NUL
set comspec=%RAMD%:\command.com
copy extract.exe %RAMD%:\
copy readme.txt %RAMD%:\
SET TZ=GHO-02:00
GUEST.EXE
LPT\PARALINK.COM /i /LPT1
%RAMD%:\extract /y /e /l %RAMD%: ebd.cab
%RAMD%:\extract /y /e /l %RAMD%: util.cab
echo The diagnostic tools were successfully loaded to drive %RAMD%.
echo.
pause
IF "%config%"=="NOCD" GOTO QUIT
IF "%config%"=="GHOST" GOTO GHOST
IF "%config%"=="GHOSTWLK" GOTO GHOSTWLK
IF "%config%"=="MCAFEE" GOTO MCAFEE
IF "%config%"=="MCAFEE" GOTO DELPART
LH c:\dos\MSCDEX.EXE /D:mscd001 /L:%CDROM%
echo.
GOTO QUIT
:QUIT
c:\readntfs\READNTFS.EXE
REM c:\sysint~1\NTFSDOS.exe /L:gef
echo To get help, type HELP and press ENTER.
echo.
set LGLDRV=
LH MOUSE.COM
dir /a /w d:
dir /a /w c:
GOTO END
:GHOST
path=%path%;c:\ghost;c:\net;c:\net\e1000;c:\net\b4 4;c:\net\b57;c:\net\el90x
net initialize
netbind.com
LH MOUSE.COM
@echo Loading...
EMM386.EXE
GHOST.EXE
GOTO END
:GHOSTWLK
c:\ghost\ghstwalk.exe
GOTO END
ELPART
path=%path%;c:\Windows
c:\windows\delpart.exe
GOTO END
:PARTINFO
path=%path%;c:\Windows;c:\PartIn9x
cd\
c:
cd c:\PartIn9x\
PartIn9x.exe
GOTO END
:MCAFEE
c:\sysint~1\NTFSDOS.exe /L:gef
echo. Scan, clean, report
pause
LH c:\dos\MSCDEX.EXE /D:mscd001 /L:%CDROM%
path=%path%;c:\mcafee
c:
cd \
cd mcafee
REM FOR %%a IN (*.exe) DO %%a *.exe /E
scan.exe /adl /all /noexpire /clean /rpterr /report c:\McAfee\ScanRprt.txt
echo. View report...
pause
edit c:\McAfee\ScanRprt.txt
:BIOS_UP
call temp\autoexec.bat
:END
set LglDrv=
REM Config.sys
[menu]
submenu=CDMENU, Boot DOS with device support
menuitem=NOCD, Boot DOS without device support
menuitem=GHOST, Symantec Ghost with network support
menuitem=GHOSTWLK, Ghost Walker SID-changer
menuitem=MCAFEE, McAfee AntiVirus scan
menuitem=DELPART, DelPart - Delete a DOS or NT partition
menuitem=PARTINFO, Partition Info 9x
menuitem=BIOS_UP, Upgrade Firmware
menudefault=GHOST,15
menucolor=7,1
REM menucolor=7,0 ; for B&W
REM menucolor=7,1 ; for Blue&W
REM menucolor=15,1 ; for Blue&W
REM menucolor=7,2 ; for Green&W
[CDMENU]
menuitem=CDONLY, Start computer with CD-ROM support
menuitem=CDUSB1, Start computer with CD-ROM & USB 1.1 support
menuitem=CDUSB2, Start computer with CD-ROM & USB 2.0 support
menuitem=CDFIRE, Start computer with CD-ROM & Firewire 1394 support
menuitem=menu, Return to main menu
[CDONLY]
device=c:\himem.sys /testmemff
device=c:\cdrom\oakcdrom.sys /D:mscd001
device=c:\cdrom\btdosm.sys
device=c:\cdrom\flashpt.sys
device=c:\cdrom\btcdrom.sys /D:mscd001
device=c:\cdrom\aspi2dos.sys
device=c:\cdrom\aspi8dos.sys
device=c:\cdrom\aspi4dos.sys
device=c:\cdrom\aspi8u2.sys
device=c:\cdrom\aspicd.sys /D:mscd001
[CDUSB1]
device=c:\himem.sys /testmemff
device=c:\cdrom\oakcdrom.sys /D:mscd001
device=c:\cdrom\btdosm.sys
device=c:\cdrom\flashpt.sys
device=c:\cdrom\btcdrom.sys /D:mscd001
device=c:\cdrom\aspi2dos.sys
device=c:\cdrom\aspi8dos.sys
device=c:\cdrom\aspi4dos.sys
device=c:\cdrom\aspi8u2.sys
device=c:\cdrom\aspicd.sys /D:mscd001
DEVICE = c:\usb\aspiohci.sys /int /all
DEVICE = c:\usb\aspiohci.sys /int /all /D1
DEVICE = c:\usb\aspiohci.sys /int /all /D2
DEVICE = c:\usb\aspiohci.sys /int /all /D3
DEVICE = c:\usb\aspiuhci.sys /int /all
DEVICE = c:\usb\aspiuhci.sys /int /all /D1
DEVICE = c:\usb\aspiuhci.sys /int /all /D2
DEVICE = c:\usb\aspiuhci.sys /int /all /D3
[CDUSB2]
device=c:\himem.sys /testmemff
device=c:\cdrom\oakcdrom.sys /D:mscd001
device=c:\cdrom\btdosm.sys
device=c:\cdrom\flashpt.sys
device=c:\cdrom\btcdrom.sys /D:mscd001
device=c:\cdrom\aspi2dos.sys
device=c:\cdrom\aspi8dos.sys
device=c:\cdrom\aspi4dos.sys
device=c:\cdrom\aspi8u2.sys
device=c:\cdrom\aspicd.sys /D:mscd001
REM [USB2_0]
DEVICE = c:\usb\aspiehci.sys /int /all
[CDFIRE]
device=c:\himem.sys /testmemff
device=c:\c:\cdrom\oakcdrom.sys /D:mscd001
device=c:\c:\cdrom\btdosm.sys
device=c:\cdrom\flashpt.sys
device=c:\cdrom\btcdrom.sys /D:mscd001
device=c:\cdrom\aspi2dos.sys
device=c:\cdrom\aspi8dos.sys
device=c:\cdrom\aspi4dos.sys
device=c:\cdrom\aspi8u2.sys
REM [FIREWIRE]
DEVICE = FWR\aspi1394.sys /int /all
[NOCD]
device=c:\himem.sys /testmemff
[GHOST]
device=himem.sys /testmemff
DEVICE=EMM386.EXE
DEVICE=c:\net\ifshlp.sys
DEVICE=c:\net\protman.dos /I:c:\net
DEVICE=c:\net\dis_pkt.dos
REM DEVICE=c:\net\DRIVERS.DOS
DEVICE=c:\net\E1000\E1000.DOS
:: DEVICE=c:\NET\B44\B44.DOS
:: DEVICE=c:NET\B57\B57.DOS
DEVICE=c:\NET\E100B\E100B.DOS
DEVICE=c:\net\EL90x\EL90X.DOS
:: DEVICE=c:\net\ELPC575\ELPC575.DOS
[GHOSTWLK]
[DELPART]
[PARTINFO]
[BIOS_UP]
[HELP]
device=c:\himem.sys /testmemff
[MCAFEE]
[COMMON]
files=10
buffers=10
dos=high,umb
stacks=9,256
devicehigh=ramdrive.sys /E 2048
lastdrive=z
Similar Threads
-
By Fraser in forum Windows NT/2000
Replies: 22
Last Post: July 30th, 2004, 03:06 PM
-
By shamus in forum Tech-To-Tech
Replies: 2
Last Post: August 10th, 2002, 04:41 AM
-
By Todo in forum BIOS/Motherboard Drivers
Replies: 3
Last Post: June 11th, 2001, 02:05 AM
-
By BIGGS in forum CD-ROM/CDR(-W)/DVD Drivers
Replies: 1
Last Post: February 10th, 2001, 07:10 PM
-
By bigcrit in forum Hard Drive/IDE/SCSI Drivers
Replies: 2
Last Post: January 30th, 2001, 02:32 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks