Hello,
In my opinion, it odes not matter.
after grub-install /dev/sda
grub knows that it has to read the file
/boot/grub2/grub.cfg
Then you can change it, it will use the chnaged file.
There is no copy of the copy in /dev/sdx
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
Sent: Monday, May 04, 2015 at 11:07 AM
From: "Klaus-Peter Schrage" <kpschrage(a)gmx.de>
To: users(a)lists.fedoraproject.org
Subject: Re: grub2
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.
--
users mailing list
users(a)lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct:
http://fedoraproject.org/code-of-conduct
Guidelines:
http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away:
http://ask.fedoraproject.org