Dab tsi yog grub conf hauv Linux?
Dab tsi yog grub conf hauv Linux?

Video: Dab tsi yog grub conf hauv Linux?

Video: Dab tsi yog grub conf hauv Linux?
Video: Nastya and Watermelon with a fictional story for kids 2024, Hlis ntuj nqeg
Anonim

GRUB Menu Configuration File. Cov configurationfile (/boot/ grub / grub . conf ), uas yog siv los tsim cov npe ntawm cov haujlwm ua haujlwm rau khau raj hauv GRUB's menuinterface, qhov tseem ceeb tso cai rau tus neeg siv xaiv ib pawg ua ntej ntawm cov lus txib kom ua.

Raws li, GRUB config file nyob qhov twg?

Los ntawm lub neej ntawd, kev cai ntaub ntawv npe 40_custom isavailable for use in the /etc/ grub .d folder. Qhov tseem ceeb configuration file rau kev hloov zaub mov zaub chaw hu ua grub thiab los ntawm lub neej ntawd nyob hauv /etc/defaultfolder.

Ib tug kuj yuav nug, qhov txawv ntawm grub thiab grub2 yog dab tsi? GRUB tuaj yeem ua haujlwm tau yooj yim nrog DOS, Windows, Linux lossis BSD operating system. Grub khau raj loader tuaj yeem configureddynamically, txhais tau tias tus neeg siv muaj kev xaiv los hloov pauv thaum booting. GRUB tuaj yeem ntsia tau thiab tua los ntawm txhua yam khoom siv xws li hard disk, CD thiab USB. GRUB thiab GRUB2 yog ob qhov sib txawv versions.

Ib yam li ntawd, tib neeg nug, Kuv yuav hloov kho grub conf li cas?

Rau edit grub , ua koj cov kev hloov pauv rau /etc/default/ grub . Tom qab ntawd khiav sudo hloov tshiab- grub . Theupdate- grub yuav ua qhov kev hloov mus tas li rau koj grub . cfg ua ntaub ntawv. Yog tias koj tab tom sim ua lub Windows koj qhovPriority Boot ntaus ntawv, koj tuaj yeem ua qhov ntawd los ntawm kev ua grub default rau kev cawmdim.

bootloader Linux yog dab tsi?

A khau raj loader , tseem hu ua tus thawj tswj khau raj, yog qhov kev pabcuam me me uas tso lub operating system (OS) ntawm lub computer rau hauv nco. LOADLIN qee zaum siv los ua thaub qab bootloader rau Linux thaum LILO ua tsis tiav. GRUB yog nyiam los ntawm ntau cov neeg siv Red Hat Linux , vim nws yog lub neej ntawd khau raj loader rau qhov kev faib tawm ntawd.

Pom zoo: