How does one erase a FreeBSD disk (slice) label?

Joshua Oreman oremanj at
Tue Aug 19 10:36:33 PDT 2003

On Tue, Aug 19, 2003 at 01:41:49AM -0700 or thereabouts, Dan Strick wrote:
> How does one erase a FreeBSD disk (slice) label?
> [ ... ]
> Boot MS Windows and FORMAT the slice?

Wouldn't work; FORMAT is braindead.

> Disable the code in /sys/kern/subr_diskslice.c that protects
> disk labels and build a new kernel?

Should work, if you want to. But remember to enable it again!

> Go back in time and kill the person that wrote this code
> before he wrote it?


> Learn to love penguins?

No way!

> Please help ... I am slowly going crazy...

Boot from a FIXIT floppy/CD and try erasing it there.

-- Josh

> Dan Strick
> strick at
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list