Go Back   Wireless and Wifi Forums > News > Newsgroups > comp.security.misc
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-30-2008, 01:28 AM
Pixie
Guest
 
Posts: n/a
Default erase mac hard drive

is there any way to erase the hard drive of a mac without the original
CD that came with the computer?

Reply With Quote
  #2 (permalink)  
Old 01-30-2008, 02:01 AM
Walter Roberson
Guest
 
Posts: n/a
Default Re: erase mac hard drive

In article <ec6c04e3-ea34-4147-99b1-957c66d02fed@s8g2000prg.googlegroups.com>,
Pixie <pixiestickspixie@googlemail.com> wrote:
>is there any way to erase the hard drive of a mac without the original
>CD that came with the computer?


MacOS? Or Mac OS-X ?

Generally, with unix systems, dd if=/dev/zero of=HARDDISKDEVFILE
where HARDDISKDEVFILE is the device file name of the hard disk,
will erase the drive. Depending on exactly which device file
you name, this may or may not wipe out the partition table.

This is *not*, by the way, a "secure erase", and it makes
no effort to erase sectors that have been spared out or anything
like that.

Reply With Quote
  #3 (permalink)  
Old 01-30-2008, 06:05 AM
Pixie
Guest
 
Posts: n/a
Default Re: erase mac hard drive

On Jan 30, 3:01*am, rober...@hushmail.com (Walter Roberson) wrote:
> In article <ec6c04e3-ea34-4147-99b1-957c66d02...@s8g2000prg.googlegroups.com>,
>
> Pixie *<pixiestickspi...@googlemail.com> wrote:
> >is there any way to erase the hard drive of a mac without the original
> >CD that came with the computer?

>
> MacOS? Or Mac OS-X ?
>
> Generally, with unix systems, dd if=/dev/zero of=HARDDISKDEVFILE
> where HARDDISKDEVFILE is the device file name of the hard disk,
> will erase the drive. Depending on exactly which device file
> you name, this may or may not wipe out the partition table.
>
> This is *not*, by the way, a "secure erase", and it makes
> no effort to erase sectors that have been spared out or anything
> like that.


thanks so much for your post, it is a macbook mac OS X version 10.4.8
(sorry i should have said)... i searched "harddiskdevfile" in mac help
and it didnt come up.. am i missing something?

Reply With Quote
  #4 (permalink)  
Old 01-30-2008, 01:31 PM
Todd H.
Guest
 
Posts: n/a
Default Re: erase mac hard drive

Pixie <pixiestickspixie@googlemail.com> writes:

> On Jan 30, 3:01*am, rober...@hushmail.com (Walter Roberson) wrote:
> > In article <ec6c04e3-ea34-4147-99b1-957c66d02...@s8g2000prg.googlegroups.com>,
> >
> > Pixie *<pixiestickspi...@googlemail.com> wrote:
> > >is there any way to erase the hard drive of a mac without the original
> > >CD that came with the computer?

> >
> > MacOS? Or Mac OS-X ?
> >
> > Generally, with unix systems, dd if=/dev/zero of=HARDDISKDEVFILE
> > where HARDDISKDEVFILE is the device file name of the hard disk,
> > will erase the drive. Depending on exactly which device file
> > you name, this may or may not wipe out the partition table.
> >
> > This is *not*, by the way, a "secure erase", and it makes
> > no effort to erase sectors that have been spared out or anything
> > like that.

>
> thanks so much for your post, it is a macbook mac OS X version 10.4.8
> (sorry i should have said)... i searched "harddiskdevfile" in mac help
> and it didnt come up.. am i missing something?


Hi Pixie,

That's because that's a placeholder for you to put your hard disk's
device name.

Go into applications> utilities> and open a terminal

At the prompt issue the command

mount

And look for what disk is mounted on the / directory. On my iBook
dual usb, instance, the first line of the output of mount is

/dev/disk0s10 on / (local, journaled)

Therefore, /dev/disk0s10 is the physical device name for my hard
disk.

Therefore, to blow away my own hard disk, the command from the
terminal prompt would be:
-----------------------------------------------------
!!!!!WARNING THIS COMMAND COMPLETELY ERASES YOUR HARD DISK!!!!!
------------------------------------------------------

dd if=/dev/zero of=/dev/disk0s10

Which says "block copy from the device that always outputs a 0 to the
output file of physical disk0s10." If you want to be more "thorough"
you could do another pass once that's done with

dd if=/dev/urandom of=/dev/disk0s10

and then another pass of zero's ...


If you have multiple partitions and are impatient, and of=/dev/disk0
might do the entire drive including all partitions. Not sure though.
Most of my dd use has been under linux.

Best Regards,
--
Todd H.
http://www.toddh.net/

Reply With Quote
  #5 (permalink)  
Old 01-31-2008, 03:33 AM
Jay \Little Napoleon\ Severson
Guest
 
Posts: n/a
Default Re: erase mac hard drive

On Tue, 29 Jan 2008 18:28:02 -0800 (PST), Pixie wrote:

> is there any way to erase the hard drive of a mac without the original
> CD that came with the computer?


Using the CD is difficult, scrug, rub, scratch, etc. Use a fingernail.

Reply With Quote
  #6 (permalink)  
Old 02-01-2008, 04:16 PM
Casper
Guest
 
Posts: n/a
Default Re: erase mac hard drive

Pixie expressed precisely :
> is there any way to erase the hard drive of a mac without the original
> CD that came with the computer?


DBAN?

http://www.dban.org

If you are talking about whole disk wiping, no matter the OS



Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot Problem booting while second hard drive is attached! teflontoad Troubleshooting 0 01-26-2008 09:39 PM
Doctor Who's security & encryption FAQ v21.4 newsmanis@yahoo.com.au alt.computer.security 0 10-10-2007 09:34 PM
Switch the +5V supply to disk drive joelnews@hotmail.com alt.comp.hardware 22 08-06-2007 05:51 PM
interesting portable hard drive question WGBearden3@gmail.com alt.comp.hardware 13 01-28-2007 12:49 AM
Hard drive cooling suggestions? John Corliss alt.comp.hardware 14 10-19-2005 02:08 PM


All times are GMT. The time now is 05:28 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45