LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-13-2003, 11:09 AM   #1
NewtonMan
LQ Newbie
 
Registered: Oct 2003
Location: Wichita,KS
Distribution: Slackware, CPUBuilders
Posts: 25

Rep: Reputation: 15
alter boot floppy to auto erase hdd then shutdown


i'm trying to make a linux boot floppy that will write zeros to the hdd, then init0.
i want the whole process automated so all i have to do is pop the floppy in the pc and boot up, the disks does all the work, then shutsdown. no personal interaction at all.

i do know you can write zeros by using the dd if=/dev/zero of=/dev/<device> bs=1024

my problem is i can't figure out how to alter the boot floppy, i've tried mounting the initrd.img from the boot disk, but i don't know the fs type?

any suggestions?
 
Old 11-13-2003, 11:18 AM   #2
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
I don't think you are going to get a lot of help here as there may be people who would be suspect as to why you would want to create such a disk. The danger of accidental HD errasing on a system that you don't have the right to do that to is too great. If your goal is to simply wipe HDs of systems that you are getting rid of, you can use a Knoppix distro on CD, go to console with root authority and wipe the thing from there. The danger of a bootable HD destroyer disk is too great in my opinion.
 
Old 11-13-2003, 11:26 AM   #3
NewtonMan
LQ Newbie
 
Registered: Oct 2003
Location: Wichita,KS
Distribution: Slackware, CPUBuilders
Posts: 25

Original Poster
Rep: Reputation: 15
i use them to wipeout old systems aqired in company upgrades, i just want to erase the hdd, i have a knoppix cd that does this someone made, but some of the older systems have no cd's and they do have floppy drives.

i just wipe the hdd so the next person to get the pc gets no info. nothing nasty, just trying to automate my clean up duties to allow wasted time somewhere else.
 
Old 11-14-2003, 02:48 PM   #4
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
Some older distros might support creating a boot floppy that you can write a simple program for. However, I would advise creating a password or something that needs to be typed in order to activate the disk wiping utility. Otherwise, accidentally booting with that disk in your drive could completely ruin someone's day.
 
  


Reply



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 On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot XP(internal IDE HDD) Debian(external USB-IDE HDD) using boot.ini PolarDog Linux - Laptop and Netbook 2 07-01-2005 09:50 PM
ssh auto shutdown mazzo Linux - Security 4 08-13-2004 05:55 PM
Boot with floppy support 9.1 or 10.0 two HDD brimbleshoes Mandriva 1 06-21-2004 08:41 PM
Boot from floppy, no HDD brimbleshoes Linux - General 5 11-11-2003 10:00 PM
Auto Shutdown k_ranju Linux - General 3 07-20-2003 04:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration