Deploying custom Rocky image error: Unable to mount root fs on unknown block

I’m encountering the following error while deploying a custom Rocky Linux image using MAAS version 3.6

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)` during custom Rocky Linux image deployment.

Has anyone else faced this issue while working with MAAS and Rocky Linux?

I’d appreciate any guidance or steps to resolve this problem.

How did you upload the image to MAAS? Can you paste the full command you used?

Uploaded the image with this command.

maas my-maas boot-resources create name=‘custom/rocky9’
title=‘Rocky 9 Custom’ architecture=‘amd64/generic’
base_image=‘rhel/9’ filetype=‘tgz’
content@=rocky9.tar.gz

Are you deploying a virsh machine?