Description of problem: cat /proc/cmdline BOOT_IMAGE=(hd0,msdos1)/828e3dda913c46b59a25bf22fca6541b/5.1.6-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,msdos1)/828e3dda913c46b59a25bf22fca6541b/5.1.5-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,msdos1)/828e3dda913c46b59a25bf22fca6541b/5.1.4-301.fc30.x86_64/linux BOOT_IMAGE=(hd0,msdos1)/828e3dda913c46b59a25bf22fca6541b/5.1.4-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,msdos1)/828e3dda913c46b59a25bf22fca6541b/5.1.3-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,msdos1)/828e3dda913c46b59a25bf22fca6541b/5.1.2-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,msdos1)/828e3dda913c46b59a25bf22fca6541b/5.1.1-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,msdos1)/828e3dda913c46b59a25bf22fca6541b/5.1.0-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,msdos1)/828e3dda913c46b59a25bf22fca6541b/5.0.13-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,msdos1)/828e3dda913c46b59a25bf22fca6541b/5.0.12-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,msdos1)/828e3dda913c46b59a25bf22fca6541b/5.0.11-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,msdos1)/828e3dda913c46b59a25bf22fca6541b/5.0.10-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,msdos1)/828e3dda913c46b59a25bf22fca6541b/5.0.9-301.fc30.x86_64/linux BOOT_IMAGE=(hd0,msdos1)/828e3dda913c46b59a25bf22fca6541b/5.0.9-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,msdos1)/828e3dda913c46b59a25bf22fca6541b/5.0.8-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,msdos1)/828e3dda913c46b59a25bf22fca6541b/5.0.7-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,msdos1)/828e3dda913c46b59a25bf22fca6541b/5.0.6-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,msdos1)/828e3dda913c46b59a25bf22fca6541b/5.0.5-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,msdos1)/vmlinuz-5.0.0-300.fc30.x86_64 root=UUID=2b095fa7-c74f-4cd4-b731-06b36ea1b266 ro rd.lvm.lv=vg_deer/LogVol00 rd.md=0 rd.dm=0 rd.luks=0 vconsole.keymap=us rhgb quiet LANG=en_US.UTF-8 zswap.zpool=zsmalloc zswap.enabled=1 elevator=deadline acpi_enforce_resources=lax resume=UUID=1d73d41b-a0ed-408f-8b46-66230defe7ba Version-Release number of selected component (if applicable): rpm -qa grub2\* grubby\* | sort grub2-common-2.02-81.fc30.noarch grub2-pc-2.02-81.fc30.x86_64 grub2-pc-modules-2.02-81.fc30.noarch grub2-starfield-theme-2.02-0.42.fc26.x86_64 grub2-tools-2.02-81.fc30.x86_64 grub2-tools-efi-2.02-81.fc30.x86_64 grub2-tools-extra-2.02-81.fc30.x86_64 grub2-tools-minimal-2.02-81.fc30.x86_64 grubby-8.40-30.fc30.x86_64 How reproducible: Steps to Reproduce: Actual results: Expected results: Additional info:
Could you please share the content of your /boot/grub2/grubenv, /etc/grub2.cfg and BLS files in /boot/loader/entries ?
Created attachment 1601594 [details] some text file Why missing actual kernel version number in grub menu?
(In reply to rvcsaba from comment #2) > Created attachment 1601594 [details] > some text file > > Why missing actual kernel version number in grub menu? It seems the BLS snippet you have is not the one generated by /usr/lib/kernel/install.d/20-grub.install but instead by /usr/lib/kernel/install.d/90-loaderentry.install. The later generates BLS snippets that are meant to be used by systemd-boot and not grub2. Do you have sd-boot installed? Also do you have a /boot/efi/828e3dda913c46b59a25bf22fca6541b directory?
(In reply to Javier Martinez Canillas from comment #3) > Do you have sd-boot installed? Is this an exact package name? I not found it in repo. But: rpm -qf /usr/lib/kernel/install.d/20-grub.install grub2-common-2.02-81.fc30.noarch rpm -qf /usr/lib/kernel/install.d/20-grubby.install systemd-udev-241-10.git511646b.fc30.x86_64 rpm -qf /usr/lib/kernel/install.d/90-loaderentry.install systemd-udev-241-10.git511646b.fc30.x86_64 > Also do you have a /boot/efi/828e3dda913c46b59a25bf22fca6541b directory? No. pwd /boot tree efi/ efi/ └── EFI ├── BOOT └── fedora 3 directories, 0 files What can I do?
Same problem here. Is there a fix ? No kernel version are shown in grub menu. And BOOT_IMAGE is wrong, containing all the kernel installed: cat /proc/cmdline BOOT_IMAGE=(hd0,gpt5)/5a68123777134e458e146023b9704f82/5.2.9-200.fc30.x86_64/linux BOOT_IMAGE=(hd0,gpt5)/5a68123777134e458e146023b9704f82/5.2.8-200.fc30.x86_64/linux BOOT_IMAGE=(hd0,gpt5)/5a68123777134e458e146023b9704f82/5.2.7-200.fc30.x86_64/linux BOOT_IMAGE=(hd0,gpt5)/5a68123777134e458e146023b9704f82/5.2.6-200.fc30.x86_64/linux BOOT_IMAGE=(hd0,gpt5)/5a68123777134e458e146023b9704f82/5.2.5-200.fc30.x86_64/linux BOOT_IMAGE=(hd0,gpt5)/5a68123777134e458e146023b9704f82/5.1.20-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,gpt5)/5a68123777134e458e146023b9704f82/5.1.19-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,gpt5)/5a68123777134e458e146023b9704f82/5.1.18-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,gpt5)/5a68123777134e458e146023b9704f82/5.1.17-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,gpt5)/5a68123777134e458e146023b9704f82/5.1.16-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,gpt5)/5a68123777134e458e146023b9704f82/5.1.15-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,gpt5)/5a68123777134e458e146023b9704f82/5.1.12-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,gpt5)/5a68123777134e458e146023b9704f82/5.1.11-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,gpt5)/5a68123777134e458e146023b9704f82/5.1.8-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,gpt5)/5a68123777134e458e146023b9704f82/5.1.7-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,gpt5)/5a68123777134e458e146023b9704f82/5.1.6-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,gpt5)/5a68123777134e458e146023b9704f82/5.1.5-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,gpt5)/5a68123777134e458e146023b9704f82/5.1.4-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,gpt5)/5a68123777134e458e146023b9704f82/5.0.17-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,gpt5)/5a68123777134e458e146023b9704f82/5.0.16-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,gpt5)/5a68123777134e458e146023b9704f82/5.0.14-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,gpt5)/5a68123777134e458e146023b9704f82/5.0.13-300.fc30.x86_64/linux BOOT_IMAGE=(hd0,gpt5)/5a68123777134e458e146023b9704f82/5.0.11-300.fc30.x86_64/linux BOOT_IMAGE=/vmlinuz-5.0.10-300.fc30.x86_64 root=/dev/mapper/taran-root ro resume=/dev/mapper/taran-swap rd.lvm.lv=taran/root I don't have a /boot/efi/MACHINE_ID but I do have a /boot/MACHINE_ID tree /boot/5a68123777134e458e146023b9704f82/ /boot/5a68123777134e458e146023b9704f82/ ├── 0-rescue │ ├── initrd │ └── linux ├── 5.2.6-200.fc30.x86_64 │ ├── initrd │ └── linux ├── 5.2.7-200.fc30.x86_64 │ ├── initrd │ └── linux ├── 5.2.8-200.fc30.x86_64 │ ├── initrd │ └── linux └── 5.2.9-200.fc30.x86_64 ├── initrd └── linux 5 directories, 10 files
/usr/lib/kernel/install.d/90-loaderentry.install file is correct (systemd-udev-243.4-1.fc31.x86_64)? From line 48: if [[ -f /etc/kernel/cmdline ]]; then read -r -d '' -a BOOT_OPTIONS < /etc/kernel/cmdline elif [[ -f /usr/lib/kernel/cmdline ]]; then read -r -d '' -a BOOT_OPTIONS < /usr/lib/kernel/cmdline else declare -a BOOT_OPTIONS read -r -d '' -a line < /proc/cmdline for i in "${line[@]}"; do [[ "${i#initrd=*}" != "$i" ]] && continue BOOT_OPTIONS+=("$i") done fi /etc/kernel/cmdline and /usr/lib/kernel/cmdline missing. BOOT_OPTIONS generated from actually kernel parameters, including BOOT_IMAGE=.../5.3.14-300.fc31.x86_64/linux. Why not drop BOOT_IMAGE= parameter, or changed a value to new directory name (new kernel release name)?
https://github.com/systemd/systemd/pull/14950
FEDORA-2020-645de57f2e has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-645de57f2e
systemd-245.2-1.fc32 has been pushed to the Fedora 32 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-645de57f2e
FEDORA-2020-645de57f2e has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2020-287a343a35 has been pushed to the Fedora 31 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-287a343a35` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-287a343a35 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2020-287a343a35 has been pushed to the Fedora 31 stable repository. If problem still persists, please make note of it in this bug report.