I had partitioned and mounted everything correctly as that is not my first time installing a different distro, but I have never ran into the error: "Kernel panic- not syncing: VFS: Unable to mount root fs on unknown-block(0,0) etc..."
I am booting UEFI from rEFInd, I don’t know how to configure rEFInd, so any help with that would be much appreciated. Also I have attached two photos of my screen through the process, which includes the kernel panic error in much greater detail. Thank you in advance
Normally you must pass a root= option, and usually an initrd= option, to the kernel. The absence of either option can cause a kernel panic such as you describe.
If rEFInd detects your kernel using its auto-detection code, it will also normally find an initrd file and create an appropriate initrd= option. The fact that this happens suggests that either you're booting via a manual boot stanza (in which case you must provide this detail) or you have no initrd file (which might be normal, but is more likely an oversight in copying the file). Since I don't know the context for the error (how you installed rEFInd and the kernel), I can't be more specific.
rEFInd also tries to figure out the root (/) volume to pass via a root= option when using auto-detection, but this is dicier; sometimes rEFInd simply cannot identify this information. In these cases, a refind_linux.conf file must hold this information. Also, if you're using a manual boot stanza, you must provide this information yourself.
I had partitioned and mounted everything correctly as that is not my first time installing a different distro, but I have never ran into the error:
"Kernel panic- not syncing: VFS: Unable to mount root fs on unknown-block(0,0) etc..."
I am booting UEFI from rEFInd, I don’t know how to configure rEFInd, so any help with that would be much appreciated. Also I have attached two photos of my screen through the process, which includes the kernel panic error in much greater detail. Thank you in advance
Photo #1: (notice the load options are empty)
https://fuwa.se/f/RXKSIk.png
Photo #2:
https://fuwa.se/f/PbDjYt.png
I was installing Manjaro...
Normally you must pass a
root=
option, and usually aninitrd=
option, to the kernel. The absence of either option can cause a kernel panic such as you describe.If rEFInd detects your kernel using its auto-detection code, it will also normally find an initrd file and create an appropriate
initrd=
option. The fact that this happens suggests that either you're booting via a manual boot stanza (in which case you must provide this detail) or you have no initrd file (which might be normal, but is more likely an oversight in copying the file). Since I don't know the context for the error (how you installed rEFInd and the kernel), I can't be more specific.rEFInd also tries to figure out the root (
/
) volume to pass via aroot=
option when using auto-detection, but this is dicier; sometimes rEFInd simply cannot identify this information. In these cases, arefind_linux.conf
file must hold this information. Also, if you're using a manual boot stanza, you must provide this information yourself.All of this is covered in more detail in the rEFInd documentation, and in particular in the Methods of Booting Linux and Configuring the Boot Manager pages.