Cara Mengembalikan Grub di Linux

13
126

Cara Mengembalikan Grub di Linux 1

sudo mount /dev/sdXY /mnt
sudo mount –bind /dev /mnt/dev
sudo mount –bind /proc /mnt/proc
sudo mount –bind /sys /mnt/sys

sudo chroot /mnt

grub-install /dev/sdX
grub-install –recheck /dev/sdX

update-grub

exit
sudo umount /mnt/dev
sudo umount /mnt/proc
sudo umount /mnt

reboot :)

13 COMMENTS

  1. We’re a small grouping of volunteers and starting a brand new scheme inside
    our community. Your website provided us with valuable information to operate on. You possess done an amazing job and our whole community will
    likely be thankful for you.

  2. sedikit koreksi bagi yang tidak sukses dengan cara di atas… 😀

    sudo mount /dev/sdXY /mnt
    sudo mount –bind /dev /mnt/dev
    sudo mount –bind /proc /mnt/proc
    sudo mount –bind /sys /mnt/sys

    sudo chroot /mnt

    grub-install /dev/sdX
    grub-install –recheck /dev/sdX

    update-grub

    exit
    sudo umount /mnt/dev
    sudo umount /mnt/proc
    sudo umount /mnt

    reboot 🙂

    semoga bermanfaat

LEAVE A REPLY