Hi,
Its not necessary to get into OS. If it is not booting, you can even perform a factory reset from BIOS.
Shut down and restart your Toshiba laptop by pressing the power button. Immediately and repeatedly press the F12 key on your keyboard until the Boot Menu screen appears. Using your laptop's arrow keys, select “HDD Recovery” and press enter. From here, you will be asked if you want to proceed with the recovery.