Hello, thank you for reaching out to Microsoft Q&A.
May I please know the total disk size of your hard drive or C: Partition?
The 24H2 update usually requires 40GB or more of free space to do a system reset compared to previous versions, like 22H2. This is why because the current Windows folder will be backed up into the 'Windows.old' folder, and it needs space for temp files as well.
So, if your total hard disk partition is 64 GB, a clean installation of Windows 11 24H2 is only possible because the system files might be using 30GB of space.
If you cannot free up more than 40GB of space on your device, we recommend performing a clean installation of Windows 11 from a bootable USB installation media drive.
Windows 11 Clean installation process-
https://www.microsoft.com/en-us/windowsinsider/cleaninstall
Let me know if you still need more help.