Ungayishintsha kanjani inketho yokungena ngemvume ezenzakalelayo yeGrub2

Grub Yileyo menyu evela kukhompyutha yethu futhi esivumela ukuthi sikhethe ukuthi iyiphi i-distro (noma uhlelo lokusebenza) esifuna ukuyisebenzisa ngaleso sikhathi. Lokho wukuthi, abaningi benu bazobona eGrub izinketho eziningi ze-Ubuntu, i-Debian, i-ArchLinux noma enye i-distro, kanye nenketho yokuqala ngeWindows (uma kungenzeka uyifakile).

Ngokuzenzakalelayo bazongena ngenketho yokuqala, ikakhulukazi ngekhenela ebuyekezwe kakhulu abanayo kwi-distro yabo, kimi ngokuzenzakalelayo ingena nge-Debian kernel v1-3.2.0-4-pae noma ngabe unezinye izinhlamvu noma ezinye izinhlelo ezisebenzayo, bese umbuzo:

Ungayilungiselela kanjani ikhompyutha yethu ukuze ngokuzenzakalelayo ifinyelele HHAYI ngenketho yokuqala kepha yileyo esiyifunayo?

Noma kunezinhlelo zokusebenza zokuqhafaza ezenza lokhu, lapha ngizokukhombisa ukuthi ungakwenza kanjani usebenzisa ukuphela kuphela.

Okokuqala kufanele sazi ukuthi yiziphi izinketho esinazo, ngoba lokhu esigungwini sibhala okulandelayo:

grep menuentry /boot/grub/grub.cfg

Izinketho zethu zizovela, okufana nalokhu:

i-grub2-menuentrys

Njengoba ukwazi ukubona, wonke umugqa oqala ngo- «imenyu"kuyindlela yokukhetha. Masithi ngifuna ukusetha ngokuzenzakalela ukuze uhlelo lwami luhlale lungena (ngokuzenzakalela ngiyaphinda) ngeWindows XP, etholakala ku / dev / sda1.

Kulokhu kumele sihlele elinye ifayela, kulokhu kufanele sihlele: / njll / okuzenzakalelayo / grub

Ukwenza lokhu esigungwini sibhala okulandelayo:

sudo nano /etc/default/grub

Uma kwenzeka bengenayo i-Sudo efakwe nganoma yisiphi isizathu, kufanele basebenzise umyalo: su lapho bazocelwa khona iphasiwedi yempande, bese bezokwazi ukwenza: nano /etc/default/grub

Uzobona into enjengale:

Njengoba ukwazi ukubona esithombeni, ngakhomba GRUB_DEFAULT = 0 okuwumugqa okhombisa inketho okuzotholakala ngayo ngokuzenzakalela. Lokho, ake sithi ngifuna i-laptop yami ihlale ifaka iWindows XP ngokuzenzakalelainombolo yokukhetha 9, njengoba kukhonjisiwe esithombeni sokuqalalapho-ke lowo mugqa kufanele ube: GRUB_DEFAULT = 8

Futhi kulayini olandelayo ithi: GRUB_TIMEOUT = 5, lokhu kubhekisa esikhathini sokulinda, imizuzwana uGrub2 azoyilinda ngaphambi kokuvula inketho ezenzakalelayo, okungukuthi, imizuzwana okufanele basebenzise izinkinobho zomcibisholo Phezulu Naphansi ukushintsha inketho ezotholakala.

Ukonga ifayela ngemuva kwanoma iluphi ushintsho nokuphuma cindezela u- [Ctrl] + [X], bese u- [S] kanye no- [Enter]

Lapho lokhu sekushintshiwe, kufanele sisebenzise nje:

sudo update-grub

Lokhu kuzobuyekeza okusha abakwenzile, kwenze ushintsho lusebenze.

Futhi voila, sesiqedile 🙂

Lesi sifundo besiside kimi, kepha akusho ukuthi ukushintsha okokufaka okuzenzakalelayo kweGrub2 kuyinkimbinkimbi, empeleni kulula impela.

Noma kunjalo, akukho okunye ongangeza ngakho.

Phendula ngokucaphuna

/ ikhodi


Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Amazwana ayi-38, shiya okwakho

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.

  1.   UFrank Davila kusho

    Ukusetshenziswa kwe-terminal ku-linux kubalulekile futhi kuyathakazelisa, kepha kulokho ngisebenzisa i-grub costumizer, ulanda iphakheji eyodwa kuphela ku-Ubuntu bese uyifaka, ikusiza ukuthi wenze ngezifiso i-grub kuzo zonke izici zayo, nokuyinto engithandayo nami anginakho okuningi okungahle noma ukuchitha isikhathi ukukhumbula imiyalo.

  2.   UFrank Davila kusho

    Kunezinkinga zokulayisha ikhasi kusuka kusheke linux.net.

    1.    KZKG ^ Gaara kusho

      Yebo ... ukusingathwa kwamanje akwanele. Ubufakazi http://justice.desdelinux.net futhi ungitshela ukuthi le clone yebhulogi ishesha kangakanani.

      Ngiyabonga ngosizo lwakho 🙂

  3.   eliotime3000 kusho

    Siyabonga ngezeluleko. Noma kunjalo, ngizoyisebenzisa kwenye i-PC yami yakudala lapho ngifaka iDebian neSlackware kuyo.

  4.   sbusisiwe kusho

    umfundisi muhle ... mayelana neGrub

  5.   GeoMixtli kusho

    Sawubona, ngithanda ukungeza ukuthi ku-Archlinux ukubuyekeza imenyu ye-grub kusetshenziswa umyalo olandelayo:
    grub-mkconfig -o /boot/grub/grub.cfg (kwenziwe njengezimpande)

    1.    si84 kusho

      kwamanye ama-distros yi: grub2-mkconfig -o /boot/grub2/grub.cfg

  6.   si84 kusho

    Bengingacabangi ukuthi kulula ukukwenza.

  7.   Miguel kusho

    Ngisuka kancane esihlokweni, kepha ngisebenzisa ithuba ukubuza, ngabe okokufaka okungeziwe kungafakwa ku-CD noma kwi-USB eGrub2?

    Sanibonani nonke

  8.   Miguel kusho

    Ukungabaza okukodwa, lapho ngibona isibonelo, NGIKHOLWA ukuthi inketho yokuqala ingu-0, ngakho-ke kwiWinXP kungaba ngu-8. Ngabe kulungile?
    Un saludo

    1.    KZKG ^ Gaara kusho

      Impela, ngiyabonga kakhulu ngesexwayiso, sengikuhlelile okuthunyelwe 🙂

  9.   marlon ruiz kusho

    Ngiyabonga, uyibeka njengoba injalo, SIMPLE

  10.   marlon ruiz kusho

    Ngicela uchaze ukuthi ungabuguqula kanjani ubuso be-grub, ngiyacela, 😀

    1.    KZKG ^ Gaara kusho

      Sawubona Unjani?
      Sesivele sishicilele izinto eziningana ngeGrub, ukuthi ungayifaka kanjani iphasiwedi, ukuthi ungayishintsha kanjani ukubukeka kwayo, njll., Bheka lapha - » https://blog.desdelinux.net/tag/grub/

      Phendula ngokucaphuna

  11.   i-asd kusho

    Ngihlola ukuthi ngabe use-fedora, i-fedora grub yehlukile kune-oldbian grub

  12.   UJose Jaime kusho

    Ngiyabonga kakhulu ngesifundo futhi wenze kube lula ngathi KZKG ^ Gaara.

    Okuhle kakhulu

  13.   URicardo Brito kusho

    Ngiyabonga kakhulu, isihloko besinembile. Ngifunda kuwe.

  14.   U-Erick Azeem Portillo Acosta kusho

    muhle kakhulu mngani wami, kunemininingwane eminingi
    I-gracias

  15.   Sanpeter kusho

    Muchaaaaaaaaaaaaas ngiyabonga!
    Kungisize kakhulu.

  16.   Martin kusho

    Iphelele ku-grub 2.02 beta ubuntu 14.4

  17.   ims kusho

    Ngiyabonga kakhulu, ngempumelelo, ngqo, okulula ukuyiqonda… .. futhi kangcono kunediski ebukhoma ene-supergrub noma izinto eziyinkimbinkimbi ngokwengeziwe. Siyabonga ngesikhathi sakho sabanye

  18.   Alberto kusho

    Sawubona KZKG ^ Gaara, ngisanda kuthenga ikhompyutha ngaphandle kwe-OS, ngafaka amawindi 7 wokugcina kuqala bese kuba Ubuntu 14.04.
    Lapho ngizama ukusetha ukuqala nge-boot nge-windows 7 ngokuzenzakalela, ngiguqula ifayela le-grub kepha ngifaka inombolo engiyibeke ngokuzenzakalela (noma leyo yamawindows 7, kimi GRUB DEFAULT = 7, noma enye enye) ayisebenzi suka kubuntu lapho ngicisha futhi nakukhompyutha futhi. Ngivuselele ngemuva kokuguqula ukuze kungabi njalo.
    Uyasazi noma yisiphi isizathu sokuthi noma ngabe ngilungisa ifayili, ibhuthi alisuki ku-Ubuntu?
    Ngikubonga kusengaphambili.

  19.   Miguel kusho

    Sawubona, unjani? Nginenkinga, bengifake ubuntu 14.10 ne-mint 17.1, futhi nginqume ukufaka i-elementary os luna, lapho ngenza kanjalo, i-grub yaguqulwa futhi ubuntu bashintshwa baba inketho ezenzakalelayo baba ku-5 position, nangemva kokufaka izinguquko njengoba usho nganoma iyiphi indlela engenakwenzeka angikwazi ukwenza Ubuntu okuzenzakalelayo kokusebenza futhi futhi ngishiye os oyisisekelo njengenketho yokugcina. Yini engingayenza ngakho, ngiyabonga kakhulu, ngiyabonga impendulo esheshayo. ngiyabonga.

  20.   Victor kusho

    Ngibonga kakhulu !!!
    Kungisize kakhulu, bengivele ngiqala ukukhathazeka. Kepha ngiyabonga ngalesi sifundo, yize kuyinto "eyisisekelo", kubalulekile

  21.   Jose kusho

    Kuhle ekuseni
    Othandekayo uphumelele kakhulu, ulwazi lwakho olulula kakhulu futhi olulula lungisize kakhulu, ngiyabonga

  22.   UTincho kusho

    Ngiyabonga! Re elula futhi ichazwe kahle.

  23.   Claudio kusho

    Ngingayilungiselela kanjani i-grub2 ukuqala kwenye idiski iye kuleyo esivele ilungisiwe?

  24.   Rafael kusho

    Ozithobayo. Incazelo enhle

  25.   UJose Tovar kusho

    Ngemuva kokumisa i-grub, manje iWindows ayiphumi ... Kude nenketho yokuqala yebhuthi ... Yini engingayenza ukuyilungisa ... Ngiyabonga

  26.   Ezequiel kusho

    Sawubona. Siyabonga ngesikhathi sakho. Nginamathela ekuphawuleni kwe-IMS, kulula futhi kuqondile. Jabulela

  27.   I-Santi kusho

    Incazelo elula futhi ivezwe kahle kakhulu. Ngiyabonga

  28.   Kusha uMohamed kusho

    mngani, isithombe sihle, kepha ngithanda ukusebenzisa ama-15s / px amaningi ku-TIMEOUT, kuyithiphu yakho.
    Une-kebab exubekile namazambane wamahhala we-cocacolo, ukhokha ku-kebab yami
    inhlanhla empilweni yakho ♥

    1.    ALA kusho

      Uthini INFIDEL, ngikukhande ngamatshe awazi nokuthi uuuhuhuhuhuhuhuhuhu

  29.   Adrian abadin kusho

    Ngibuza umbuzo ungenza okufanayo nakuWindows? Ngichaza ukuthi ngifuna ukukwazi ukuqala uhlelo olulodwa noma olunye ngokusebenza kwedeskithophu ekude, ngakho-ke uma ngikuLinux ngingaguqula iGrub ukuze iqale iWindows. Manje uma ngiku-Windows, ngingayiguqula ukuze ngiqale Ubuntu?

    1.    ALA kusho

      Sawubona ADrian, umbuzo wakho uthakazelisa kakhulu, ngiyaxolisa ukukutshela ukuthi kusuka kumawindi 98 awukwazi, kuyihlazo kodwa kufanele ubambe….
      futhi amaphilisi ayangqubuzana neMAC Yosemite, FUCK NGIKHONA AMAQANDA SEKUDE
      Ngendlela othanda ngayo imininingwane yolwazi?

  30.   YOUSSEF BETTI DAIFI kusho

    Siyabonga ngencazelo yakho, ibanzi futhi inembile