Some time ago I made a kubuntu 16.04 live USB. I booted from this and installed kubuntu to a hard drive (flash) in the system. When the system booted I needed to select an option to boot the specific hard drive from the menu. After a couple of months I went to start the system again and this boot option is no longer there. I seem to remember it being off an "advanced options sub menu", something like "boot hda2". If I boot the live system the hard disk is shown and I can see all of the files. I have backed up my work but I would still like to boot hard drive. I have spent hours looking for a solution including disk-repair but can't seem to get anything to work.
The disk in question comes up as disk /dev/sda, partition 1 is EFI and 2 is the main root disk with the boot directory containing all the kernel boot files.
Any ideas much appreciated.
sudo update-grub
. This should add the hard drive to it's boot menu, allowing you to boot the hard drive as before. you may be able to copy this menuentry to the hard drive's /boot/grub/grub.cfg on partition 2. – C.S.Cameron Mar 12 '21 at 02:52