Grub not Generating Certain Menu Entries Properly

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

 



HI,
    Below is the output produced by Grubby and grub2-mkconfig that shows it is not correctly generating the entry for Ubuntu. Unlike the entry for Windows the process has not generated the Ubuntu entry to boot via the UEFI partition it seems to be booting directly off the hard disk, which actually boots Ubuntu fine, how I don't know as Ubuntu is installed via UEFI. It wasn't until I upgraded the version of Ubuntu and my motherboard switched from booting into the Fedora grub menus to booting into the Ubuntu grub menus, it because apparent that the relevant component of grub was not doing things correctly, as booting from the Ubuntu generated Fedora entry did not boot Fedora but produced SHIM failure errors. Am I mis-reading these processes?

>>> Running post-transaction scriptlet: kernel-core-0:6.11.10-300.fc41.x86_641.x86_64
>>> Finished post-transaction scriptlet: kernel-core-0:6.11.10-300.fc41.x86_64
>>> Scriptlet output:
>>> Generating grub configuration file ...
>>> Found linux image: /boot/vmlinuz-6.11.10-300.fc41.x86_64
>>> Found linux image: /boot/vmlinuz-6.11.8-300.fc41.x86_64
>>> Found initrd image: /boot/initramfs-6.11.8-300.fc41.x86_64.img
>>> Found linux image: /boot/vmlinuz-6.11.7-300.fc41.x86_64
>>> Found initrd image: /boot/initramfs-6.11.7-300.fc41.x86_64.img
>>> Found Windows Boot Manager on /dev/sdc2@/EFI/Microsoft/Boot/bootmgfw.efi
>>> Found Ubuntu 24.04.1 LTS (24.04) on /dev/sde1
>>> Adding boot menu entry for UEFI Firmware Settings ...
>>> done
>>>  
Complete!ng trigger-post-uninstall scriptlet: systemd-0:256.8-1.fc41.x86_64c41.x86_64h
steve@fedora:~$ sudo grub2-mkconfig -o /boot/grub2/grub.cfg
[sudo] password for steve:  
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.11.10-300.fc41.x86_64
Found initrd image: /boot/initramfs-6.11.10-300.fc41.x86_64.img
Found linux image: /boot/vmlinuz-6.11.8-300.fc41.x86_64
Found initrd image: /boot/initramfs-6.11.8-300.fc41.x86_64.img
Found linux image: /boot/vmlinuz-6.11.7-300.fc41.x86_64
Found initrd image: /boot/initramfs-6.11.7-300.fc41.x86_64.img
Found Windows Boot Manager on /dev/sdc2@/EFI/Microsoft/Boot/bootmgfw.efi
Found Ubuntu 24.04.1 LTS (24.04) on /dev/sde1
Adding boot menu entry for UEFI Firmware Settings ...
done

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sdc2)' --class windows --class os $menuentry_id_option 'osprober-efi-8D36-9D75' {
       insmod part_gpt
       insmod fat
       set root='hd2,gpt2'
       if [ x$feature_platform_search_hint = xy ]; then
         search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt2 --hint-efi=hd2,gpt2 --hint-baremetal=ahci2,gpt2  8D36-9D75
       else
         search --no-floppy --fs-uuid --set=root 8D36-9D75
       fi
       chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
menuentry 'Ubuntu 24.04.1 LTS (24.04) (on /dev/sde1)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-be8eb9ac-31b9-4493-b6e0-4a69f
119fcd6' {
       insmod part_gpt
       insmod ext2
       set root='hd2,gpt7'
       if [ x$feature_platform_search_hint = xy ]; then
         search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt7 --hint-efi=hd2,gpt7 --hint-baremetal=ahci2,gpt7  c88248f9-3684-4701-b684-d6e99139c13c
       else
         search --no-floppy --fs-uuid --set=root c88248f9-3684-4701-b684-d6e99139c13c
       fi
       linux /vmlinuz-6.8.0-45-generic root=UUID=be8eb9ac-31b9-4493-b6e0-4a69f119fcd6 ro quiet splash $vt_handoff
       initrd /initrd.img-6.8.0-45-generic
}


regards,
Steve

Attachment: OpenPGP_0x1EBE7C07B0F7242C.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

-- 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[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