Installing GRUB Into MBR

Use this when your MBR gets corrupted – usually happens after you reinstall windows. Pop in a bootable ubuntu DVD and boot into it. Then open a terminal and type in the following commands…


$ sudo grub
> find /boot/grub/stage1
(hd0,1)
> root (hd0,1) #Must be same as the output of the last command
> setup (hd0)
Author: Binny V A
A philosopher programmer who specializes in backend development and stoicism.

1 thought on “Installing GRUB Into MBR

  1. $ sudo grub
    > find /boot/grub/stage1
    (hd0,1)
    > root (hd0,1) #Must be same as the output of the last command
    > setup (hd0)

Leave a Reply

Your email address will not be published. Required fields are marked *