Reformatting external harddrive

Daniel Underwood djuatdelta at gmail.com
Tue May 12 01:18:15 UTC 2009


After unsuccessfully trying to reformat my external harddrive on my
linux machine, I'm trying to reformat the disk in FreeBSD.  Frankly, I
just don't know how to do that. Please help me get the disk back to
working order; I don't need to keep any data that is currently on the
disk.

The command

$ /dev/da0

gives the following output:

******* Working on device /dev/da0 *******
parameters extracted from in-core disklabel are:
cylinders=38913 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=38913 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 63, size 625137282 (305242 Meg), flag 80 (active)
	beg: cyl 0/ head 1/ sector 1;
	end: cyl 0/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>


More information about the freebsd-questions mailing list