Description of problem: I upgrade the system including installing a new kernel. dracut is run on the new kernel, and I consistantly get the error message Format of /boot/initrd-5.15.35-desktop-2.mga8.img not recognized (where the kernel version changes from one time to the next. ) Everything seems to proceed as usual, and dracut seems to create a new initrd for the kernels. This error message is worrying, but does not seem to mean anything, or am I being lulled into indifference? This has been going on for a number of years now. If it is an inconsequential error message, perhaps it should not be generated.
Thank you for this report. Only tmb can comment on it, so assigning appropriately.
Summary: keep getting message: Format of /boot/initrd-5.15.35-desktop-2.mga8.img not recognized when installing new kernel => keep getting message: Format of /boot/initrd-x.y.z-desktop-n.mga8.img not recognized when installing new kernelAssignee: bugsquad => kernel
New bug 30355 is grossly similar, with the suggestion that this could be a Grub2 issue. The two bugs might be duplicates. Bill, can you confirm whether you use Grub2?
CC: (none) => lewyssmith
it's the bootsplash script that complains... I guess we could atleast silence it
Source RPM: kernel xxx => bootsplash
Yes, I do use grub2. grub2-2.06-1.1.mga8 It has been this way for a while now. I do not remember exactly when as I usually simply ignored it, and it did not seem to do anything bad, but on the latest update I finally decided it was worth reporting it. Must have been something in the global air for the two of us to report within 4 hrs of each other!
CC: (none) => boulshet
Also as I recall I have gotten this on a number of different machines, so it would seem to be a generic software problem. Next time I update the kernel I will try to grab the message itself.
Here is the message on one machine I just installed. Creating: target|kernel|dracut args|basicmodules /etc/dracut.conf.d/51-mageia-resume.conf:add_device+="/dev/nvme0n1p5" remove-boot-splash: Format of /boot/initrd-5.15.35-desktop-2.mga8.img not recognized Also another message /etc/dracut.conf.d/51-mageia-resume.conf:add_device+="/dev/nvme0n1p5" dracut: WARNING: <key>+=" <values> ": <values> should have surrounding white spaces! dracut: WARNING: This will lead to unwanted side effects! Please fix the configuration file. Maybe this is the problem in /etc/dracut.conf.d/51-mageia-resume.conf I assume this file is automatically generated, and whatever is generating it is buggy. (I do not have any idea what the "unwanted side effects" are ) But this does seem to be a valid "Format unrecognized" type of error
on my side, i do have spaces $ cat /etc/dracut.conf.d/51-mageia-resume.conf add_device+=" UUID=854bbb02-4a9a-4076-9bb1-abbd69817e34 "
The only place I find it is >grep -r 51-mageia-resume.conf /lib* /lib/libDrakX/any.pm: output("$::prefix/etc/dracut.conf.d/51-mageia-resume.conf", qq(add_device+=" $biggest_swap_dev "\n)); but the whitespace seems to be there, unless perl stips it out.
It was probably introduced in your config file before drakxtools-backend was fixed in 18.40-1.mga8 (january 2021) https://bugs.mageia.org/show_bug.cgi?id=28055
Duplicate *** This bug has been marked as a duplicate of bug 19049 ***
Status: NEW => RESOLVEDResolution: (none) => DUPLICATECC: (none) => marja11