How to remove APFS partition from SSD?

I tried to install hackintosh Catalina and then I injected nvidia graphics and after i restarted my laptop but now it's not booting,stuck with a black screen.I can't enter bios also.When I boots to bios,it's shows only some text like "BIOS Set-up". I created an 80Gb partition in my ssd which already have windows 10 installed and then used transmac to Flash Nireshcatalina to a pendrive.Then I booted into hackintosh but it stuck at voodooPS2.So I downloaded some kext,Apsi,and driver's I needed from GitHub and copied to appropriate folders.Then I booted to hackintosh and it started booting and then I installed macos Catalina to that 80GB partition by formatting it to APFS volume.And then I rebooted but it still stuck at Voodoo PS2 controller so I tried booted from efi / clover/ clover64.efi.And i successfully booted again.The I installed clover configurator and injected intel and nvidia graphics, changed mac model etc.But i forgot to do mount partition before injection 😓.And i rebooted it now it stuck at a black screen.Cannot boot to Windows/ bios also. Can I remove the APFS partition by connecting SSD to another pc? Or do I have to wipe the entire SSD?

Please help me guy's

Laptop Specs: HP 15s-dr0002tx i5 8265u 8th gen Nvidia Mx 130 Ram 8GB 256GB SSD and 1TB HDD

submitted by /u/noobi-e
[link] [comments]