Re: grub2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



mmm, well if it has already been installed , why would you ever have to
run grub-2-install again?? all you would have to do is modify the
grub.cfg whenever you add a new kernel.. I guess the only way to test
would be to add/remove a kernel, then JUST run grub2-mkconfig, reboot &
see if the changes were updated..
or am I missing the point..

> 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@xxxxxxx
>  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@xxxxxx>
>> To: users@xxxxxxxxxxxxxxxxxxxxxxx
>> 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@xxxxxxxxxxxxxxxxxxxxxxx
>> 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
>>


-- 
Paul Cartwright
Registered Linux User #367800 and new counter #561587

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
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




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux