Remove the drive and hook it on other system (with adapter or usb enclosure), and try format the drive there.
Also, reseat the memory, disconnect any external device if any during installation. Reset bios as well.