I have an old PC I haven't used for about 10 years. It has Ubuntu 11.04 and Windows installed. I wanted to install Lubuntu on it and be able to use grub to choose what to boot into.
I installed Lubuntu 20.04 LTS and installation was fine. I have 3 disks on the PC and Ubuntu and Lubuntu are on /dev/sdc. When I first installed Lubuntu, there was no entry in grub for it. I then ran boot-repair and it added some entries. For example:
Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os 'gnulinux-simple-xxxxxxxxxsome-guidxxxxxx (on dev/sda8)
When I tried to select the above, I get this:
error: file not found.
error: you need to load the kernel first
I'm not sure what kind of diagnostic info would be helpful.
Edit: Ran sudo grub-mkconfig -o /boot/grub/grub.cfg.new
and got the following output. Notice there is no new Linux kernel listed:
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