The short answer is that you cannot format a hard drive from the BIOS. Instead, you can use a third-party tool to create a bootable CD, DVD, or USB flash drive.