Relyt is correct, you cannot "low level format" a modern HDD without screwing it.

Why don't you just stick the Ubuntu disk into it and let it reformat the drive?

Otherwise, with a box with a 10Gb drive I would be inclined to look at Windows 2000 or even Win98SE. It cannot have much in the way of RAM and CPU?