Welcome to the Linux Foundation Forum!

Unable to boot into new installed kernel on QEMU/KVM?


I am doing the A Beginner's Guide to Linux Kernel Development (LFD103) course. I am using QEMU/KVM to complete the tasks. But currently I'm stuck on this step, where it shows how to install a new kernel. I had successfully installed the new kernel that I compiled. But I couldn't boot on the new kernel I installed.

I'm on this step:

How can I solve it?

pegasus@pegasusv:~$ mokutil --sb-state
EFI variables are not supported on this system
pegasus@pegasusv:~$ root password
Warning in <TApplication::GetOptions>: macro password not found
root: unrecognized option 'password'
Try 'root --help' for more information.

Best Answer

  • ShuahKhanLF
    ShuahKhanLF Posts: 149
    edited April 2023 Answer ✓

    EFI variables aren't supported on qemu/vm and this information is not applicable to VMs. Did you try to boot the kernel?


  • nobinpegasus

    Yes. I just completely skipped this part. And rebooted using the instructions described in the next page. Was able to successfully boot on the new kernel.


Upcoming Training