Configuring/using grub with grub-install and grub-mkconfig

Liam Proven lproven at gmail.com
Mon Nov 18 18:08:24 UTC 2019


On Mon, 18 Nov 2019 at 19:04, Colin Watson <cjwatson at ubuntu.com> wrote:

> It doesn't matter.  Neither one depends on the output of the other one
> (I mean, when running the tools; of course both outputs have to be there
> at boot time if you want things to work).

Hmm. Most recently I've been fiddling with this on openSUSE and it
doesn't have an ``upgdate-grub'' command, which is a PITA.

Not sure the statement above is universally true, is all I'm saying.
> > OK, so, if I understand it right, I run update-grub (which runs
> > grub-mkconfig for me with some parameters pre-set) which creates
> > /boot/grub/grub.cfg and then I should run grub-install to write the
> > things the BIOS needs to start the system.
>
> Correct.

Stop me if I'm wrong, but I vaguely thought GRUB recorded where you'd
installed it somewhere, so subsequent updates will just update
wherever it was last installed to...?


-- 
Liam Proven - Profile: https://about.me/liamproven
Email: lproven at cix.co.uk - Google Mail/Hangouts/Plus: lproven at gmail.com
Twitter/Facebook/Flickr: lproven - Skype/LinkedIn: liamproven
UK: +44 7939-087884 - ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053




More information about the ubuntu-users mailing list