Grub.cfg not updating

classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|

Grub.cfg not updating

Fedora List mailing list-2
Updated from Fedora 29 to 31 on a legacy system.  Kernel updates no
longer update grub.cfg to the new kernel.  Ran grub2-mkconfig -o
/boot/grub2/grub.cfg which finds Windows and Centos 6 but none of the
Fedora kernels.  /boot is in its own partition and the Centos kernels
are in the Centos partition on a second drive. A backup of windows 7 on
a usb drive is even found by os-prober. Everything these days seems to
point to uefi systems.

Saved by editing with emacs but distressed.
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Grub.cfg not updating

Samuel Sieb
On 12/5/19 8:02 AM, Robert McBroom via users wrote:
> Updated from Fedora 29 to 31 on a legacy system.  Kernel updates no
> longer update grub.cfg to the new kernel.  Ran grub2-mkconfig -o
> /boot/grub2/grub.cfg which finds Windows and Centos 6 but none of the
> Fedora kernels.  /boot is in its own partition and the Centos kernels
> are in the Centos partition on a second drive. A backup of windows 7 on
> a usb drive is even found by os-prober. Everything these days seems to
> point to uefi systems.

grub has been switched to use BLS.  Check if you have files in
/boot/loader/entries/.
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Grub.cfg not updating

Fedora List mailing list-2
On 12/5/19 2:03 PM, Samuel Sieb wrote:

> On 12/5/19 8:02 AM, Robert McBroom via users wrote:
>> Updated from Fedora 29 to 31 on a legacy system.  Kernel updates no
>> longer update grub.cfg to the new kernel.  Ran grub2-mkconfig -o
>> /boot/grub2/grub.cfg which finds Windows and Centos 6 but none of the
>> Fedora kernels.  /boot is in its own partition and the Centos kernels
>> are in the Centos partition on a second drive. A backup of windows 7
>> on a usb drive is even found by os-prober. Everything these days
>> seems to point to uefi systems.
>
> grub has been switched to use BLS.  Check if you have files in
> /boot/loader/entries/.
> _______________________________________________
> users mailing list -- [hidden email]
> To unsubscribe send an email to [hidden email]
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/users@...

Documentation? On boot the grub entries after my edits were duplicated
apparently from the /boot/loader/entries. Where are the settings for
$kernelopts entered?
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Grub.cfg not updating

Tom Horsley-5
On Thu, 5 Dec 2019 19:16:56 -0500
Robert McBroom via users wrote:

> Where are the settings for
> $kernelopts entered?

They are as hidden as they can make them in the grubenv
file which usually lives for real down in the efi
directories and has a symlink other places.

grub2-editenv can be used to change things
if you can figure out the cryptic argument syntax.
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Grub.cfg not updating

Fedora List mailing list-2
On 12/5/19 7:22 PM, Tom Horsley wrote:

> On Thu, 5 Dec 2019 19:16:56 -0500
> Robert McBroom via users wrote:
>
>> Where are the settings for
>> $kernelopts entered?
> They are as hidden as they can make them in the grubenv
> file which usually lives for real down in the efi
> directories and has a symlink other places.
>
> grub2-editenv can be used to change things
> if you can figure out the cryptic argument syntax.
> _______________________________________________
> users mailing list -- [hidden email]
> To unsubscribe send an email to [hidden email]
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/users@...

Not a uefi system. However found grubenv in the grub2 directory. It is
editable and could add 'vga=791 3' to

$kernelopts

Saw a flash on the console that the use of vga=791 to set the console resolution is being deprecated but the
suggested change was gone before it could be read.
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Grub.cfg not updating

Samuel Sieb
On 12/5/19 10:31 PM, Robert McBroom via users wrote:

> On 12/5/19 7:22 PM, Tom Horsley wrote:
>> On Thu, 5 Dec 2019 19:16:56 -0500
>> Robert McBroom via users wrote:
>>
>>> Where are the settings for
>>> $kernelopts entered?
>> They are as hidden as they can make them in the grubenv
>> file which usually lives for real down in the efi
>> directories and has a symlink other places.
>>
>> grub2-editenv can be used to change things
>> if you can figure out the cryptic argument syntax.
>
> Not a uefi system. However found grubenv in the grub2 directory. It is
> editable and could add 'vga=791 3' to

You shouldn't edit it like that.  There's a reason there's a specific
command to make changes to it.  grub can be very particular about what's
in the file and what size it is.
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Grub.cfg not updating

Anthony F McInerney
In reply to this post by Samuel Sieb


On Thu, 5 Dec 2019 at 19:04, Samuel Sieb <[hidden email]> wrote:
On 12/5/19 8:02 AM, Robert McBroom via users wrote:
> Updated from Fedora 29 to 31 on a legacy system.  Kernel updates no
> longer update grub.cfg to the new kernel.  Ran grub2-mkconfig -o
> /boot/grub2/grub.cfg which finds Windows and Centos 6 but none of the
> Fedora kernels.  /boot is in its own partition and the Centos kernels
> are in the Centos partition on a second drive. A backup of windows 7 on
> a usb drive is even found by os-prober. Everything these days seems to
> point to uefi systems.

grub has been switched to use BLS.  Check if you have files in
/boot/loader/entries/.

That's interesting. First i've heard of BLS. 
It would seem that runs into a known issue
And the way tl;dr is "on BIOS systems you have to run 'grub2-install /dev/sdX'


_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
ja
Reply | Threaded
Open this post in threaded view
|

Re: Grub.cfg not updating

ja
On Fri, 2019-12-06 at 07:06 +0000, Anthony F McInerney wrote:

>
>
> On Thu, 5 Dec 2019 at 19:04, Samuel Sieb <[hidden email]> wrote:
> > On 12/5/19 8:02 AM, Robert McBroom via users wrote:
> > > Updated from Fedora 29 to 31 on a legacy system.  Kernel updates no
> > > longer update grub.cfg to the new kernel.  Ran grub2-mkconfig -o
> > > /boot/grub2/grub.cfg which finds Windows and Centos 6 but none of the
> > > Fedora kernels.  /boot is in its own partition and the Centos kernels
> > > are in the Centos partition on a second drive. A backup of windows 7 on
> > > a usb drive is even found by os-prober. Everything these days seems to
> > > point to uefi systems.
> >
> > grub has been switched to use BLS.  Check if you have files in
> > /boot/loader/entries/.
> >
>
> That's interesting. First i've heard of BLS.
> It would seem that runs into a known issue
> https://bugzilla.redhat.com/show_bug.cgi?id=1652806
> And the way tl;dr is "on BIOS systems you have to run 'grub2-install /dev/sdX'
>
>
I had problems with os-prober not finding fedora installations
and have a script that "may" be useful.
Very little checking has been included - ie "is it being run as root"
Hopefully the comments explain what it does!
It can be used on any partition that has a fedora "root" installation,
including the currently booted / device.
AFAIK it can do no damage as it only copies files and creates directories
and files that did not exist before.

It helped me learn about BLS


_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...

part_scan.sh (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Grub.cfg not updating

sixpack13
In reply to this post by Fedora List mailing list-2
On 06.12.19 07:31, Robert McBroom via users wrote:
...

>
> Not a uefi system. However found grubenv in the grub2 directory. It is
> editable and could add 'vga=791 3' to
>
> $kernelopts
>
> Saw a flash on the console that the use of vga=791 to set the console
> resolution is being deprecated but the
> suggested change was gone before it could be read.
>

AFAIK, kernel parameter should go into /etc/default/grub
the line starts with "GRUB_CMDLINE_LINUX"

and a sequencing run of

[ -d /sys/firmware/efi/efivars ] && sudo grub2-mkconfig -o
/boot/efi/EFI/fedora/grub.cfg || sudo grub2-mkconfig -o /boot/grub2/grub.cfg

- this is *ONE* line. For the case that the email transmission breaks it -

is needed.


--
sixpack13
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Grub.cfg not updating

Fedora List mailing list-2
In reply to this post by Samuel Sieb
On 12/6/19 1:45 AM, Samuel Sieb wrote:

> On 12/5/19 10:31 PM, Robert McBroom via users wrote:
>> On 12/5/19 7:22 PM, Tom Horsley wrote:
>>> On Thu, 5 Dec 2019 19:16:56 -0500
>>> Robert McBroom via users wrote:
>>>
>>>> Where are the settings for
>>>> $kernelopts entered?
>>> They are as hidden as they can make them in the grubenv
>>> file which usually lives for real down in the efi
>>> directories and has a symlink other places.
>>>
>>> grub2-editenv can be used to change things
>>> if you can figure out the cryptic argument syntax.
>>
>> Not a uefi system. However found grubenv in the grub2 directory. It
>> is editable and could add 'vga=791 3' to
>
> You shouldn't edit it like that.  There's a reason there's a specific
> command to make changes to it.  grub can be very particular about
> what's in the file and what size it is.
> _______________________________________________
grub2-editenv is totally opaque
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Grub.cfg not updating

Fedora List mailing list-2
In reply to this post by Anthony F McInerney
On 12/6/19 2:06 AM, Anthony F McInerney wrote:


On Thu, 5 Dec 2019 at 19:04, Samuel Sieb <[hidden email]> wrote:
On 12/5/19 8:02 AM, Robert McBroom via users wrote:
> Updated from Fedora 29 to 31 on a legacy system.  Kernel updates no
> longer update grub.cfg to the new kernel.  Ran grub2-mkconfig -o
> /boot/grub2/grub.cfg which finds Windows and Centos 6 but none of the
> Fedora kernels.  /boot is in its own partition and the Centos kernels
> are in the Centos partition on a second drive. A backup of windows 7 on
> a usb drive is even found by os-prober. Everything these days seems to
> point to uefi systems.

grub has been switched to use BLS.  Check if you have files in
/boot/loader/entries/.

That's interesting. First i've heard of BLS. 
It would seem that runs into a known issue
And the way tl;dr is "on BIOS systems you have to run 'grub2-install /dev/sdX'
Not installing grub, getting grub to recognize system entries.

_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Grub.cfg not updating

Samuel Sieb
On 12/6/19 1:52 PM, Robert McBroom via users wrote:

> On 12/6/19 2:06 AM, Anthony F McInerney wrote:
>>
>>
>> On Thu, 5 Dec 2019 at 19:04, Samuel Sieb <[hidden email]
>> <mailto:[hidden email]>> wrote:
>>
>>     On 12/5/19 8:02 AM, Robert McBroom via users wrote:
>>     > Updated from Fedora 29 to 31 on a legacy system. Kernel updates no
>>     > longer update grub.cfg to the new kernel.  Ran grub2-mkconfig -o
>>     > /boot/grub2/grub.cfg which finds Windows and Centos 6 but none
>>     of the
>>     > Fedora kernels.  /boot is in its own partition and the Centos
>>     kernels
>>     > are in the Centos partition on a second drive. A backup of
>>     windows 7 on
>>     > a usb drive is even found by os-prober. Everything these days
>>     seems to
>>     > point to uefi systems.
>>
>>     grub has been switched to use BLS.  Check if you have files in
>>     /boot/loader/entries/.
>>
>> That's interesting. First i've heard of BLS.
>> It would seem that runs into a known issue
>> https://bugzilla.redhat.com/show_bug.cgi?id=1652806
>> And the way tl;dr is "on BIOS systems you have to run 'grub2-install
>> /dev/sdX'
> Not installing grub, getting grub to recognize system entries.

If this is an old install, you might need to update the bootloader bits
that are stored in the mbr.  It might too old to support BLS.  That's
why if it's not an EFI system, you should run grub2-install to make sure
it's up to date.
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Grub.cfg not updating

Fedora List mailing list-2
On 12/6/19 5:41 PM, Samuel Sieb wrote:

> On 12/6/19 1:52 PM, Robert McBroom via users wrote:
>> On 12/6/19 2:06 AM, Anthony F McInerney wrote:
>>>
>>>
>>> On Thu, 5 Dec 2019 at 19:04, Samuel Sieb <[hidden email]
>>> <mailto:[hidden email]>> wrote:
>>>
>>>     On 12/5/19 8:02 AM, Robert McBroom via users wrote:
>>>     > Updated from Fedora 29 to 31 on a legacy system. Kernel
>>> updates no
>>>     > longer update grub.cfg to the new kernel.  Ran grub2-mkconfig -o
>>>     > /boot/grub2/grub.cfg which finds Windows and Centos 6 but none
>>>     of the
>>>     > Fedora kernels.  /boot is in its own partition and the Centos
>>>     kernels
>>>     > are in the Centos partition on a second drive. A backup of
>>>     windows 7 on
>>>     > a usb drive is even found by os-prober. Everything these days
>>>     seems to
>>>     > point to uefi systems.
>>>
>>>     grub has been switched to use BLS.  Check if you have files in
>>>     /boot/loader/entries/.
>>>
>>> That's interesting. First i've heard of BLS.
>>> It would seem that runs into a known issue
>>> https://bugzilla.redhat.com/show_bug.cgi?id=1652806
>>> And the way tl;dr is "on BIOS systems you have to run 'grub2-install
>>> /dev/sdX'
>> Not installing grub, getting grub to recognize system entries.
>
> If this is an old install, you might need to update the bootloader
> bits that are stored in the mbr.  It might too old to support BLS. 
> That's why if it's not an EFI system, you should run grub2-install to
> make sure it's up to date.
>
Updated with the update to f31.
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Grub.cfg not updating

Stephen Morris
On 7/12/19 10:22, Robert McBroom via users wrote:

> On 12/6/19 5:41 PM, Samuel Sieb wrote:
>> On 12/6/19 1:52 PM, Robert McBroom via users wrote:
>>> On 12/6/19 2:06 AM, Anthony F McInerney wrote:
>>>>
>>>>
>>>> On Thu, 5 Dec 2019 at 19:04, Samuel Sieb <[hidden email]
>>>> <mailto:[hidden email]>> wrote:
>>>>
>>>>     On 12/5/19 8:02 AM, Robert McBroom via users wrote:
>>>>     > Updated from Fedora 29 to 31 on a legacy system. Kernel
>>>> updates no
>>>>     > longer update grub.cfg to the new kernel.  Ran grub2-mkconfig -o
>>>>     > /boot/grub2/grub.cfg which finds Windows and Centos 6 but none
>>>>     of the
>>>>     > Fedora kernels.  /boot is in its own partition and the Centos
>>>>     kernels
>>>>     > are in the Centos partition on a second drive. A backup of
>>>>     windows 7 on
>>>>     > a usb drive is even found by os-prober. Everything these days
>>>>     seems to
>>>>     > point to uefi systems.
>>>>
>>>>     grub has been switched to use BLS.  Check if you have files in
>>>>     /boot/loader/entries/.
>>>>
>>>> That's interesting. First i've heard of BLS.
>>>> It would seem that runs into a known issue
>>>> https://bugzilla.redhat.com/show_bug.cgi?id=1652806
>>>> And the way tl;dr is "on BIOS systems you have to run
>>>> 'grub2-install /dev/sdX'
>>> Not installing grub, getting grub to recognize system entries.
>>
>> If this is an old install, you might need to update the bootloader
>> bits that are stored in the mbr.  It might too old to support BLS. 
>> That's why if it's not an EFI system, you should run grub2-install to
>> make sure it's up to date.
>>
> Updated with the update to f31.
I'm running F30 in a VM, so in my case even though the motherboard I
have is uefi, fedora is ignoring it and running in legacy mode.
Consequently, because I don't like the BLS results, I run grub2-mkconfig
-o /boot/grub2/grub.cfg to build the cfg file (this command finds all
the fedora kernels quite happily), following by grub2-install /dev/sda
to get the grub boot sequence into the mbr
Because I don't like the BLS results, they look like the results from
grubby which I also hated, I have the following statement in
/etc/default/grub to disable BLS:

GRUB_ENABLE_BLSCFG=false

regards,
Steve

> _______________________________________________
> users mailing list -- [hidden email]
> To unsubscribe send an email to [hidden email]
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/users@...
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Grub.cfg not updating

Fedora List mailing list-2
On 12/6/19 10:03 PM, Stephen Morris wrote:

> On 7/12/19 10:22, Robert McBroom via users wrote:
>> On 12/6/19 5:41 PM, Samuel Sieb wrote:
>>> On 12/6/19 1:52 PM, Robert McBroom via users wrote:
>>>> On 12/6/19 2:06 AM, Anthony F McInerney wrote:
>>>>>
>>>>>
>>>>> On Thu, 5 Dec 2019 at 19:04, Samuel Sieb <[hidden email]
>>>>> <mailto:[hidden email]>> wrote:
>>>>>
>>>>>     On 12/5/19 8:02 AM, Robert McBroom via users wrote:
>>>>>     > Updated from Fedora 29 to 31 on a legacy system. Kernel
>>>>> updates no
>>>>>     > longer update grub.cfg to the new kernel.  Ran
>>>>> grub2-mkconfig -o
>>>>>     > /boot/grub2/grub.cfg which finds Windows and Centos 6 but none
>>>>>     of the
>>>>>     > Fedora kernels.  /boot is in its own partition and the Centos
>>>>>     kernels
>>>>>     > are in the Centos partition on a second drive. A backup of
>>>>>     windows 7 on
>>>>>     > a usb drive is even found by os-prober. Everything these days
>>>>>     seems to
>>>>>     > point to uefi systems.
>>>>>
>>>>>     grub has been switched to use BLS.  Check if you have files in
>>>>>     /boot/loader/entries/.
>>>>>
>>>>> That's interesting. First i've heard of BLS.
>>>>> It would seem that runs into a known issue
>>>>> https://bugzilla.redhat.com/show_bug.cgi?id=1652806
>>>>> And the way tl;dr is "on BIOS systems you have to run
>>>>> 'grub2-install /dev/sdX'
>>>> Not installing grub, getting grub to recognize system entries.
>>>
>>> If this is an old install, you might need to update the bootloader
>>> bits that are stored in the mbr.  It might too old to support BLS. 
>>> That's why if it's not an EFI system, you should run grub2-install
>>> to make sure it's up to date.
>>>
>> Updated with the update to f31.
> I'm running F30 in a VM, so in my case even though the motherboard I
> have is uefi, fedora is ignoring it and running in legacy mode.
> Consequently, because I don't like the BLS results, I run
> grub2-mkconfig -o /boot/grub2/grub.cfg to build the cfg file (this
> command finds all the fedora kernels quite happily), following by
> grub2-install /dev/sda to get the grub boot sequence into the mbr
> Because I don't like the BLS results, they look like the results from
> grubby which I also hated, I have the following statement in
> /etc/default/grub to disable BLS:
>
> GRUB_ENABLE_BLSCFG=false
>
> regards,
> Steve

Thanks Steve.

Not knowing about BLS, The variable in /etc/default/grub was left
alone.  Changing it the expected behavior returns. Do you find that the
grub install should be run after configuration?
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Grub.cfg not updating

Samuel Sieb
In reply to this post by Fedora List mailing list-2
On 12/6/19 3:22 PM, Robert McBroom via users wrote:
> On 12/6/19 5:41 PM, Samuel Sieb wrote:
>> If this is an old install, you might need to update the bootloader
>> bits that are stored in the mbr.  It might too old to support BLS.
>> That's why if it's not an EFI system, you should run grub2-install to
>> make sure it's up to date.
>>
> Updated with the update to f31.

It's possible, but I don't think that updating the package updates the
parts embedded on the hard drive.  There should be some way to check the
version from the boot menu to see if the version there matches the
installed version.
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: Grub.cfg not updating

Stephen Morris
In reply to this post by Fedora List mailing list-2
On 7/12/19 17:11, Robert McBroom via users wrote:

> On 12/6/19 10:03 PM, Stephen Morris wrote:
>> On 7/12/19 10:22, Robert McBroom via users wrote:
>>> On 12/6/19 5:41 PM, Samuel Sieb wrote:
>>>> On 12/6/19 1:52 PM, Robert McBroom via users wrote:
>>>>> On 12/6/19 2:06 AM, Anthony F McInerney wrote:
>>>>>>
>>>>>>
>>>>>> On Thu, 5 Dec 2019 at 19:04, Samuel Sieb <[hidden email]
>>>>>> <mailto:[hidden email]>> wrote:
>>>>>>
>>>>>>     On 12/5/19 8:02 AM, Robert McBroom via users wrote:
>>>>>>     > Updated from Fedora 29 to 31 on a legacy system. Kernel
>>>>>> updates no
>>>>>>     > longer update grub.cfg to the new kernel.  Ran
>>>>>> grub2-mkconfig -o
>>>>>>     > /boot/grub2/grub.cfg which finds Windows and Centos 6 but none
>>>>>>     of the
>>>>>>     > Fedora kernels.  /boot is in its own partition and the Centos
>>>>>>     kernels
>>>>>>     > are in the Centos partition on a second drive. A backup of
>>>>>>     windows 7 on
>>>>>>     > a usb drive is even found by os-prober. Everything these days
>>>>>>     seems to
>>>>>>     > point to uefi systems.
>>>>>>
>>>>>>     grub has been switched to use BLS.  Check if you have files in
>>>>>>     /boot/loader/entries/.
>>>>>>
>>>>>> That's interesting. First i've heard of BLS.
>>>>>> It would seem that runs into a known issue
>>>>>> https://bugzilla.redhat.com/show_bug.cgi?id=1652806
>>>>>> And the way tl;dr is "on BIOS systems you have to run
>>>>>> 'grub2-install /dev/sdX'
>>>>> Not installing grub, getting grub to recognize system entries.
>>>>
>>>> If this is an old install, you might need to update the bootloader
>>>> bits that are stored in the mbr.  It might too old to support BLS. 
>>>> That's why if it's not an EFI system, you should run grub2-install
>>>> to make sure it's up to date.
>>>>
>>> Updated with the update to f31.
>> I'm running F30 in a VM, so in my case even though the motherboard I
>> have is uefi, fedora is ignoring it and running in legacy mode.
>> Consequently, because I don't like the BLS results, I run
>> grub2-mkconfig -o /boot/grub2/grub.cfg to build the cfg file (this
>> command finds all the fedora kernels quite happily), following by
>> grub2-install /dev/sda to get the grub boot sequence into the mbr
>> Because I don't like the BLS results, they look like the results from
>> grubby which I also hated, I have the following statement in
>> /etc/default/grub to disable BLS:
>>
>> GRUB_ENABLE_BLSCFG=false
>>
>> regards,
>> Steve
>
> Thanks Steve.
>
> Not knowing about BLS, The variable in /etc/default/grub was left
> alone.  Changing it the expected behavior returns. Do you find that
> the grub install should be run after configuration?
Yes, grub2-mkconfig -o /boot/grub2/grub.cfg writes all the detected
information about the installed kernels and any other detected operating
systems to the specified config file but does not write any information
to the mbr for the legacy boot process to display the grub menu at
startup. As I understand it the install process in not required if
booting in uefi mode.
I'm going to have to do some more changes to /etc/default/grub as the
grub menu appears to be hidden at startup and I'll need to check whether
the timeout is still set to 999.

regards,
Steve
> _______________________________________________
> users mailing list -- [hidden email]
> To unsubscribe send an email to [hidden email]
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/users@...
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...