LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Tiny system to wipe hdds (https://www.linuxquestions.org/questions/linux-software-2/tiny-system-to-wipe-hdds-4175412431/)

brilyant 06-20-2012 05:37 AM

Tiny system to wipe hdds
 
I have a task that involves wiping data from hard drives before disposal.

Current solution is to put hdd into Linux box and use dd to write random numbers all over it.

Is it possible to construct a single bootable floppy with sufficient software to create a running system, so I can execute a small number of utilities?

Andrew

ukiuki 06-20-2012 05:47 AM

This: http://www.tinycorelinux.com/ It is very small and have what you need.

Regards

syg00 06-20-2012 05:57 AM

That should work - I've always kept a copy of the gentoo minimal around. Has all the tools I need.

BTW, the kernel won't fit on a floppy these days - you're up for a CD. Maybe one of the minis would do for you.

pixellany 06-20-2012 06:45 AM

http://www.dban.org/

TobiSGD 06-20-2012 07:48 AM

DBAN will do the job. For a somewhat similar purpose (wiping out the MBR on all disks in the system) I created a very small (about 5MB, if I remember correctly) Linux system that can be booted from CD/USB/network. It was pretty easy, I did it this way:
1. Use Slackware's mkinitrd command to create a filesystem tree for being used as root file-system
2. Modify the init script to just initialize the hardware (using Busybox's mdev) and then use dd to write zeroes to the disk.
3. Create a kernel config that only contains the drivers you need (in this case disk controller drivers) and point it to the filesystem tree with the modified root filesystem.
4. Compile the kernel.

After that you can use the bootloader of your choice (like Isolinux for CD, Syslinux/Extlinux for USB, Pxelinux for network boot) to load that kernel, it will automatically do the job.
Keep in mind that if you want to boot from USB not to compile the driver for USB storage devices, or you will overwrite the USB disk also.

jefro 06-20-2012 01:33 PM

The only problem with floppy based distro's is the age of the kernel needed. You may not have driver support. Not even sure you can get linux on a single floppy anymore. If your system is supported then the old Tom's boot disk was "the most linux on a floppy" and there are a few others out there still

A pxe or gpxe of live usb live cd sort of deal could be made to do automated boots and work for larger images as noted above.

If you are simply disposing of them then get an old demagnetizer.

etech3 06-20-2012 02:20 PM

+1 dban
 
DBAN will do the job. I still use my copy my from 2008. Just haven't got around to downloading the one. :D

brilyant 06-21-2012 01:30 AM

Thanks everyone for the wide range of possibilities - plenty of scope for investigation.

Using an old distro may not be out of the question - I've just had to deal with a Pentium II.

Andrew


All times are GMT -5. The time now is 11:04 PM.