wiping hard drive


 
Thread Tools Search this Thread
Operating Systems Solaris wiping hard drive
# 1  
Old 06-05-2006
wiping hard drive

I'm looking for a utility that will wipe data clean from a Solaris hard drive and make the data unreadable and unrecoverable. Any suggestions? Does SUN have something?
# 2  
Old 06-06-2006
Make very clear before you use it.

Basically the first 512 bytes of the hard disk contain boot record and a partition table. If you delete it, you'll not be able to boot and of course all your partitions will be LOST. This will also work for any linux box.

In case you want to test it.. u better take a back up of 512 bytes .. and then restore it based on your requirement.
Here we go.

1. To take backup boot record and partition table:

dd if=/dev/rdsk/cNtNdN of=/bootblock.img bs=512 count=1

now copy the file bootblock.img somewhere safe i.e a floppy or another hard disk etc.

2 Now to delete it

dd if=/dev/zero of=/dev/cNtNdN bs=512 count=1

In case you want to wipe out everything.. just don't give the "count=1" let the command finish, it will take while based on the size of your disk.

Hope this is helpful

-Aditya
# 3  
Old 06-06-2006
SUN recommended - Scrubbing disks
# 4  
Old 06-06-2006
Thanks everyone.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Using the rest of my hard drive

Hi When I installed opensolaris, I installed it on a 20GB partition. How do I make use of the other 300GB I have spare? format shows:- -bash-3.2# format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c3d0 <DEFAULT cyl 2607 alt 2 hd 255 sec 63> ... (12 Replies)
Discussion started by: hellotommy
12 Replies

2. Filesystems, Disks and Memory

The best partitioning schem for a 250GB Sata hard drive & a 75GB SCSI hard drive

Hi I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Discussion started by: sirbijan
0 Replies

3. UNIX for Dummies Questions & Answers

Trying to copy old hard drive to new hard drive.

:confused: ........I have a new hard drive and I need to copy ALL info from the old to the new. I would like to use the dd command. I know the command is as follows...... dd if=/dev/rdsk/c1t1d0s0 of=/dev/rdsk/???????? Where I have the question marks is the problem. How do I find out what the... (4 Replies)
Discussion started by: shorty
4 Replies

4. SCO

Processor and Hard Drive

I trying to learn Unix and I am using SCO Unixware 7.1. Below are three question that I have: 1) Can someone tell me what command I can use to find out the system processor speed. 2) Can someone tell me what command I can use to find out what's the hard drive size of my unix box. 3) Can... (1 Reply)
Discussion started by: etaup02
1 Replies

5. Linux

hard drive specs?

Does anybody know what command will bring up my harddrive and how much room is left on it? (13 Replies)
Discussion started by: byblyk
13 Replies

6. UNIX for Dummies Questions & Answers

currupted my hard drive

Hello, earlier tonight I was installing BETA version of Mandrake Linux 9.0 and I realised I needed to partition my drive. I tried making the partition within mandrake but ther wasnt an option within the mandrake setup. So i go into my WindowsXP and do the disk management option but there want a... (5 Replies)
Discussion started by: xcaliber
5 Replies

7. UNIX for Dummies Questions & Answers

I Want To Automount My Hard Drive!!!

:confused: Im as newbie as they come....... I just loaded Red Hat 8.0 on my computer. I have a second hard drive that i reformatted with a Fat32 so I could share it with my XP and Linux partions....... I have like 4000 mp3's on it and i would like to get it to auto mount when Linux boots....? Or... (5 Replies)
Discussion started by: mynameiskyle
5 Replies

8. UNIX for Dummies Questions & Answers

Wiping UNIX Hard Drive

Hello all, Maybe someone can help? Please?!?!? How do I wipe a UNIX hard drive, For dos I use Norton. Is there something like that for UNIX. I am just barley understanding UNIX, so please forgive my ignorance. Also, is there a government approved method of sanitization? Thanks (10 Replies)
Discussion started by: rocky123
10 Replies
Login or Register to Ask a Question

Featured Tech Videos