Getting checksum error while installing Rocky Linux 8 from generated ISO from original ISO

What specific changes are you making, if any? Why are you needing to make a custom ISO? Are you adding a kickstart? Are you updating packages?

If you are adding a kickstart, consider using mkksiso instead. If you are adding/updating packages or data on the image, consider using xorriso, which doesn’t require the amount of switches that genisoimage needs. See here for when I talked about it before.