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?

Yes deploying a virsh machine.

Following this process - packer-maas/rocky9/README.md at main · canonical/packer-maas · GitHub

Then you might need to Kernel panic during first PXE boot - #10 by r00ta

Booting order is ok as deployment of Ubuntu and Centos are working fine, only the issue is with custom image deployment.