I had Peppermint installed on my desktop as the only OS for quite a while.
I decided to try out Ubuntu Mate 17.10, so I installed it side by side with
Peppermint for a dual boot. Ubuntu installed it’s own grub and it’s grub menu
always shows giving me a choice of booting into Ubuntu or Peppermint.
When Peppermint installs a newer kernel, I have to boot to Ubuntu and
do a sudo update-grub in order for Peppermint to load and use the
newer kernel, which is no big deal.
Yesterday, however, I booted into Peppermint and installed new updates.
After I did a reboot, I noticed that the Peppermint grub was being used
instead of the Ubuntu grub. In other words, the updates somehow switched
the grub being used from Ubuntu’s grub back to Peppermint’s grub.
Well, I have decided to use Ubuntu Mate 17.10 as my daily driver instead
of Peppermint. And I don’t want to have to boot into Peppermint to do
a sudo update-grub whenever Ubuntu installs a newer kernel so that
Ubuntu will load and use the newer kernel.
In short, I want the computer to use the Ubuntu grub like it was doing
before the Peppermint updates, so how do I switch back to using
Ubuntu’s grub ?
I read that to switch from one OS’s grub to another OS’s grub,
you should boot into the OS that you want to use and do a
sudo grub-install /dev/sda.
Will this command in fact accomplish what I want to do or is there
a chance that the computer will become unbootable ?