I try rockylinux/9, almalinux/9 template build custom image, but could not boot when I deploy to machine.
I mount the rootfs to /mnt, found /mnt/etc/kernel/cmdline use root=UUID=xxxx as kernel paramater, and the uuid is different with real root device /dev/sda2
I mounted the rootfs to /mnt and found that /mnt/etc/kernel/cmdline uses root=UUID=xxxx as a kernel parameter, but the UUID is different from the actual root device /dev/sda2.
I try rockylinux/9, almalinux/9 template build custom image, but could not boot when I deploy to machine.
I mount the rootfs to /mnt, found
/mnt/etc/kernel/cmdline
useroot=UUID=xxxx
as kernel paramater, and the uuid is different with real root device/dev/sda2
I mounted the rootfs to/mnt
and found that/mnt/etc/kernel/cmdline
uses root=UUID=xxxx as a kernel parameter, but the UUID is different from the actual root device/dev/sda2
.How should I solve this problem?