Ubuntu : Restore GRUB after Windows installation

Super Grub Disk

If you have booted your linux distro with Super Grub Disk, or a live CD and want to restore your grub, follow the below instructions:

  • As root (or with sudo), type grub
  • When at the grub prompt, type find /boot/grub/stage2
  • This will return something like (hd0,2)
  • To setup the boot partition boot type root (hd0,2). This is the harddrive and the partition your linux is installed on…
  • And then to configure grub type setup (hd0)
  • Now you’re done, so exit with quit

Leave a comment