MSFN Forum: Forgotten Setup Secrets Revealed - MSFN Forum

Jump to content


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Forgotten Setup Secrets Revealed Rate Topic: -----

#21 User is online   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,576
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 17 February 2008 - 10:26 AM

@all

It seems like the other day was "wish" day on boot-land and Nuno Brito :thumbup has started working on this app, there is already a fully working (but still missing some asked for features) release here, ninf 1.1, enjoy:
http://www.boot-land.net/forums/index.php?...ic=3960&hl=


@damian666
It seems like there is not anymore need for your work, but thank you very much for your offer to do it :), I am sure I can find some other interesting project for you :whistle: , should you still be willing to write something for the community ;), again, thanks for your kind offer.

jaclaz


#22 User is offline   damian666 

  • creator of the vistapack
  • Group: Developers
  • Posts: 677
  • Joined: 19-July 06
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 February 2008 - 02:04 AM

hi jaclaz, well, ok man, they beat me to it :D
its ok, we will find another project soon!!

thanx for the support and see you around man.

damian666

#23 User is offline   Arie 

  • One Man Army
  • PipPipPipPipPip
  • Group: Members
  • Posts: 835
  • Joined: 27-August 07

Posted 18 February 2008 - 08:21 AM

I'm trying to write a batch script which extracts all installation files (I will later change this to only the ones used during the whole installation process) and which changes my TXTSETUP.SIF. So far I've come up with the following, for use with HFSLIP.

HFSLIP_POST_SPEEDUP_ALPHA.CMD
@ECHO OFF

IF NOT DEFINED HFSVER (
	SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
	IF NOT EXIST HFTOOLS CD..
	IF NOT EXIST HFTOOLS\HFSPEEDUP.INI (
		ECHO.&ECHO Please make sure you are running this program
		ECHO from the HFSLIP or the HFSLIP\HFTOOLS folder.
		ECHO Press any key to quit.&PAUSE >NUL&GOTO :EOF
	)
	IF NOT EXIST SOURCESS\I386\TXTSETUP.SIF (
		ECHO.&ECHO Unable to find SOURCESS\I386\TXTSETUP.SIF.
		ECHO Please make sure to run HFSLIP first.
		ECHO Press any key to quit.&PAUSE >NUL&GOTO :EOF
	)
	IF NOT EXIST HFTOOLS\MUNGE.EXE (
		ECHO.&ECHO Unable to find HFTOOLS\MUNGE.EXE.
		ECHO Please verify that the file exists.
		ECHO Press any key to quit.&PAUSE >NUL&GOTO :EOF
	)
	IF EXIST SOURCESS\I386\TXTSETUP.BAK (
		DEL /F/Q SOURCESS\I386\TXTSETUP.BAK
	)
)
IF NOT DEFINED HFSVER CLS
ECHO.&ECHO Expand compressed setup files to speed up boot process...
FOR /F %%I IN ('DIR SOURCESS\I386\*.*_') DO EXPAND -R SOURCESS\I386\%%I
FOR /F %%I IN ('DIR SOURCESS\I386\*.*_') DO DEL /F/Q SOURCESS\I386\%%I
ECHO.&ECHO Do not load unnessary setup files during boot process...
MUNGE HFTOOLS\HFSPEEDUP.INI -i -a SOURCESS\I386\TXTSETUP.SIF
GOTO :EOF
:EOF


HFSPEEDUP.INI
"fat	  = fastfat.sys" "fat	  = fastfat.sys,,noload"
"mps_up		 = halapic.dll" "mps_up		 = halapic.dll,,noload"
"mps_mp		 = halapic.dll" "mps_mp		 = halapic.dll,,noload"
"syspro_mp	  = hal.dll" "syspro_mp	  = hal.dll,,noload"
"cpqarray = cpqarray.sys,4" "cpqarray = cpqarray.sys,4,noload"
"aha154x = aha154x.sys,4" "aha154x = aha154x.sys,4,noload"
"sparrow = sparrow.sys,4" "sparrow = sparrow.sys,4,noload"
"symc810  = symc810.sys,4" "symc810  = symc810.sys,4,noload"
"aic78xx  = aic78xx.sys,4" "aic78xx  = aic78xx.sys,4,noload"
"i2omp = i2omp.sys,4" "i2omp = i2omp.sys,4,noload"
"dac960nt = dac960nt.sys,4" "dac960nt = dac960nt.sys,4,noload"
"ql10wnt = ql10wnt.sys,4" "ql10wnt = ql10wnt.sys,4,noload"
"amsint = amsint.sys,4" "amsint = amsint.sys,4,noload"
"asc = asc.sys,4" "asc = asc.sys,4,noload"
"asc3550 = asc3550.sys,4" "asc3550 = asc3550.sys,4,noload"
"mraid35x = mraid35x.sys,4" "mraid35x = mraid35x.sys,4,noload"
"ini910u = ini910u.sys,4" "ini910u = ini910u.sys,4,noload"
"ql1240 = ql1240.sys,4" "ql1240 = ql1240.sys,4,noload"
"aic78u2  = aic78u2.sys,4" "aic78u2  = aic78u2.sys,4,noload"
"symc8xx  = symc8xx.sys,4" "symc8xx  = symc8xx.sys,4,noload"
"sym_hi  = sym_hi.sys,4" "sym_hi  = sym_hi.sys,4,noload"
"sym_u3  = sym_u3.sys,4" "sym_u3  = sym_u3.sys,4,noload"
"asc3350p = asc3350p.sys,4" "asc3350p = asc3350p.sys,4,noload"
"abp480n5 = abp480n5.sys,4" "abp480n5 = abp480n5.sys,4,noload"
"cd20xrnt = cd20xrnt.sys,4" "cd20xrnt = cd20xrnt.sys,4,noload"
"ultra = ultra.sys,4" "ultra = ultra.sys,4,noload"
"adpu160m = adpu160m.sys,4" "adpu160m = adpu160m.sys,4,noload"
"dpti2o = dpti2o.sys,4" "dpti2o = dpti2o.sys,4,noload"
"ql1080 = ql1080.sys,4" "ql1080 = ql1080.sys,4,noload"
"ql1280 = ql1280.sys,4" "ql1280 = ql1280.sys,4,noload"
"ql12160 = ql12160.sys,4" "ql12160 = ql12160.sys,4,noload"
"perc2 = perc2.sys,4" "perc2 = perc2.sys,4,noload"
"hpn = hpn.sys,4" "hpn = hpn.sys,4,noload"
"cbidf2k = cbidf2k.sys,4" "cbidf2k = cbidf2k.sys,4,noload"
"dac2w2k = dac2w2k.sys,4" "dac2w2k = dac2w2k.sys,4,noload"
"toside   = toside.sys" "toside   = toside.sys,,noload"
"lbrtfdc  = lbrtfdc.sys" "lbrtfdc  = lbrtfdc.sys,,noload"
"floppy = sfloppy.sys" "floppy = sfloppy.sys,,noload"


The problem is that the expand section in the batch script doesn't work. I'm doing something wrong, probably something stupid even, but I can't figure out what. The second problem is that the MUNGE command doesn't quite work; it stops half way through, so it doesn't change all my entries above and another thing is that it changes something like "floppy = sfloppy.sys,blah,blah" to "floppy = sfloppy.sys,,noload,blah,blah", whereas it should only change the exact sentence "floppy = sfloppy.sys" to "floppy = sfloppy.sys,,noload".

Stuck here, so I hope that someone can help me on my way again a bit.

#24 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,369
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 18 February 2008 - 08:47 AM

First of all I'd suggest you at least try using the /b switch with your dir command.

<Edit>
Also I hope you realise that if any file fails to correctly expand it would be deleted in the next step!
 
@ECHO OFF

IF NOT DEFINED HFSVER (
	IF NOT EXIST HFTOOLS CD..
	IF NOT EXIST HFTOOLS\HFSPEEDUP.INI (
		ECHO.&ECHO Please make sure you are running this program
		ECHO from the HFSLIP or the HFSLIP\HFTOOLS folder.
		ECHO Press any key to quit.&PAUSE >NUL&GOTO :EOF)
	IF NOT EXIST SOURCESS\I386\TXTSETUP.SIF (
		ECHO.&ECHO Unable to find SOURCESS\I386\TXTSETUP.SIF.
		ECHO Please make sure to run HFSLIP first.
		ECHO Press any key to quit.&PAUSE >NUL&GOTO :EOF)
	IF NOT EXIST HFTOOLS\MUNGE.EXE (
		ECHO.&ECHO Unable to find HFTOOLS\MUNGE.EXE.
		ECHO Please verify that the file exists.
		ECHO Press any key to quit.&PAUSE >NUL&GOTO :EOF)
	IF EXIST SOURCESS\I386\TXTSETUP.BAK (
		DEL/F SOURCESS\I386\TXTSETUP.BAK)
	CLS)

ECHO.&ECHO Expand compressed setup files to speed up boot process...
PUSHD SOURCESS\I386
FOR /F %%I IN ('DIR/B/A-D *_') DO (
	EXPAND -R %%I>NUL 2>&1&&DEL/F %%I)
POPD
<snip> 

</Edit>

#25 User is offline   Arie 

  • One Man Army
  • PipPipPipPipPip
  • Group: Members
  • Posts: 835
  • Joined: 27-August 07

Posted 18 February 2008 - 02:58 PM

View PostYzöwl, on Feb 18 2008, 03:47 PM, said:

First of all I'd suggest you at least try using the /b switch with your dir command.

Thank you, forgot all about that :blushing:

View PostYzöwl, on Feb 18 2008, 03:47 PM, said:

<Edit>
Also I hope you realise that if any file fails to correctly expand it would be deleted in the next step!
 
@ECHO OFF

IF NOT DEFINED HFSVER (
	IF NOT EXIST HFTOOLS CD..
	IF NOT EXIST HFTOOLS\HFSPEEDUP.INI (
		ECHO.&ECHO Please make sure you are running this program
		ECHO from the HFSLIP or the HFSLIP\HFTOOLS folder.
		ECHO Press any key to quit.&PAUSE >NUL&GOTO :EOF)
	IF NOT EXIST SOURCESS\I386\TXTSETUP.SIF (
		ECHO.&ECHO Unable to find SOURCESS\I386\TXTSETUP.SIF.
		ECHO Please make sure to run HFSLIP first.
		ECHO Press any key to quit.&PAUSE >NUL&GOTO :EOF)
	IF NOT EXIST HFTOOLS\MUNGE.EXE (
		ECHO.&ECHO Unable to find HFTOOLS\MUNGE.EXE.
		ECHO Please verify that the file exists.
		ECHO Press any key to quit.&PAUSE >NUL&GOTO :EOF)
	IF EXIST SOURCESS\I386\TXTSETUP.BAK (
		DEL/F SOURCESS\I386\TXTSETUP.BAK)
	CLS)

ECHO.&ECHO Expand compressed setup files to speed up boot process...
PUSHD SOURCESS\I386
FOR /F %%I IN ('DIR/B/A-D *_') DO (
	EXPAND -R %%I>NUL 2>&1&&DEL/F %%I)
POPD
<snip> 

</Edit>

I thought about it, yes, but didn't know how to solve it. Thank you for pointing it out and for posting a solution :)

My current code is as follows, but it now lacks the part which is supposed to change the TXTSETUP.SIF file. I don't know how to change certain strings in that file automatically. Do you have any idea how I can do this? MUNGE.EXE doesn't seem to be a good solution unfortunately.
@ECHO OFF
IF NOT DEFINED HFSVER (
	SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
	IF NOT EXIST HFTOOLS CD..
	IF NOT EXIST SOURCESS\I386\TXTSETUP.SIF (
		ECHO.&ECHO Unable to find SOURCESS\I386\TXTSETUP.SIF.
		ECHO Please make sure to run HFSLIP first.
		ECHO Press any key to quit.&PAUSE >NUL&GOTO :EOF
	)
)
IF NOT DEFINED HFSVER CLS
ECHO.&ECHO Expanding compressed setup files to speed up boot process...
PUSHD SOURCESS\I386
FOR /F %%I IN ('DIR/B/A-D *_') DO (
  EXPAND -R %%I>NUL 2>&1&&DEL /F/Q %%I)
POPD
GOTO :EOF
:EOF


#26 User is offline   Arie 

  • One Man Army
  • PipPipPipPipPip
  • Group: Members
  • Posts: 835
  • Joined: 27-August 07

Posted 18 February 2008 - 04:00 PM

Changed some things again...
 
@ECHO OFF

IF NOT DEFINED HFSVER (
	SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
	IF NOT EXIST HFTOOLS CD..
	IF NOT EXIST HFTOOLS\HFSPEEDUP.INI GOTO :EOF
	IF NOT EXIST HFTOOLS\MUNGE.EXE GOTO :EOF
	IF NOT EXIST SOURCESS\I386\TXTSETUP.SIF GOTO :EOF
	IF EXIST SOURCESS\I386\TXTSETUP.BAK (
		DEL /F/Q SOURCESS\I386\TXTSETUP.BAK
	)
)
IF NOT DEFINED HFSVER CLS

ECHO.&ECHO Expanding compressed setup files to speed up boot process...
PUSHD SOURCESS\I386
FOR /F %%I IN ('DIR/B/A-D *_') DO (
  EXPAND -R %%I>NUL 2>&1&&DEL /F/Q %%I)
POPD

ECHO.&ECHO Do not load unnessary setup files during boot process...
MUNGE HFTOOLS\HFSPEEDUP.INI -i -a SOURCESS\I386\TXTSETUP.SIF
GOTO :EOF
:EOF 


And the input file for the MUNGE command...
 
"cpqarray = cpqarray.sys,4" "cpqarray = cpqarray.sys,4,noload"
"aha154x = aha154x.sys,4" "aha154x = aha154x.sys,4,noload"
"sparrow = sparrow.sys,4" "sparrow = sparrow.sys,4,noload"
"symc810  = symc810.sys,4" "symc810  = symc810.sys,4,noload"
"aic78xx  = aic78xx.sys,4" "aic78xx  = aic78xx.sys,4,noload"
"i2omp = i2omp.sys,4" "i2omp = i2omp.sys,4,noload"
"dac960nt = dac960nt.sys,4" "dac960nt = dac960nt.sys,4,noload"
"ql10wnt = ql10wnt.sys,4" "ql10wnt = ql10wnt.sys,4,noload"
"amsint = amsint.sys,4" "amsint = amsint.sys,4,noload"
"asc = asc.sys,4" "asc = asc.sys,4,noload"
"asc3550 = asc3550.sys,4" "asc3550 = asc3550.sys,4,noload"
"mraid35x = mraid35x.sys,4" "mraid35x = mraid35x.sys,4,noload"
"ini910u = ini910u.sys,4" "ini910u = ini910u.sys,4,noload"
"ql1240 = ql1240.sys,4" "ql1240 = ql1240.sys,4,noload"
"aic78u2  = aic78u2.sys,4" "aic78u2  = aic78u2.sys,4,noload"
"symc8xx  = symc8xx.sys,4" "symc8xx  = symc8xx.sys,4,noload"
"sym_hi  = sym_hi.sys,4" "sym_hi  = sym_hi.sys,4,noload"
"sym_u3  = sym_u3.sys,4" "sym_u3  = sym_u3.sys,4,noload"
"asc3350p = asc3350p.sys,4" "asc3350p = asc3350p.sys,4,noload"
"abp480n5 = abp480n5.sys,4" "abp480n5 = abp480n5.sys,4,noload"
"cd20xrnt = cd20xrnt.sys,4" "cd20xrnt = cd20xrnt.sys,4,noload"
"ultra = ultra.sys,4" "ultra = ultra.sys,4,noload"
"adpu160m = adpu160m.sys,4" "adpu160m = adpu160m.sys,4,noload"
"dpti2o = dpti2o.sys,4" "dpti2o = dpti2o.sys,4,noload"
"ql1080 = ql1080.sys,4" "ql1080 = ql1080.sys,4,noload"
"ql1280 = ql1280.sys,4" "ql1280 = ql1280.sys,4,noload"
"ql12160 = ql12160.sys,4" "ql12160 = ql12160.sys,4,noload"
"perc2 = perc2.sys,4" "perc2 = perc2.sys,4,noload"
"hpn = hpn.sys,4" "hpn = hpn.sys,4,noload"
"cbidf2k = cbidf2k.sys,4" "cbidf2k = cbidf2k.sys,4,noload"
"dac2w2k = dac2w2k.sys,4" "dac2w2k = dac2w2k.sys,4,noload"
"4,noload,noload" "4,noload"
"toside   = toside.sys" "toside   = toside.sys,,noload"
"lbrtfdc  = lbrtfdc.sys" "lbrtfdc  = lbrtfdc.sys,,noload"
"floppy = sfloppy.sys" "floppy = sfloppy.sys,,noload"
",,noload,,noload" ",,noload" 


Haven't tested the above yet. Need to get some sleep now, so will give it a try tomorrow. Hope it'll work, but I still need to add the following to the above script somehow...
"fat	  = fastfat.sys" "fat	  = fastfat.sys,,noload"
"mps_up		 = halapic.dll" "mps_up		 = halapic.dll,,noload"
"mps_mp		 = halapic.dll" "mps_mp		 = halapic.dll,,noload"
"syspro_mp	  = hal.dll" "syspro_mp	  = hal.dll,,noload"


#27 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,369
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 19 February 2008 - 02:51 AM

Just a quick rant, because it's one of those things which really does get me riled.

I gave the correct switches for the DEL command in my example! There is no /Q switch needed or required in any case throughout your script.


As for the munge stuff, I really don't know anything about this tool . If all you wanted was a method of replacing lines in a file there are many tools available to do this which look better than the one you chose.

#28 User is offline   Arie 

  • One Man Army
  • PipPipPipPipPip
  • Group: Members
  • Posts: 835
  • Joined: 27-August 07

Posted 19 February 2008 - 03:39 AM

View PostYzöwl, on Feb 19 2008, 09:51 AM, said:

As for the munge stuff, I really don't know anything about this tool . If all you wanted was a method of replacing lines in a file there are many tools available to do this which look better than the one you chose.

I'm looking for a simple, free of charge command line tool which can do this for me. Munge belongs to the Windows NT 4.0 Resource Kit and does exactly this... but as I've found out now it can't handle files as large as TXTSETUP.SIF, so I need to look for a different tool. If you know of any command line tool which could do this, please let me know.

#29 User is offline   Arie 

  • One Man Army
  • PipPipPipPipPip
  • Group: Members
  • Posts: 835
  • Joined: 27-August 07

Posted 19 February 2008 - 05:08 AM

Seems like I've got it all working now :w00t:
 
@ECHO OFF

IF NOT DEFINED HFSVER (
	SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
	IF NOT EXIST HFTOOLS CD..
	IF NOT EXIST HFTOOLS\SED.EXE GOTO :EXPAND
	IF NOT EXIST HFTOOLS\HFSPEEDUP.SED GOTO :EXPAND
	IF NOT EXIST SOURCESS\I386\TXTSETUP.SIF GOTO :EXPAND
)
IF NOT DEFINED HFSVER CLS

:NOLOAD
ECHO.&ECHO Do not load unnessary setup files during boot process...
PUSHD SOURCESS\I386
IF EXIST TXTSETUP.BAK DEL /F TXTSETUP.BAK
COPY /Y TXTSETUP.SIF TXTSETUP.BAK
POPD
PUSHD HFTOOLS
SED -f HFSPEEDUP.SED ..\SOURCESS\I386\TXTSETUP.BAK > ..\SOURCESS\I386\TXTSETUP.SIF
POPD
GOTO :EXPAND

:EXPAND
ECHO.&ECHO Expanding compressed setup files to speed up boot process...
PUSHD SOURCESS\I386
FOR /F %%I IN ('DIR/B/A-D *_') DO (
  EXPAND -R %%I>NUL 2>&1&&DEL /F %%I)
POPD
GOTO :EOF

:EOF 


I'm using SED now for replacing the lines I would like to have changed. The following is my input file.
 
# [FileSystems.Load]
s/fat      = fastfat.sys/fat      = fastfat.sys,,noload/g

# [Hal.Load]
/,2,hal.dll/!s/mps_up         = halapic.dll/mps_up         = halapic.dll,,noload/g
s/mps_mp         = halapic.dll/mps_mp         = halapic.dll,,noload/g
s/syspro_mp      = hal.dll/syspro_mp      = hal.dll,,noload/g

# [SCSI.Load]
s/cpqarray = cpqarray.sys,4/cpqarray = cpqarray.sys,4,noload/g
s/aha154x = aha154x.sys,4/aha154x = aha154x.sys,4,noload/g
s/sparrow = sparrow.sys,4/sparrow = sparrow.sys,4,noload/g
s/symc810  = symc810.sys,4/symc810  = symc810.sys,4,noload/g
s/aic78xx  = aic78xx.sys,4/aic78xx  = aic78xx.sys,4,noload/g
s/i2omp = i2omp.sys,4/i2omp = i2omp.sys,4,noload/g
s/dac960nt = dac960nt.sys,4/dac960nt = dac960nt.sys,4,noload/g
s/ql10wnt = ql10wnt.sys,4/ql10wnt = ql10wnt.sys,4,noload/g
s/amsint = amsint.sys,4/amsint = amsint.sys,4,noload/g
s/asc = asc.sys,4/asc = asc.sys,4,noload/g
s/asc3550 = asc3550.sys,4/asc3550 = asc3550.sys,4,noload/g
s/mraid35x = mraid35x.sys,4/mraid35x = mraid35x.sys,4,noload/g
s/ini910u = ini910u.sys,4/ini910u = ini910u.sys,4,noload/g
s/ql1240 = ql1240.sys,4/ql1240 = ql1240.sys,4,noload/g
s/aic78u2  = aic78u2.sys,4/aic78u2  = aic78u2.sys,4,noload/g
s/symc8xx  = symc8xx.sys,4/symc8xx  = symc8xx.sys,4,noload/g
s/sym_hi  = sym_hi.sys,4/sym_hi  = sym_hi.sys,4,noload/g
s/sym_u3  = sym_u3.sys,4/sym_u3  = sym_u3.sys,4,noload/g
s/asc3350p = asc3350p.sys,4/asc3350p = asc3350p.sys,4,noload/g
s/abp480n5 = abp480n5.sys,4/abp480n5 = abp480n5.sys,4,noload/g
s/cd20xrnt = cd20xrnt.sys,4/cd20xrnt = cd20xrnt.sys,4,noload/g
s/ultra = ultra.sys,4/ultra = ultra.sys,4,noload/g
s/adpu160m = adpu160m.sys,4/adpu160m = adpu160m.sys,4,noload/g
s/dpti2o = dpti2o.sys,4/dpti2o = dpti2o.sys,4,noload/g
s/ql1080 = ql1080.sys,4/ql1080 = ql1080.sys,4,noload/g
s/ql1280 = ql1280.sys,4/ql1280 = ql1280.sys,4,noload/g
s/ql12160 = ql12160.sys,4/ql12160 = ql12160.sys,4,noload/g
s/perc2 = perc2.sys,4/perc2 = perc2.sys,4,noload/g
s/hpn = hpn.sys,4/hpn = hpn.sys,4,noload/g
s/cbidf2k = cbidf2k.sys,4/cbidf2k = cbidf2k.sys,4,noload/g
s/dac2w2k = dac2w2k.sys,4/dac2w2k = dac2w2k.sys,4,noload/g

# [BusExtenders.Load]
s/toside   = toside.sys/toside   = toside.sys,,noload/g
s/lbrtfdc  = lbrtfdc.sys/lbrtfdc  = lbrtfdc.sys,,noload/g

# [ScsiClass.Load]
s/floppy = sfloppy.sys/floppy = sfloppy.sys,,noload/g

# FIX ANY ERRORS WHICH MAY OCCUR
s/4,noload,noload/4,noload/g
s/,,noload,,noload/,,noload/g 


I doubt that I need the "fix" entries above, but this was a problem which could occur when using MUNGE.EXE. I need to test all this somewhat further, see if I can clean up my code some more, et cetera. Any input is welcome! And Yzöwl, thank you for your advice! :)

#30 User is offline   Arie 

  • One Man Army
  • PipPipPipPipPip
  • Group: Members
  • Posts: 835
  • Joined: 27-August 07

Posted 27 February 2008 - 06:53 AM

I've finished the initial release of my post-HFSLIP scripts based on this topic.
Click here for the dedicated thread for this little project.

:D

#31 User is offline   Sherwin 

  • Group: Members
  • Posts: 9
  • Joined: 12-March 05

Posted 16 March 2008 - 06:51 AM

hi newbie here, what do you do with the Entries_BootDriv's_.ini file?

The .bat file i just double click but .ini?

Thanks

I'm using nlite

#32 User is offline   fly 

  • Member
  • PipPip
  • Group: Members
  • Posts: 177
  • Joined: 21-December 04

Posted 17 March 2008 - 08:44 AM

View Postkickarse, on Feb 13 2008, 09:26 AM, said:

Now if only I could adapt this setupldr.bin to change the hal on a syspreped machine!

You can script the HAL change using RunOnce...

edit: I posted how to do it before, but can't remember the tool I used, and the search here sucks. I'll look around though if you're interested.

edit2: You can hot swap the HAL with devcon: http://msdn2.microsoft.com/en-us/library/m...60-aaeb017e5fc7

This post has been edited by fly: 17 March 2008 - 09:13 AM


#33 User is offline   kalle_mod 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 25-September 07

Posted 20 March 2008 - 06:47 AM

Hi there

I've tried part 2 and it doesn't work at all, it just says file missing e.g. rr174xp.sys missing, when i take a look in my backup folder i find rr174xp.sy_ and when I expand the file the new file is named rr174x.sys... I've removed rr174xp.sy_ frem my I386 folder as the guide says but it cant figure out that I've already expanded the files for it :S

Kalle

#34 User is offline   caps_buster 

  • Junior
  • Pip
  • Group: Members
  • Posts: 99
  • Joined: 20-February 09

  Posted 01 March 2009 - 04:55 AM

Whoa! Editing the TXTSETUP.SIF file looks like it can get the install go on way faster, because one can really disable the many unnecessary stuff there. I have few questions, tough. First at all - then the TXTSETUP.SIF file are excessive number of empty lines. Must they have been preserved? I dubt that, but I better ask first :)
Second, there is could of things that I want to know what they are and if I can ",noload" them. The SCSI stuff is self-explainatory (tough I have still one minor question, will the Deamon tools work then to emulate CDroms? Because it work as emulating them as being the SCSI ones...) but how about this?

[BusExtenders.Load]
pcmcia = pcmcia.sys


If I did not have any PCMCIA slot on my machine and on most PCs, I should ",noload" it, right?

[files.i8042]
i8042prt.sys,4


What is this?

[files.sermouse]
sermouse.sys,4


Is that a support for serial mouse, eg. mouse connected to COM port?

[ScsiClass.Load]
cdrom = cdrom.sys
disk = disk.sys
floppy = sfloppy.sys,,noload
ramdisk = ramdisk.sys


SCSI floppy is already disabled, disabling the disk if not having any SCSI card will be good too, right? And disabling the cdrom only when I never need the Deamon tools to emulate one, right? And the ramdisk is what? SCSI ramdisk? Is that really necessary to have?

[InputDevicesSupport.Load]
serial = serial.sys
serenum = serenum.sys


Is not that again the serial mouse?

[files.ohci1394]
ohci1394.sys,4
1394bus.sys,4


The 1394 bus is already disabled above (ohci1394 = ohci1394.sys,,noload) - but will it be good to disable loading this files also?

[files.sbp2port]
sbp2port.sys,4


What is this? Soundblater port or what the...?!

[files.lbrtfdc]
lbrtfdc.sys,4


I have no idea what is this either.

[files.vga]
vga.sys,4
framebuf.dll,2
vga.dll,2
vga256.dll,2
vga64k.dll,2


Do are all those VGA files really necessary? Aren't the vga.dll, vga256.dll and vga64.dll just same versions of the file for different VGa capable cards and witch one is used on normal modern hardware? Then the rest could be discarded?

Anyone can help me out?

This post has been edited by caps_buster: 01 March 2009 - 04:59 AM


#35 User is online   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,576
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 01 March 2009 - 09:09 AM

Well, this is not "question time". ;)

Empty lines in txtsetup.sif can be removed allright.

i8042 is the "right " name for PS/2 keyboard and mouse bus:
http://www.file.net/...042prt.sys.html

More generally, try searching in Google for the driver name alone or together with TXTSETUP.SIF and you'll probably find all the info you need.

Don't assume that anything is "properly" named.

IDE and ATA/SATA devices use disk.sys or cdrom.sys as well

serial.sys/serenum.sys are about the serial PORT(s) not mouse.

1394 (read "firewire") is NOT i8042.

You must read a lot of things besides this thread in order to be able to identify properly system files, their use, the need or lack of need for them.

The SMALLEST possible TXTSETUP.SIF you will ever find (used in a MicroPE project) is here:
http://www.911cd.net...showtopic=17807
your mileage may vary.

jaclaz

#36 User is offline   fdv 

  • MSFN Expert
  • Group: Developers
  • Posts: 1,109
  • Joined: 16-July 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 March 2009 - 11:19 PM

FWIW, the fastest install that can take place will be achieved by:
installing Unknown Device Identifier
running it to get ALL of your hardware device strings
opening TXTSETUP.INF
scrolling to [HardwareIdsDatabase]
put in all of your device strings, edit the driver files accordingly

Open SYSSETUP.INF
scroll to [DeviceInfsToInstall]
remove INFs for devices you don't have. for example:
mchgr.inf (media changer -- trust me, you don't have one)
1394.inf -- Firewire
tape.inf -- tape drivers
netirsir.inf -- Infrared devices
pcmcia.inf -- laptops only
battery.inf -- laptops only
etc etc etc etc etc etc

here are the devices from win2k's TXTSETUP that the WinXP TXTSETUP does not have. in other words, support for these was removed from xp... this probably means that it would be very rare for you to encounter any of these:
cpqfws2e = cpqfws2e.sys,4 ; XP doesn't have
cpqarray = cpqarray.sys,4 ; XP doesn't have
cpqarry2 = cpqarry2.sys,4 ; XP doesn't have
ncrc710 = ncrc710.sys,4 ; XP doesn't have
buslogic = buslogic.sys,4 ; XP doesn't have
flashpnt = flashpnt.sys,4 ; XP doesn't have
lp6nds35 = lp6nds35.sys,4 ; XP doesn't have
ql2100 = ql2100.sys,4 ; XP doesn't have
cpqfcalm = cpqfcalm.sys,4 ; XP doesn't have
fireport = fireport.sys,4 ; XP doesn't have
fd16_700 = fd16_700.sys,4 ; XP doesn't have
tffsport = tffsport.sys,4 ; XP doesn't have

so you could comment them all out.

editing empty lines will not gain you any speed.

much may be learned by analyzing my files.

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy