erase mac hard drive

erase mac hard drive

Secure Home | Search | About
 General Computer Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
erase mac hard drive Pixie 01-29-2008
Posted by Pixie on January 29, 2008, 9:28 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
is there any way to erase the hard drive of a mac without the original
CD that came with the computer?

Posted by Walter Roberson on January 29, 2008, 10:01 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
>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.

Posted by Pixie on January 30, 2008, 2:05 am
If you were  Registered and logged in, you could reply and use other advanced thread options
On Jan 30, 3:01=A0am, rober...@hushmail.com (Walter Roberson) wrote:
> In article <ec6c04e3-ea34-4147-99b1-957c66d02...@s8g2000prg.googlegroups.c=
om>,
>
> >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=3D/dev/zero of=3DHARDDISKDEVFILE
> 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?

Posted by Todd H. on January 30, 2008, 9:31 am
If you were  Registered and logged in, you could reply and use other advanced thread options

> On Jan 30, 3:01 am, rober...@hushmail.com (Walter Roberson) wrote:
> > In article
> >
> > >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/

Posted by Jay \"Little Napoleon\" Severs on January 30, 2008, 11:33 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
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.

Similar ThreadsPosted
Hard Drive Destruct System? November 25, 2004, 6:22 pm
help needed in hard drive replacement December 20, 2005, 10:40 am
Removing Locked Items from my Hard Drive (And Should I?) January 17, 2006, 4:58 am
DoD Harddrive Secure Erase Wipe April 2, 2008, 9:37 pm
USB Thumb Drive August 6, 2005, 1:19 pm
Something is creating shortcuts on m c: drive February 17, 2005, 7:12 am
Gmail Drive security April 20, 2005, 7:31 pm
Can you keep a secret? This encrypted drive can... October 30, 2006, 11:25 pm
ActiveX drive-by download Sites December 29, 2004, 1:01 pm
Formatted my drive, still spyware/virus, how is it possible? April 27, 2005, 12:25 pm

The site map in XML format XML site map

Contact Us | Privacy Policy