Is anyone dual-booting both an older & newer Ubuntu version on a machine with nVidia graphics?

Little Girl littlergirl at gmail.com
Wed Nov 22 15:36:55 UTC 2023


Hey there,

Petter Adsen wrote:

>Or just update the initramfs, if you can get in:

I forgot to mention that I got in by booting into the previous kernel.

>sudo update-initramfs -k all -u
>
>That might unfreak it.

Good point, although that updates initrd for all kernels and
doesn't leave you with an untouched fall-back kernel to boot into if
anything goes wrong.

A safer alternative would be to run it without the -k option so that
it uses its default setting of updating only the latest kernel:

sudo update-initramfs -u

Another alternative would be specifying the latest kernel version,
like this:

sudo update-initramfs -u -k 5.15.0-89-generic

-- 
Little Girl

There is no spoon.



More information about the ubuntu-users mailing list