欢迎来到天天文库
浏览记录
ID:43325063
大小:99.50 KB
页数:19页
时间:2019-09-30
《Linux系统启动故障排除系统启动顺序》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、Linux系统启动故障排除系统启动顺序2011-05-05-05-05-05-05-05-06:theLinuxsystemstartsthetroubleshootingsystembootsequence:LoadtheBIOShardwareinfonnation1-readtheMBRBootLoaderinfonuationstagel,stage2,grub.Conf1-BootLoaderloadsthekernelvminux,theinitrd1-beenexecutedtheinitprogramandthekerneloperationinformationininit
2、tab卜initimplementation/etc/rc・D/rcsysinit1-load/etc/fstabpartition,etcImplementationof卜init/etc/rc・D/rc卜launchdaemonfortherunlevel1-SArrayArray1ocalfinalimplementation,namelythe/etc/rc・D/rc・Local1-initlaunchedmingetty,opentheterminalfortheuserloginsystem1-perform/bin/loginprocedure1-landedsuccessfu
3、llylaunchedaftertheshellcontrolhost1-shellconfigurationscript卜/etc/profile->/etc/profile・D/*・Sh1-~user/・Following1-〜user/bashrc1-/etc/bashrcDoesdoesdoesBIOSWhenthepowerofacomputeristurnedon,thecomputerexecutesthebootcodestoredinROMfirst,theBasicInput/OutputSystemBasicInput/OutputSystem・TheBIOSdeter
4、mineswhatdevicestartsaftercompletingtheperipheraldeviceandthestartdevice・DoesdoesdoesMBRIfthecomputerBIOSSettingsforharddiskboot,itwillattempttoloadthefirstsectorofthediskinformation,bootsectorispresentineachpartition,butmasterbootsectoroftheharddrivefirstphysicalsector・Itconsistsoftwoparts,theMast
5、erBootRecordandtheharddiskpartitiontableDPT・Inatotalof512bytesofMBRinthemasterbootsectoraccountsfor446bytes(0-displacement1BDH),DPTaccountedfor64bytes(excursionoftheFDH11;-),thelasttwobytes,,aa,/55(excursionofthe11feh-FFH)markstheendofthepartition.TheMBRisusedtoboottheoperatingsystemonapartitiontha
6、thasactivationflagsafterthesystemhardwareischeckedout・ItrunstotheendofaJMPinstructiontojumptothebootoftheoperatingsystem・IftheLinuxbootloaderisinstalledintheMBR,thebootloaderisexecutedwhentheBIOSreadstheMBR・Ifyouinstallthebootloaderintheotherpartitionedsuperblock,thesystemwillloadtheLinuxbootloader
7、inthesuperblockbythebootloader・BackuptheprimarypartitionbootrecordDd/TMP/MBRbs二446count=1ThebackupMBRincludesthemasterbootrecordandthepartitiontableDd/TMP/MBRbs二512count=1BackupPBRDd/TMP/PBRbs二1024count二1Do
此文档下载收益归作者所有