On 6/15/19 2:23 PM, François Patte wrote:
Everything was ok untill grubby replaced grub2-mkconfig: when there is a kernel update, grubby uses the disabled sda3-sda4 partitions as the / parttion in the /boot/grub2/grub.cfg file.
grubby has never replaced grub2-mkconfig. They are independent. grub2-mkconfig is never run, except maybe on the initial install. Upgrades up to F30 have always used grubby.
I have now destroyed these partitions but grubby still uses them and writes a faulty /boot/grub2/grub.cfg file. Where does it find that these partitions still exist?
grubby only copies the information from the previous kernel in the grub.cfg file.
I can't upgrade my system now because I fear that the boot config file will refer to a partition wich no longer exists on my system.
You don't mention which Fedora version you are using. Starting with F30, grub uses BLS by default and grubby is no longer used. A system-upgrade will convert the installed system to use BLS. I don't know if it converts the existing grub.cfg or if it creates all new entries.
_______________________________________________ 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