If your hard drive isn't appearing during the Windows installation, try the following steps:
1. Restart your computer and enter the BIOS (usually by pressing F2, DEL, or another specified key). Make sure the hard drive is detected. If it isn't, check the connections (cables) and set the drive mode to AHCI.
2. In the Windows Setup, click on "Load driver" and install the necessary SATA/NVMe drivers from a USB flash drive.
3. Press Shift + F10 during the installation to open the Command Prompt. Type `diskpart`, then enter `list disk`. If your drive appears, select it and format it using the following commands:
select disk X
clean
create partition primary
format fs=ntfs quick
4. Disable Secure Boot, enable Compatibility Support...