No root device specified. Boot arguments must include a root= parameter

Hi,

I tried to do mender rootfs upgrade (from Ubuntu 18 to 22) and the VM was booted into the initramfs cli with the following error:

No root device specified. Boot arguments must include a root= parameter

Mender client looks configured as expected, which the right partition UUIDs.
Also, I compared /boot/grub/grub.cfg and /boot/grub-mender-grubenv.cfg from this VM to another which was upgraded successfully and did not find any difference.

What could cause this error?
How can I check during boot what parameters are passed?
Any help/tips on debugging is appreciated!

Thank you!

Hi @zivkapl,

You can see the passed arguments in /proc/cmdline. That should also be accessible in the recovery shell of the initramfs.

Greets,
Josef

1 Like