disk initialize

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 2/13/06, Will McDonald <wmcdonald@xxxxxxxxx> wrote:
> On 13/02/06, Jerry Geis <geisj@xxxxxxxxxxxxxxx> wrote:
> > All,
> >
> > Is there a way to "re-initialize" as disk? remove the the boot loader and
> > partions etc... make it "seem" like a brand new disk?
>
> dd if=/dev/zero of=/dev/hda bs=512 count=1
>

I have found that disks that contained an LVM setup don't get cleaned
up this way (refuse to accept a startover with LVM). I haven't done
much experimentation, but I always use

dd if=/dev/zero of=/dev/hda bs=512 count=1024

My $.02.


--
Collins Richey
      The agnostic dyslexic insomniac lies awake wondering if there is a dog.

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux