Ok, I think I solved it. I created the entry manually for Kernel 6.8.8 on grub.cfg and rebooted. Once in this kernel, I dnf reinstalled it and everything seems to have worked fine. dnf did not show any error and I had journalctl -f on another terminal and did not see any error either. I am going to chalk this one to some difference between Kernel 6.7 and 6.8. Weird.
On Sat, May 4, 2024 at 3:08 AM Javier Perez pepebuho@gmail.com wrote:
Hi. Since Kernel 6.8 it looks like grub.conf is not being updated. The files are installed but grub.cfg is not updated.
During installation I see this error:
Running scriptlet: kernel-modules-core-6.8.8-200.fc39.x86_64
49/49 Running scriptlet: kernel-core-6.8.8-200.fc39.x86_64
49/49 /usr/sbin/grub2-probe: error: cannot find a device for / (is /dev mounted?). grub2-probe: error: cannot find a device for / (is /dev mounted?). No path or device is specified. Usage: grub2-probe [OPTION...] [OPTION]... [PATH|DEVICE] Try 'grub2-probe --help' or 'grub2-probe --usage' for more information.
Running scriptlet: kernel-modules-6.8.8-200.fc39.x86_64
If I manually add the entry to grub.cfg it appears and runs, but it is weird that grub is not updating as it used to. Currently I am using kernel 6.7.10 This is my fstab [root@pepewin ~]# cat /etc/fstab # /etc/fstab # Created by anaconda on Thu May 28 01:32:34 2015 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info # UUID=292bd418-8a67-4840-bf12-9478e961867d / btrfs subvol=root 0 0 UUID=fc7cfca3-47ee-4810-a8d0-5e1fee6d4ad0 /boot ext4 defaults 1 2 UUID=6092-A870 /boot/efi vfat umask=0077,shortname=winnt 0 0 UUID=d091ba56-916e-468e-9880-9e9e6fec46da /home btrfs subvol=home 0 0 UUID=d091ba56-916e-468e-9880-9e9e6fec46da /var btrfs subvol=var 0 0 #UUID=4823bca7-1f7a-4a3f-aa12-fcc03782fe7a swap swap defaults 0 0 UUID=e713a195-a515-4f57-be8c-bf96f370a41e swap swap defaults 0 0 -- This is my lsblk [root@pepewin ~]# lsblk -f NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS sda
├─sda1 ext2 1.0 3fe06597-c852-4d91-80d9-834351d59a81
├─sda2 swap 1 b084858d-1ad6-4657-a14c-ae99503924d2
└─sda3 ext4 1.0 8136cc0b-298b-46a0-8693-8756a59fbb05
sdb
├─sdb1 ext2 1.0 4c212f1f-e567-4612-a9b1-edb18055af89
├─sdb2 ext4 1.0 _Fedora-16-x86_6 7905aa06-92ff-49c2-a51f-ed9553340a1d
├─sdb3 swap 1 0f17d854-5f2f-4d57-ad13-c6afb7d933d7
├─sdb4
├─sdb5 ext4 1.0 48473866-4bda-46d0-87f6-9d10040825b2
├─sdb6 ext4 1.0 /home 7a089743-da14-4d09-ad56-38ee4ba69943
├─sdb7 ext4 1.0 c17f9aa7-d8dc-4e46-a9a9-590f53085fb6
└─sdb8 swap 1 d9c98608-6ef3-4ec2-a59c-963b76affeac
sdc
├─sdc1 vfat FAT16 6092-A870 492.2M 1% /boot/efi ├─sdc2 ext4 1.0 fc7cfca3-47ee-4810-a8d0-5e1fee6d4ad0 103.1M 72% /boot ├─sdc3 btrfs Fedora 292bd418-8a67-4840-bf12-9478e961867d 19.3G 69% / └─sdc4 swap 1 swap2 e713a195-a515-4f57-be8c-bf96f370a41e [SWAP] sdd
├─sdd1 swap 1 4823bca7-1f7a-4a3f-aa12-fcc03782fe7a
└─sdd2 btrfs My_Data d091ba56-916e-468e-9880-9e9e6fec46da 633.6G 66% /home
/var
sde
sdf
sdg
sdh
sr0
zram0 [SWAP] [root@pepewin ~]#
sda and sdb are just old drives I have left in place, sometimes I look up info in there. sdc and sdd are my regular system.
I did not mind staying for a while in kernel 6.7.10 because I am using an old nvidia driver (470) but it seems like they solve the problem with kernel 6.8 already so I should be able to start using it normally
I tried to google-fu the answer but I found a lot of references and recipies in ubuntu, gentoo, archlinux that I am not sure if they are applicable to my case.
/_/\ |O O| pepebuho@gmail.com
~~~~ While the night runs ~~~~ toward the day... m m Pepebuho watches from his high perch.