Re: Kernel panic - not syncing: VFS: Unable to mount root fs ...
Rudolf J Streif
On 3/1/21 1:16 PM, jchludzinski via lists.yoctoproject.org wrote:
Are you saying it worked before and now it does not anymore? Did you make changes to the device tree?
Pretty much exactly what the message is saying: the kernel cannot find the root file system to mount.
You found the correct item: the kernel command line parameter passed by the boot loader (presumably u-boot in your case) for the root file system partition. The partition number could be the problem if the root file system is not on partition 2. It could also be that the device is incorrect (that would be the number 0). It could also be that it is the correct device and partition but no root file system has been copied to it.
You would need to use the u-boot monitor commands to track it down.
Please bear with me here. I don't have that particular board and you only provided very little information.
-- Rudolf J Streif CEO/CTO ibeeto +1.855.442.3386 x700