cd-rom drive onbekend installatie w 95

Status
Niet open voor verdere reacties.

chiel65

Nieuwe gebruiker
Lid geworden
30 mrt 2006
Berichten
2
Hallo,

Ik probeer op een antieke pc voor de kids windows 95 te installeren. Ik heb er een andere cd-rom drive ingezet vanwege het ter ziele gaan van de oude. Het probleem is nu dat hij na het formatteren van C de CD-rom drive niet herkend. Ik hebop de opstart diskette van W95 de driver van de desbetreffende CD rom al toe gevoegd, maar het lukt nog steeds niet. Hieronder nog even hoe de autoexec.bat er nu uitziet. alles wat met afreey te maken heeft heb ik zelf toegevoegd. Het betreffende station is afreey CD-1845E/A. De desbetreffende driver ( IDE.SYS )heb ik in de map config bij de andere cd-rom drives fabrikanten geplaatst.
Wie ziet hier een uitdaging in. Alvast bedankt



@echo off
ESC [37;44m
cls
rem ------ variables ---------
set CDTEST=0
set cddrv=z
set path=a:\;a:\config;%cddrv%:\recover
set driver=cd_rom.sys
set driver1=cd_rom1.sys

rem ------ common commands ---
rem keyb gr,,a:\config\keyboard.sys>NUL
lh a:\config\smartdrv.exe /c>NUL

:read
readmerk
if errorlevel 246 if not errorlevel 247 goto step1
if errorlevel 51 if not errorlevel 52 goto step3
if errorlevel 50 if not errorlevel 51 goto step2
if errorlevel 49 if not errorlevel 50 goto step1
:========================================================
:STEP1
:or only DOS BOOT
:HD Partition if requested or necessary
:========================================================
echo.
echo You can start MS-DOS or install Windows 95 on
echo your computer.
choice "Do you only want to start MS-DOS? "
if errorlevel 1 if not errorlevel 2 goto ENDE
cls
chckdrv c
rem -- if "no response" -------
if errorlevel 3 goto DISKERROR
rem -- if "not partitioned" ---
if errorlevel 2 if not errorlevel 3 goto PARTITION
echo.
echo Your hard disk is already partitioned.
echo All data on the hard disk will be deleted if you change
echo the disk partitioning.
choice "Do you want to change the partitioning "
if errorlevel 2 goto CHECKFORMAT
goto NEUPARTITION

:CHECKFORMAT
rem -----if "1. HD paritioniert" errorlevel 0
chkhd
if errorlevel 1 goto PARTITION
rem ---- if "formatiert" ------
chckdrv c
if errorlevel 0 if not errorlevel 1 goto FORMAT_WITH_WARNING
format c: /U /V:RECOVER <yes
if errorlevel 0 if not errorlevel 1 goto DETECT_CD
goto ENDE
:FORMAT_WITH_WARNING
echo.
echo Your hard disk will being formatted.
echo All data on drive C: will be deleted.
choice "Do you want to continue without formating? "
if errorlevel 1 if not errorlevel 2 goto Weiter
format c: /Q /U /V:RECOVER<YES
:Weiter
:DETECT_CD
cls
echo Please wait...
mscdex.exe /d:mscd000 /m:10 /l:%cddrv% >NUL
hdinfo>c:\cd
find "CDU" c:\CD>NUL
if errorlevel 0 if not errorlevel 1 goto SONY
find "XF" c:\CD>NUL
if errorlevel 0 if not errorlevel 1 goto MITSUMI
find "FX" c:\CD>NUL
if errorlevel 0 if not errorlevel 1 goto MITSUMI
find "EN C" c:\CD>NUL
if errorlevel 0 if not errorlevel 1 goto NEC
find "NEC" c:\CD>NUL
if errorlevel 0 if not errorlevel 1 goto NEC
find "685" c:\CD>NUL
if errorlevel 0 if not errorlevel 1 goto ACER
find "665" c:\CD>NUL
if errorlevel 0 if not errorlevel 1 goto ACER
find "CS-R38" c:\CD>NUL
if errorlevel 0 if not errorlevel 1 goto SAMSUNG
find "SCR" c:\CD>NUL
if errorlevel 0 if not errorlevel 1 goto SAMSUNG
find "TOSHIBA" c:\CD>NUL
if errorlevel 0 if not errorlevel 1 goto TOSHIBA
find "CDR_S112" c:\CD>NUL
if errorlevel 0 if not errorlevel 1 goto MITSUI
find "CDROM" c:\CD>NUL
if errorlevel 0 if not errorlevel 1 goto SONY
find "CD-ROM 45x" c:\CD>NUL
if errorlevel 0 if not errorlevel 1 goto AFREEY
PNP_ID c ID=ADP1510
if errorlevel 0 if not errorlevel 1 goto SCSI_151
PCI_ID ID=9004_7178
if errorlevel 0 if not errorlevel 1 goto SCSI_294
PCI_ID ID=9004_8178
if errorlevel 0 if not errorlevel 1 goto SCSI_294

echo Your CD-ROM drive was not recognized ...
goto ERROR

:SCSI_294
copy /B a:\config\SCSI_294\ASPICD.SYS c:\%driver% >NUL
copy /B a:\config\SCSI_294\ASPI8DOS.SYS c:\%driver1% >NUL
goto NEXTSTEP_3
:SCSI_151
copy /B a:\config\SCSI_294\ASPICD.SYS c:\%driver% >NUL
copy /B a:\config\SCSI_151\ASPI2DOS.SYS c:\%driver1% >NUL
goto NEXTSTEP_3
:SONY
copy /B a:\config\sony\*.sys c:\%driver% >NUL
goto NEXTSTEP_3
:MITSUMI
copy /B a:\config\mitsu\*.sys c:\%driver% >NUL
goto NEXTSTEP_3
:NEC
copy /B a:\config\nec\*.sys c:\%driver% >NUL
goto NEXTSTEP_3
:ACER
copy /B a:\config\acer\*.sys c:\%driver% >NUL
goto NEXTSTEP_3
:SAMSUNG
copy /B a:\config\samsung\*.sys c:\%driver% >NUL
goto NEXTSTEP_3
:TOSHIBA
copy /B a:\config\toshi\*.sys c:\%driver% >NUL
goto NEXTSTEP_3
:MITSUI
copy /B a:\config\mitsui\*.sys c:\%driver% >NUL
goto NEXTSTEP_3
:AFREEY
copy /B a:\config\afreey\*.sys c:\%driver% >NUL
goto NEXTSTEP_3

if not exist c:\%driver% goto ERROREXIT
rem setzen Merker fr step3
setmerk 3
cls
if exist c:\cd del c:\cd
reboot
rem -------------------------

:NEUPARTITION
cls
echo.
echo If you are an expert and are familiar with the FDISK program you can
echo partition the hard disk to suit your own requirements - do not forget
echo that the partition size must be at least 300 MBytes.
echo The PC will be rebooted once disk partitioning has been completed.
echo Leave the Windows 95 Start Disk in the drive.
choice "Do you want to repartition the hard disk"
if errorlevel 2 goto NOPARTITION
:NEUPARTUSER
call FDISK
FDISK /MBR
rem Setzen Merker fr Step2
setmerk 2
reboot
:NOPARTITION
goto checkformat
rem --------- REBOOT -------

:PARTITION
cls
echo.
echo If you are an expert and are familiar with the FDISK program you can
echo partition the hard disk to suit your own requirements - do not forget
echo that the partition size must be at least 300 MBytes, otherwise the
echo hard disk will be set up automatically with default values.
echo The PC will be rebooted once disk partitioning has been completed.
echo Leave the Windows 95 Start Disk in the drive after the reboot
echo has finished.
choice "Do you want to partition the hard disk yourself "
if errorlevel 2 goto PARTAUTO
:PARTUSER
rem Setzen Merker fr Step2
setmerk 2
FDISK /MBR
call FDISK
reboot
:PARTAUTO
rem Setzen Merker fr Step2
setmerk 2
a:\DSIZE
if errorlevel 0 if not errorlevel 1 goto small
:BIG
FDISK 1 /PRI:2048
FDISK 1 /EXT:2100
FDISK /MBR
REBOOT
:SMALL
FDISK 1 /PRI:2100
FDISK /MBR
REBOOT
rem --------- REBOOT -------


:========================================================
:STEP2
:Formatting drive c:
:Select CD Rom driver
:========================================================
chckdrv c
rem --- if not "partitioniert" -------
if errorlevel 2 if not errorlevel 3 goto ERROREXIT
goto CHECKFORMAT
:========================================================



:========================================================
:STEP3
:Check CD in CD-ROM
:QuickFormat
:Recover
:========================================================
if not exist c:\%driver% goto ERROREXIT
:cdein
cls
echo.
choice "Have you placed the Windows 95 CD-ROM in your CD drive "
if errorlevel 2 goto cdein
:insertcd
echo Please wait ...
lh mscdex.exe /d:mscd000 /m:10 /l:%cddrv%>NUL
smartdrv.exe C+ %cddrv% >NUL
if exist %cddrv%:\win95\*.cab set CDTEST=2
if %CDTEST%==0 goto WRONGCD

REM ==========================================================
REM
REM WIN95 Cabs kopieren und Setup starten
REM
REM ==========================================================

:WIN95CD
setmerk ö
md c:\w95disks > nul
cls
echo.
echo The Windows 95 files will be copied in c:\w95disks.
echo You may delete this directory after the installation.
echo This will take about a minute - please be patient.
echo.
xcopy %cddrv%:\win95 c:\w95disks /s /e >nul
if not errorlevel 0 goto Copy_Error
xcopy a:\oem*.inf c:\w95disks > nul
c:
cd \w95disks
del c:\%driver%
md c:\progs
md c:\progs\msinput
md c:\progs\msinput\mouse
cp a:\mouse\*.* c:\progs\msinput\mouse > nul
echo REM Bitte REM in naechster Zeile entfernen um die Maus im DOS Mode zu nutzen >> c:\autoexec.bat
echo REM c:\progs\msinput\mouse\mouse >> c:\autoexec.bat
call doscd
cls
if EXIST setup.exe setup
if EXIST install.exe install
if EXIST instalar.exe instalar
goto ENDE

:GENERAL_ERROR
echo An error occurred during Setup. Try again...
goto ENDE

:Copy_Error
echo An error occurred during copying. Try again...
goto ENDE

:DISKERROR
echo Your hard disk is not responding. Please check the connecting cable.
goto ENDE

:WRONGCD
echo Place the 'Windows 95 CD' in your CD-ROM drive
echo and press any key...
pause >NUL
if exist %cddrv%:\win95\*.cab set CDTEST=2
if %CDTEST%==0 goto WRONGCD
goto insertcd

:ERROREXIT
echo An error has occurred. Start again.
echo Your PC will be rebooted.
echo Press any key...
pause >NUL
setmerk ö
reboot

:CONFIGERROR
echo Wrong configuration of the 'Windows 95 Start Disk' or
echo wrong 'Windows 95 CD'.

:ERROR
echo Program terminated!

:ENDE
noctrl /OFF >NUL
 
Bedankt voor de reactie, maar welke moet ik gebruiken en hoe gebruik ik een bootdisk? Ik heb de eerste windows 95 van botdisk.com gedownload, in de pc gestopt en de pc aangezet. Ik krijg nu de melding dat het een non systemdisk is. Ik zal ongetwijfeld wat verkeerd doen maar ja ik ben ook geen 40 meer.
 
chiel65 zei:
Bedankt voor de reactie, maar welke moet ik gebruiken en hoe gebruik ik een bootdisk? Ik heb de eerste windows 95 van botdisk.com gedownload, in de pc gestopt en de pc aangezet. Ik krijg nu de melding dat het een non systemdisk is. Ik zal ongetwijfeld wat verkeerd doen maar ja ik ben ook geen 40 meer.

Mag ook en 98 zijn hoor ,en heb je wel dat uit laten pakken naar de diskettte
 
ik neem aan dat je rawrite ofzo hebt moeten gebruiken om de flop te maken???
 
lollige zei:
ik neem aan dat je rawrite ofzo hebt moeten gebruiken om de flop te maken???

@lollige als je niet weet hoe 95 werkt ,bemoei je er dan niet mee
 
95 is inderdaad van voor mijn tijd, maar ik neem aan dat alle bootdisks toch wel hetzelfde werken? Ik bedoel, ze moeten toch allemaal booten??

leuke handtekening trouwens.
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan