Help! Silverblue won't build/mount new image after systemctl reboot

I’m trying to install the nvidia drivers like this:

sudo rpm-ostree install akmod-nvidia xorg-x11-drv-nvidia

And when that command finishes and I check rpm-ostree status I see that those packages will be layered, then when I run systemctl reboot and I run rpm-ostree status again, I see that Silverblue didn’t create the new image or mount it.

I’ve been going in circles trying to get this image to build with the nvidia drivers, but everytime I reboot I’m restored to the image before the nvidia drivers. I’m selecting the :0 image from the grub menu (as that’s the default). Am I doing something wrong?


It turns out something must have been wrong with my Grub config. I ran the rpm-ostree install again, then I remade the grub.cfg file

sudo rpm-ostree install akmod-nvidia xorg-x11-drv-nvidia
then,
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
then,
systemctl reboot

And now I see the new image when I boot up.

2 Likes