Re: F30 Grub2-mkconfig and Grub2-install not Working Correctly?

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

 



On Thu, May 23, 2019 at 11:12 AM Stephen Morris
<samorris@xxxxxxxxxxxxxxx> wrote:
> On 23/5/19 3:49 pm, Tom H wrote:
>> On Thu, May 23, 2019 at 12:55 AM Stephen Morris
>> <samorris@xxxxxxxxxxxxxxx> wrote:
>>>
>>> I have upgraded from F29 to F30 via the recommenced dnf method. I
>>> have Fedora running in a vm under vmware player. Grub2-mkconfig
>>> and grub2-install no longer seem to generate the grub menu as
>>> they did under F29, the menu seems to be that generated by grubby
>>> (it could be that turning off the suppression of sub-menu
>>> creation is now being ignored). Looking at /boot/grub2/grub.cfg I
>>> cannot see any references in there to kernels, so I have attached
>>> the file for reference. Am I missing something or is the
>>> functionality now different, /boot/grub2/grub.cfg is where I have
>>> always written the grub.cfg via this process?
>>
>> You have
>>
>> insmod blscfg
>> blscfg
>>
>> on lines 128-129.
>>
>> So grub's setting up a generic BLS grub.cfg and you should have
>> your kernel specifications in "/boot/loader/entries/*.conf".
>>
>> Does "/boot/grub2/i386-pc/blscfg.mod" exist on your system?
>>
>> IIRC, the common bugs page recommends "configfile
>> /boot/grub2/grub.cfg.rpmsave" or "configfile
>> //grub2/grub.cfg.rpmsave"
>> (depending on whether "/boot" is a separate filesystem) at the
>> grub prompt to use the previous grub.cfg.
>
> Is it documented anywhere how to switch the system back to using,
> in my case, /boot/grub2/grub.cfg to provide the kernel menu
> structure via grub2-mkconfig and grub2-install as it was in
> previous versions of Fedora?

I haven't tried it but setting "GRUB_ENABLE_BLSCFG=false"
"/etc/default/grub" _should_ (given the variable's name) allow
"grub2-mkconfig" give you an upstream-style "grub.cfg".
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[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