| Summary: | keep getting message: Format of /boot/initrd-x.y.z-desktop-n.mga8.img not recognized when installing new kernel | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | w unruh <unruh> |
| Component: | RPM Packages | Assignee: | Kernel and Drivers maintainers <kernel> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | boulshet, lewyssmith, marja11 |
| Version: | 8 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | bootsplash | CVE: | |
| Status comment: | |||
|
Description
w unruh
2022-04-30 06:23:05 CEST
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 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!
GG HH
2022-04-30 21:03:26 CEST
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 =>
RESOLVED |