Tus tswv khau raj code (qee zaum luv ua MBC) yog ib qho ntawm ntau qhov chaw ntawm cov ntaub ntawv khau raj. Nws ua thawj txheej ntawm cov haujlwm tseem ceeb hauv cov txheej txheem booting.
Tshwj xeeb, nyob rau hauv cov ntaub ntawv generic master boot code, tus tswv khau raj code siv 446 bytes ntawm tag nrho 512-byte master boot record-qhov seem seem yog siv los ntawm cov lus muab faib (64 bytes) thiab 2-byte. disk kos npe.
How the Master Boot Code ua haujlwm
Piv txwv tias tus tswv khau raj code tau ua tiav los ntawm BIOS, tus tswv khau raj code tso tawm booting tswj rau lub ntim khau raj code, ib feem ntawm lub ntim khau raj sector, ntawm qhov muab faib rau ntawm lub hard drive uas muaj cov kev khiav hauj lwm qhov system.
Ib tus tswv khau raj code tsuas yog siv rau hauv thawj qhov kev faib tawm. Cov partitions tsis ua haujlwm zoo li cov nyob rau sab nraud tsav uas tuaj yeem khaws cov ntaub ntawv zoo li cov ntaub ntawv thaub qab, piv txwv li, tsis tas yuav tsum tau booted los ntawm vim tias lawv tsis muaj lub operating system thiab yog li tsis muaj laj thawj rau tus tswv khau raj code.
Cov no yog cov kev ua rau tus tswv khau raj code raws li Microsoft:
- Xaiv lub rooj muab faib rau qhov kev faib ua haujlwm.
- Nrhiav qhov pib ntawm kev faib ua haujlwm.
- Loads ib daim qauv ntawm cov khau raj los ntawm kev faib ua haujlwm rau hauv nco.
- Hloov kev tswj mus rau qhov kev ua tiav hauv cov haujlwm khau raj.
Tus thawj khau raj code siv qhov hu ua CHS teb (Pib thiab Xaus Lub tog raj kheej, Lub taub hau, thiab Sector teb) los ntawm cov lus muab faib los nrhiav qhov chaw khau raj ntawm qhov muab faib.
Master Boot Code yuam kev
Cov ntaub ntawv uas Windows xav tau khau raj rau lub operating system qee zaum tuaj yeem ua tsis raug lossis ploj mus. Master boot code yuam kev tuaj yeem tshwm sim vim muaj dab tsi los ntawm tus kab mob tawm tsam uas hloov cov ntaub ntawv nrog cov lej tsis zoo, ua rau lub cev puas tsuaj rau lub hard drive.
Txhim kho Master Boot Code yuam kev
Ib qho ntawm cov yuam kev no yuav tshwm sim yog tias tus tswv khau raj tsis tuaj yeem pom cov khau raj, tiv thaiv Windows pib:
- Missing operating system
- tsis raug muab faib rooj
- Error loading operating system
- MBR yuam kev 1
- MBR yuam kev 2
Ib txoj hauv kev uas koj tuaj yeem kho qhov yuam kev hauv cov ntaub ntawv khau raj tus tswv yog rov nruab Windows. Txawm hais tias qhov no yuav yog koj thawj qhov kev xav vim tias koj tsis xav mus los ntawm kev kho qhov yuam kev, nws yog qhov kev daws teeb meem nyuaj heev.
Cia peb saib ob peb lwm, uas yooj yim dua, txoj hauv kev los kho cov teeb meem no:
Yuav ua li cas kho Master Boot Code yuam kev
Thaum koj ib txwm tuaj yeem qhib Command Prompt kom khiav cov lus txib hauv Windows, teeb meem nrog tus tswv khau raj code yuav txhais tau tias Windows yuav tsis pib. Hauv cov xwm txheej no, koj yuav tsum nkag mus rau Command Prompt los ntawm sab nraud Windows…
Nyob rau hauv Windows 11, Windows 10, Windows 8, Windows 7, thiab Windows Vista, koj tuaj yeem sim kho tus tswv khau raj code yuam kev los ntawm kev tsim kho Boot Configuration Data (BCD) siv cov lus txib bootrec.
Cov lus txib bootrec tuaj yeem khiav hauv Windows 11/10/8 los ntawm Advanced Startup Options. Hauv Windows 7 thiab Windows Vista, koj tuaj yeem khiav tib cov lus txib, tab sis nws tau ua tiav ntawm System Recovery Options.
Hauv Windows XP thiab Windows 2000, cov lus txib fixmbr yog siv los tsim cov ntaub ntawv sau npe tshiab los ntawm kev sau cov ntawv sau tus tswv boot code. Cov lus txib no muaj nyob hauv Recovery Console.