Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • update-grub command is there. But, does update-grub command puts grub in MBR also? Otherwise, on booting, grub in MBR will look for first partition and not finding it may not boot! Commented Jan 7, 2020 at 1:21
  • The sudo update-grub does not reinstall to MBR, but updates grub menu with any changes to configuration files, scripts or additional systems. Commented Jan 7, 2020 at 4:28
  • sudo grub-install /dev/sda is the command to install grub in mbr of sda. Then sudo update-grub to get all systems (as given in accepted answer). Commented Jan 10, 2020 at 7:21