I've got an mkusb live USB (Ubuntu 18.04 with persistence) that boots fine on some of my computers. On one laptop I get the following error:
error: disk `hd0,4' not found.
error: you need to load the kernel first.
What do I need to do to, "load the kernel first"?
EDIT: An SD card occupying an SD slot was causing this issue. Removing the SD card allows mkusb to boot properly, and eliminates the error. Once booted I reinsert the SD card into the SD slot if I need to use it.
If you get to a
grub
prompt, it means thatgrub
can't find the boot files that it expects. The sequence of commands to load the files and boot whengrub
doesn't do that for you goes something like this. First, find all partitions thatgrub
sees:This lists disks and partitions on the disks. One of these partitions holds your Linux system. Say it is
(hd0,1)
. Then do:Replace
(hd0,1)
, the version number and the partition (/dev/sda1
) by what is valid for your system. In the case ofvmlinuz
you can just typevmlinuz-
and press Tab.The version string should be identical to the one for
vmlinuz
.should now boot up your system.
When that happened to me I just had to disable secure boot and it worked.
Using "Startup Disk Creator" to create thumb drive, I was unable to boot using the thumb drive, with the same recommendation.
I have a slightly different answer.
On my 14 year old Dell desktop running Lubuntu 19.10 I used "Startup Disk Creator" to load "ubuntu-19.10-desktop-amd64.iso" to a thumb drive.
The first experiment on my new (delivered last month) Dell laptop gave a similar error, with the identical offering ... "load the kernel first".
Reading the comments above, I reviewed my usb ports and found my Logitech mouse appeared to be the only usb connection.
Disconnecting the usb mouse eliminated the error.
No grub commands needed.