Yadda ake sake shigar da GRUB akan Ubuntu

sake shigar da grub

Idan kana bukata sake shigar da GRUB akan Ubuntu saboda kowane dalili, kada ku firgita, ba shi da wahala sosai. Akasin haka, yana da sauƙi idan kun bi waɗannan matakan. Ka tuna cewa sake shigar da GRUB na iya zama dole don dalilai daban-daban (misali lokacin da kuka yi wasu canje-canje, kun shigar da wani tsarin aiki a cikin multiboot, da sauransu), kuma yakamata ku la'akari da yadda ake yin shi mataki-mataki idan akwai. Ya tava zuwa. Bukatar yin shi kuma ba ku san yadda ake ba. To, ga wani kuma a cikin wannan jerin karatuttukan masu sauki da gajeruwar da muke kaddamarwa kuma tabbas za su fi amfani. Kamar yadda suke cewa, hoto yana da darajar kalmomi dubu, kuma a cikin wannan yanayin wasu snippets tare da umarni suna darajar kalmomi dubu ...

Don sake shigarwa ko gyara GRUB 2 daga CD ɗin Ubuntu Live, matakan da za a bi Suna da sauƙi, kawai dole ne ku:

  1. Saka Ubuntu Live DVD ko USB a cikin kwamfutarka kuma yi tada shi.
  2. Da zarar ciki, yi amfani da tashar tashar wannan distro don aiwatar da umarni mai zuwa, maye gurbin / dev/sdxy (bayanin kula, idan SSD ne zai zama wani nau'i na daban) tare da ɓangaren shigarwa na taya a cikin akwati:

sudo mount -t ext4 /dev/sdXY /mnt

  1. Yanzu yi daidai da sauran kundayen adireshi waɗanda GRUB ke buƙatar samun dama don ganin sauran tsarin aiki da aka shigar:

sudo mount --bind /dev /mnt/dev && sudo mount --bind /dev/pts /mnt/dev/pts && sudo mount --bind /proc /mnt/proc && sudo mount --bind /sys /mnt/sys

  1. Yanzu ya kamata ku yi tsalle ta amfani da umarni mai zuwa:

sudo chroot /mnt

  1. Yanzu lokaci ya yi da za a shigar, dubawa da haɓaka GRUB, don yin wannan, gudanar da waɗannan umarni guda uku masu sauƙi:

grub-install /dev/sdX

grub-install --recheck /dev/sdX

update-grub

  1. Yanzu an shigar da GRUB, kawai ku cire abin da kuka dora sannan ku sake yi:

exit && sudo umount /mnt/sys && sudo umount /mnt/proc && sudo umount /mnt/dev/pts && sudo umount /mnt/dev &&  sudo umount /mnt>/code>

sudo reboot

Ina fatan ya taimaka muku…


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

Sharhi, bar naka

Bar tsokaci

Your email address ba za a buga. Bukata filayen suna alama da *

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.

  1.   lux m

    Ko kuna iya amfani da SuperGrub2..