How to Repair a broken Grub

First Boot from a live cd, mount the linux partition, add /proc and /dev and use grub-install  /dev/xyz. Suppose linux lies on /dev/sda6:


# mount /dev/sda6 /mnt   ------ mount the linux partition on /mnt

# mount --bind /proc /mnt/proc ----- mount the proc subsystem into /mnt

# mount --bind /dev /mnt/dev ------- mount the devices into /mnt

# chroot /mnt  ---------- change root to the linux partition

# grub-install /dev/sda -------- reinstall grub with your old settings




Terima kasih telah membaca artikel tentang How to Repair a broken Grub di blog Tutorial Opensource and Linux jika anda ingin menyebar luaskan artikel ini di mohon untuk mencantumkan link sebagai Sumbernya, dan bila artikel ini bermanfaat silakan bookmark halaman ini di web browser anda, dengan cara menekan Ctrl + D pada tombol keyboard anda.

Artikel terbaru :