Can you Reformat a computer in safe mode?

you want the cd-rom to be at the top of the boot list… it obviously starts at number 1 and goes down the list