On Sat, 2023-01-07 at 18:49 -0600, Roger Heflin wrote:
> 95% of the time when I see initrd did not get built and included in
> the boot, it was because the kernel install runs in 2 steps, the
> first step puts in the kernel grub entry, and the 2nd step build
> initrd and adds initrd to the grub config.    run "dnf reinstall
> kernel" and that fixes it.  Usually this happens because dnf got
> interrupted for some reason.
> 
> Watch the rerun and notice that there are 2 steps that take a long
> time, one of them puts the files in and the 2nd one builds and adds
> in initrd.
> 
>  Installing       : kernel-core-6.0.16-300.fc37.x86_64              
>                                                                      
>                                                                      
>                                                   1/3 
>   Running scriptlet: kernel-core-6.0.16-300.fc37.x86_64              
>                                                                      
>                                                                      
>                                                   1/3 
>   Installing       : kernel-modules-6.0.16-300.fc37.x86_64          
>                                                                      
>                                                                      
>                                                    2/3 
>   Running scriptlet: kernel-modules-6.0.16-300.fc37.x86_64          
>                                                                      
>                                                                      
>                                                    2/3 
>   Installing       : kernel-6.0.16-300.fc37.x86_64                  
>                                                                      
>                                                                      
>                                                    3/3 
>   Running scriptlet: kernel-core-6.0.16-300.fc37.x86_64              
>                                                                      
>                                                                      
>                                                   3/3 
> 
> The last running scriptlet builds the initrd and adds it to grub.  
> It runs after all install/upgrades are done, and if dnf gets aborted
> you end up with kernel only.

I wonder how many people are affected by that because they don't run
update in the command line and watch the process, but have a system
that does the updates at shutdown, or hidden by a GUI, and they don't
wait for it to actually finish, but just assume it does after a period
of apparent inactivity, and switch off or reset the PC?

-- 
 
uname -rsvp
Linux 3.10.0-1160.81.1.el7.x86_64 #1 SMP Fri Dec 16 17:29:43 UTC 2022 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to