Black screen After Upgrade 42 to 43

gave no output.

Regaring “Try thus that as root (in bash), paste the output”

Here is the output

[root@puppetmaster29 ~]# (
set -x
grubby --default-kernel
cp -p /etc/default/grub /etc/default/grub.bak01
grubby --set-default-index=0 # This is the change
diff /etc/default/grub.bak01 /etc/default/grub

)

  • grubby --default-kernel
    /boot/vmlinuz-6.18.13-200.fc43.x86_64
  • cp -i -p /etc/default/grub /etc/default/grub.bak01
  • grubby --set-default-index=0
    The default is /boot/loader/entries/1a14a952cc4c4e8ebc33948e3fb1d970-6.18.13-200.fc43.x86_64.conf with index 0 and kernel /boot/vmlinuz-6.18.13-200.fc43.x86_64
  • diff /etc/default/grub.bak01 /etc/default/grub
    [root@puppetmaster29 ~]#

I rebooted but still it defaults to 42

I admit to not be a grubby fan :frowning: I prefer to edit (and with versionning)
/etc/default/grub.

As root:

  • edit (ex with nano) /etc/default/grub
  • ensure to have those 2 lines:
GRUB_DEFAULT=0
GRUB_SAVEDEFAULT=false
  • save it an execute: grub2-mkconfig -o /boot/grub2/grub.cfg

Reboot.

PS: Please use </> when pasting here.

So many thanks, yes now it is defaulting to kernel 43. However, the Flag

GRUB_SAVEDEFAULT=false

did not exist but I added it then rebooted

Correct. This is what I meant by saying ensure.

Can you mark your previous post as the solution for this topics ?

Thanks.

PS: Again, cut&paste test with </> is far better than doing screenshots: not searchable, not indexed.

check if file /etc/sysconfig/kernel exist on your system.

$ cat /etc/sysconfig/kernel 
# UPDATEDEFAULT specifies if kernel-install should make
# new kernels the default
UPDATEDEFAULT=yes

# DEFAULTKERNEL specifies the default kernel package type
DEFAULTKERNEL=kernel-core

@francismontagnac DONE sir. I use screenshots sometimes when I am not able to copy/paste between VM and my machine. So many thanks for your help, I really appreciate it. Tell me, are you French :slight_smile: ?

Merci moi aussi, vous etes base en France?