Article 57SFX EFI boot error: Please append a correct device "root=" boot option

EFI boot error: Please append a correct device "root=" boot option

by
Teso
from LinuxQuestions.org on (#57SFX)
H!@all

System: Notebook, AMD Ryzen 5, Kubuntu 20.04 64-bit

I'm trying to start the system without a Boot-loader direct from the EFI/BIOS for faster boot.
I downloaded and compiled the Linux-kernel-5.8.5, copied and renamed the `bzImage file to `/boot/efi/EFI/Kubuntu.efi`.

Code:sudo cp /usr/src/linux-5.8.5/arch/x86/boot/bzIm`age /boot/efi/EFI/Kubuntu.efiRebooted in to the BIOS, selected and added Kubuntu.efi to the secure boot, and set it as first in the boot order..

Attachment 34022

Attachment 34023

Attachment 34024

The system starts but I get the following error:

Code: Please append a correct device "root=" boot option; here are the available partitions:
(driver?)
103:00001 123456 nvme0n1p1 ...UUID....
103:00002 123456 nvme0n1p2 ...UUID....
103:00003 123456 nvme0n1p3 ...UUID....

kernel panic - not syncing: VFS: unable to mount root fs on unknown-block(0,0)This is the path to the root partition: root=/dev/nvme0n1p5
The pci, fs and nvme driver are build in the kernel (*).
As far as I can tell, only the path to the root partition needs to be entered, but where?
`I found out where to enter the path, so I entered the path here:

Code:make menuconfig`Code:Processor type and features --->[*] Built-in kernel command line ---> (root=/dev/nvme0n1p5) Built-in kernel command string --->[*] Built-in command line overrides boot loader argumentsBut it doesn't work, I get the same error again.

Attachment 34025

Then I tried it by replacing the path root=/dev/nvme0n1p5` with the `UUID` and got the same error.
I took a closer look at the UUID and found out, that the listed UUID is actually a **PARTUUID** (You can find the PARTUUID with the command: blkid), so I tried the PARTUUID, nothing changes same error.
Regardless of what I enter in the `Built-in kernel command string` I always get the same error.
Attached Thumbnailsattachment.php?attachmentid=34022&stc=1& attachment.php?attachmentid=34023&stc=1& attachment.php?attachmentid=34024&stc=1& attachment.php?attachmentid=34025&stc=1& latest?d=yIl2AUoC8zA latest?i=f4_xyxS4Ang:p5SVEppUewY:F7zBnMy latest?i=f4_xyxS4Ang:p5SVEppUewY:V_sGLiP latest?d=qj6IDK7rITs latest?i=f4_xyxS4Ang:p5SVEppUewY:gIN9vFwf4_xyxS4Ang
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments