Structure
Thediskdriveiscomposedofamagnetichead,adisk,aread-writecircuitandamechanicalservodevice.IBMintroducedthediskdriveforthefirsttimeinitsModel305RAMACin1956
Purpose
Thediskdrivecanbothreadtheinformationstoredonthediskintothememory,andCanwritetheinformationinthememorytothedisk.Therefore,itisconsideredtobebothaninputdeviceandanoutputdevice.
Type
Thediskdriveisapartofthediskmemoryintheelectroniccomputer.ItisusedtodrivethedisktorotateatasteadyspeedandtocontroltheheadonthemagneticlayerofthediskaccordingtoacertainrecordingformatandencodingmethodRecordandreadinformation,dividedintoharddiskdrive,floppydiskdriveandopticaldiskdrive.
Diskdrivefailurerepair
Theharddiskisanimportantmediumforstoringinformation.Whentheharddiskfails,itisanextremelyimportanttasktoquicklyfindthecauseofthefaultandeliminateit.HereisthevirusTheanalysisofotherfailuresisasfollowsforreference:
1,HDDcontrollerfailure(harddrivecontrolfailure)
AfterthePOSTprogramsendsaseekcommandtothedrive,thedrivewithinthespecifiedtime,Theoperationwasnotcompletedandatimeouterroroccurred.
C:drivefaiIure(drivefailureofharddiskC)
RUNSETUPUTTLITY(runsettingfunction)
PresstoResume(presstorestart)
Thiskindoffailureisgenerallybecausethetypesettingparametersoftheharddiskdonotmatchtheparametersusedintheoriginalformatting.SincethesettingparametersoftheIDEharddiskarelogicalparameters,inmostcases,afterbootingfromthefloppydisk,theCdiskcanbereadandwrittennormally,butitcannotbestarted.
2.Faultmessage:lnvalidDriveSpecification(invaliddrivespecification)
Thismeansthatthepartitionorlogicaldriveyouwanttooperateisnotdefinedinthepartitiontableatall.Ifapartitionorlogicaldrivehasnocorrespondingentryinthepartitiontable,thenthepartitionorlogicaldrivedoesnotexistfortheoperatingsystem.Thiskindoffailure,theproblemmustfirstlieinthepartitiontable.Theeasiestwaytorepairthistypeoffailureistomakeabackupofthepartitiontableinadvance.Forexample,youcanusetheBootsafetoolofPctools9.0.Ofcourse,youcanalsorecalculatethepartitiontablebasedonthedataintheBPBtable,butitismorecomplicated.
3.ErtorLoadingOperationSystem(loadoperatingsystemerror)
Thistypeoffailureispromptedwhenanerroroccurswhenreadingthepartitionbootsector(BOOTarea).Thepossiblereasonsare:First,thestartingphysicaladdressofthepartitionindicatedbythepartitiontableisincorrect.Forexample,changingthethirdbyte(startingsectornumber)ofthepartitiontableentryfrom1to0indicatesthatthestartingaddressofthepartitionisthe0thsectorontheindicatedheadanddesignatedtrack(hereisthephysicaladdress,Thesectorshouldstartfrom1),INT13Hwillreportthiserrorafterfailingtoreadthedisk.Second,thetrackmarkandsectorIDofthetrackwherethepartitionbootsectorislocatedaredamaged,andthespecifiedsectorcannotbefound.Third,thedrivereadingcircuitisfaulty.Thissituationisrelativelyrare,andmostofthemarerandomreaderrors,becausethesystembootcangotothispoint,atleastitmeansthatamasterbootsectorhasbeencorrectlyread.
4.Cannotenterthesystem.Ifthereisafloppydrive,itwillbeguidedbydriveA,anditwilldisplay:
DRIVENOTREADYERROR(deviceisnotready)
InsertBootDisketteinA:(InsertthebootdisktodriveA)
Pressanykeywhenready(pressanykeywhenready)
AftertheBIOSPOSTisover,ifyoubootfromtheharddisk,thesystemItwillalwaysreadtheharddisk0side0track1sector,lookingforthemainbootprogramandpartitiontable.Therefore,itisimpossibletousesoftwaretotrytoavoidthe0-facesand0-tracksoftheharddiskdamageandsuccessfullyboottheoperatingsystem!UnlessyourewritetheINT19HinstructionsinthesystemBIOS.ThereasonsforthefailureofINT19Htoreadthemainbootsectorare:first,theharddiskreadcircuitfailure,whichmakesthereadoperationfail,whichisahardwarefailure;second,the0side0trackformatandsectorIDarelogicallyorphysicallydamagedandcannotbefound.Tothedesignatedsector;thirdly,thereisnoerrorinreadingthedisk,buttheMBRtailisnot"55AA".ThesystemthinksthattheMBRisincorrect,whichisasoftfault.
5,Non-SystemDiskorDiskErtor
ReplaceAndpressanykeywhenready(non-systemdiskordiskerror,pressanykeyafterresetting)
ThebootprogramintheDOSBOOTareaisexecutedandanerrorisfound,andthismessageisreported.Possiblereasons:driveresetfailed,theaddressofthefirstsectoroftherootdirectoryareaisoutofbounds(after544M),diskreadingerror.Mostofthesefaultsaresoftwarefaults.IftheBPBtableisdamaged,thatis,theharddiskcannotbereadandwrittennormallyafterbootingwithafloppydisk,youcanuseNDDtorepairit;iftheBPBtableisintact,justsimplySYSC:transferthesystemtobootthedrive,ifitfails,Thenitwillshow:
DiskBootFailure(diskbootfailure)
6,NOROMBASIC(nocuringBASIC)
SYSTEMHALT(systemshutdown)
Thisisapromptthatonlyappearsonveryoldmachines.Theroleofthemasterbootprogramistofindanactivepartition(bootablepartition)amongthefourentriesinthepartitiontable.Ifnoneofthefourentriesisanactivepartition,thesystemdoesnotknowwheretoboottheoperatingsystem,andcanonlyexecuteINT188HandcallthesolidifiedBASICprogram.IftheBASICisnotsolidified,itwillcauseacrash.ThesimplestrepairmethodistousethesecondfunctionofFDISK:Setactivepartition(setactivepartition)tospecifyabootablepartition.
7.Itdisplays"StartingMS-DOS..."andthencrashes.
Whenrecoveringtheharddiskcannotbootsoftfailure,thelastpointworthnotingisCONFIG.SYSandAUTOEXCTheexecutablefileinthe.BATitselfhasbeendamaged,makingthesystemcrashwhenthefileisexecuted,andthescreenprompts:"StartingMS-DOS...",andthencrashes.Thisfaultisverysimple,butbecausethereisnofaultinformation,itiseasyforordinarypeopletomisjudgethesystemfiledamage.Whenthisphenomenonoccurs,andyouaresurethatthesystemfilesareintact,youcanremovethesetwofiles,ortheaboveinformationappearsonthescreen,quicklypressthekeyorholddownthekey(interrupttheCONFIG.SYSinstallationandAUTOEXEC.BATexecution),Orpressthekey(executethecommandinCONFIG.SYSJstepbystep)tofindoutthedamagedfile.
8,InvalidPartitiontable(invalidpartitiontable)
Afterfindingtheactivepartition,themasterbootprogramwillalsodeterminethe"partitionbootflag"byte(Whetherthefirstbyte)isall0,thatis,confirmwhetherthereisonlyoneactivepartition.Ifoneisnot0(thenormalvalueisonly00Hand80H),thesystemwillreportanerrorandcrash.
9,BadormissingCommandInterpreter
EntercortectnameorCommandInterpreter(commandhandlererror,pleaseenterthecorrectfilename)
ThesystemisattherootThecommandprocessingprogramcannotbefoundinthedirectoryandthespecifieddirectory.Theuserisrequiredtoenterthecorrectpathandfilename.Youcanenteritattheprompt,forexample:C:\DOS\COMMAND.COM.
10,InvalidMediaTypeReadingGniveX
AbortRetry,Fail(readXdrivemediatypeisinvalid)
ThismessageisfortheDOSBOOTareaPromptedbyinvalidBPBtable.TheBPBtableisthelogicaladdressusedbyDOStoreadandwritetotheharddisk.Itisconvertedintoabridgetothephysicaladdress.IftheBPBtableisdamaged,itwillmakeitimpossibleforDOStooperatethedisk.
Theboot-typesoftfaultsoftheharddiskcanbecheckeditembyitemintheordershownintheblockdiagram:themasterbootprograminthemasterbootsector—thebootprograminthepartitionBOOTarea—thehiddenfileoftheDOSsystem—CONFIGAUTOEXEC.
Whenthereisnoproblemwiththeharddiskreadingandwriting(youcanreadandwritenormallyafterbootingwithafloppydisk),butthesystemcannotbebooted,thefailurepointmustbeinthefourplacesshownintheboxabove.Thechecksequenceisthemainbootprogram,Partitionbootprogram,DOSsystemhiddenfiles,CON-FIG.SYSandAUTOEXEC.BAT.Forthemasterbootprograminthemasterbootsector,FDISK\MBRcanbeusedtoforciblywriteacorrectbackup.ForthebootprogramandsystemhiddenfilesinthepartitionBOOTarea,SYSC:canbeusedtotransferthesystemtooverwritetheerrordata(providedthattheBPBtableisintact).Inthecaseofharddiskreadandwritefailures,thereareonlytwopossiblepointsoffailure:thepartitiontableandtheBPBtable.IftheCdrivepromptappearsafterbootingwithafloppydisk,youcanbesurethatthepartitiontableoftheCdriveexistsandisbasicallyintact;iftheCdrivereadsandwritesnormally,theBPBtableisdefinitelygood.Readerscanrecoveraccordingtothemethodintroducedaboveorothersuitabletools.
11,17XXHardDiskErtor
HDCcontrollerfail
Thistypeoffailureisahardwarefailure.AfterthePOSTprogramsendsaresetcommandtothecontroller,theinterruptresponsefromthecontrollerisnotreceivedwithinthespecifiedtime.Itmaybethatthecontrollerisdamagedorthecableisnotconnectedproperly.Thecontrollerfailsandwhethertheharddiskparametersettingsarecorrect