Ungayisebenzisa kanjani iphasiwedi i-Grub2

Kunezindlela eziningana zokuvikela ifayela le- Grub ekusatshalalisweni kwethu esikuthandayo. Ngizamile ikakhulukazi nge- lokhu okuhlukile futhi nge Lokhu okunye, kodwa akekho ongisebenzele. Mhlawumbe bengilahlekelwa okuthile futhi kuyihlazo, ngoba lapho kukhiqizwa amaphasiwedi ngeHash, into iphephe kakhudlwana.

Kepha, noma kunjalo, ngizokukhombisa eyodwa engisebenzele izimangaliso, futhi engibuza igama lomsebenzisi nephasiwedi lapho ngizama ukuhlela i- Grub. Izinyathelo zilula:

1- Sihlela ifayela /etc/grub.d/00_header:

$ sudo nano /etc/grub.d/00_header

2- Sengeza imigqa elandelayo ekugcineni:

cat << EOF
  set superusers="elav"
    password elav micontraseña
    EOF

Endabeni yami, ngakhetha isidlaliso sami njenge-superuser, kepha ungakhetha noma yini oyifunayo. Uma sifuna, singangeza abasebenzisi abaningi, futhi kungabonakala kanjena:

cat << EOF
  set superusers="elav"
    password elav micontraseña
    password kzkggaara sucontraseña
EOF

Songa futhi sivuselele i- Grub.

sudo update-grub2

Siqala kabusha futhi lapho sizama ukuhlela ifayela le- Grub ngokhiye "futhi" Izosicela igama lomsebenzisi nephasiwedi 😀


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

Amazwana ayi-8, 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.   umphathi we-fucking kusho

    ukuxaka okuyindida

  2.   Hugo kusho

    Angazi ukuthi bewazi yini ukuthi esikhashaneni esedlule ngangeze ngqo leyo ndlela ku-GUTL Wiki. Ngokubona kwami, into elandelayo ethokozisayo ongayenza isifundo sokuthi iphasiwedi ingavikela kanjani ukufakwa kwemenyu ethile ye-GRUB. Ngabe ujabulile? 😉

    1.    I-elav <° Linux kusho

      Eqinisweni kungenziwa. Ngizokugcina engqondweni ..

      Sanibonani

  3.   I-LZN kusho

    Sawubona, uma kusebenza faka inketho ye-hash.

    Ukuze ihlanzeke futhi isebenze.
    Indlela yokukwenza injena.
    Kufanele ungeze imigqa elandelayo ekugcineni kwefayela /etc/grub.d/40_custom

    set superusers = »umsebenzisi»
    iphasiwedi_pbkdf2 yomsebenzisi futhi nansi yonke i-hashi eyenziwe yi-grub-mkpasswd-pbkdf2

    gcina bese usebenzisa i-update-grub
    futhi voila =)

    1.    I-elav <° Linux kusho

      Hewu! Siyabonga ngethiphu 😉

  4.   Hugo kusho

    Ngiyabonga, ekugcineni ngikutholile ebengikufuna.

  5.   i-fran kusho

    Kungisebenzele. Ngiyabonga kakhulu 🙂

  6.   bapgnu kusho

    Vele ukucebisa okuveziwe. Ngenkathi indlela ibukeka ilula ukuyisebenzisa, ngicabanga ukuthi, ingilungise uma nginephutha, isengozini kalula.
    Isivivinyo: Ukube bengizosebenza bukhoma, bengingafaka i-disk bese ngifunda ifayela okukhulunywa ngalo, ngoba lisembhalweni ocacile. Ngemininingwane oyitholile, ungahlela i-grub ukuthola ukufinyelela kwezimpande.
    Ngilindele ukuphawula kwakho.