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 :

  • How To Install Cinnamon In Ubuntu 14.04
  • How To Install Mate Desktop In Ubuntu 14.04
  • Creating the first Windows Server 2003 Domain Controller in a domain
  • How To Install Ubuntu 13.10 Server
  • How to Install Nuvola Player in Ubuntu
  • How to establish Emerald in Ubuntu 13.10 & Linux Mint 16
  • How to Restoring iptables Automatically On Boot on Debian and Ubuntu
  • How to Compile FFMPEG with H.264 and LAME in Ubuntu And Debian
  • How to Install Linux on a Playstation 2
  • apt-fast: Improve apt-get Download Speed
  • Artikel terkait :