Fails to boot loading initial ramdisk

So… I have just installed EOS in my third and last machine (coming from M…) and the first 2 installations were without issues. Now in my main laptop, first reboot after install (online install, KDE) I got black screen with grub saying "Fail to boot ‘loading initial ramdisk’
I rebooted … but the same. I could boot finally choosing the “fallback kernel”. Then once in EOS I installed the LTS Kernel as backup, and I can boot normally (not in fallback) with this LTS. But if I select the normal (latest) kernel… no way.
Any idea how to fix this the right way ?

Did you generate (or write) the GRUB config, e.g.:

sudo grub-mkconfig -o /boot/grub/grub.cfg

?

2 Likes

can you returns

ls -lha /boot

No, I didn’t… Will do this now.

total 96M
drwxr-xr-x 4 root root 4.0K Jul 30 17:16 .
drwxr-xr-x 17 root root 4.0K Jul 30 16:59 …
drwx------ 3 root root 4.0K Jan 1 1970 efi
drwxr-xr-x 6 root root 4.0K Jul 30 17:16 grub
-rw------- 1 root root 31M Jul 30 17:44 initramfs-linux-fallback.img
-rw------- 1 root root 9.2M Jul 30 17:44 initramfs-linux.img
-rw-r–r-- 1 root root 31M Jul 30 17:44 initramfs-linux-lts-fallback.img
-rw-r–r-- 1 root root 9.5M Jul 30 17:44 initramfs-linux-lts.img
-rw-r–r-- 1 root root 3.1M Jun 16 20:50 intel-ucode.img
-rw-r–r-- 1 root root 7.2M Jul 30 17:00 vmlinuz-linux
-rw-r–r-- 1 root root 6.2M Jul 30 17:16 vmlinuz-linux-lts

Well, Thanks @jonathon !! It was quite simple after all, regenerating the grub was the solution (I wasn’t confident to do this by myself, but after you adviced for it) … All good !

3 Likes