Am 03.05.2015 um 20:42 schrieb Paul Cartwright:
On 05/03/2015 11:02 AM, Klaus-Peter Schrage wrote:
> Am 03.05.2015 um 15:59 schrieb Patrick Dupre:
>> Hello,
>>
>> After I run
>> grub2-mkconfig -o /boot/grub2/grub.cfg
>> grub2-install /dev/sda
> First thought: Shouldn't these two commands be interchanged?
no, you run the mkconfig FIRST, then install it in /dev/sda ..
I am a bit stumbled: I always thought that it is a good idea to install
a feature before configuring it ... Following Fedora's Grub2
documentation, I did it this way for quite a long time whenever I needed
to update my grub configuration:
"The configuration format has evolved over time, and a new configuration
file might be slightly incompatible with the old bootloader. It is thus
often/always a good idea to run grub2-install before grub2-mkconfig for
some reason is run."
But, I admit, in most situations the order of the two command may not
matter.