Grub no puede encontrar el kernel al iniciar Lubuntu

Grub no puede encontrar el kernel al iniciar Lubuntu

Tengo una PC vieja que no uso desde hace unos 10 años. Tiene instalado Ubuntu 11.04 y Windows. Quería instalar Lubuntu y poder usar grub para elegir dónde iniciar.

Instalé Lubuntu 20.04 LTS y la instalación estuvo bien. Tengo 3 discos en la PC y Ubuntu y Lubuntu están en/dev/sdc. Cuando instalé Lubuntu por primera vez, no había ninguna entrada para ello en grub. Luego ejecuté boot-repair y agregué algunas entradas. Por ejemplo:

Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os 'gnulinux-simple-xxxxxxxxxsome-guidxxxxxx (on dev/sda8)

Cuando intenté seleccionar lo anterior, aparece esto:

error: file not found. error: you need to load the kernel first

No estoy seguro de qué tipo de información de diagnóstico sería útil.

Editar: Ejecuté sudo grub-mkconfig -o /boot/grub/grub.cfg.newy obtuve el siguiente resultado. Observe que no hay ningún nuevo kernel de Linux en la lista:

Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.38-10-generic
Found initrd image: /boot/initrd.img-2.6.38-10-generic
Found linux image: /boot/vmlinuz-2.6.35-22-generic
Found initrd image: /boot/initrd.img-2.6.35-22-generic
Found linux image: /boot/vmlinuz-2.6.32-24-generic
Found initrd image: /boot/initrd.img-2.6.32-24-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Microsoft Windows XP Professional on /dev/sdc1
done

Respuesta1

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

Actualice su archivo grub, debería resolver ese problema.

información relacionada