From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hotmail.com (dav66.sea2.hotmail.com [207.68.164.201]) by dsl2.external.hp.com (Postfix) with ESMTP id 11190482B for ; Thu, 25 Jul 2002 09:43:16 -0600 (MDT) From: "Rick Vernam" To: Date: Thu, 25 Jul 2002 10:43:31 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C233C8.1E2AEA80" Message-ID: Subject: [parisc-linux] i dont know jack Sender: parisc-linux-admin@lists.parisc-linux.org Errors-To: parisc-linux-admin@lists.parisc-linux.org List-Help: List-Post: List-Subscribe: , List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C233C8.1E2AEA80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable i work at place that gets tons of computer junk from companies that are = getting rid of their equip. one of our requirements is to kill the = partitions on the HDs ( it is known that will no completely remove data, = just make is a little more difficult to get too ). so we are getting HP = machines with pa-risc stuff and most wont boot ( i know enough to know = how to initiate a boot ). is there some way, using this parisc-linux = that i can quickly kill partitions? -Rick rickvernam@hotmail.com ------=_NextPart_000_0005_01C233C8.1E2AEA80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
i work at place that gets tons of = computer junk=20 from companies that are getting rid of their equip.  one of our=20 requirements is to kill the partitions on the HDs ( it is known that = will no=20 completely remove data, just make is a little more difficult to get too = ). =20 so we are getting HP machines with pa-risc stuff and most wont boot ( i = know=20 enough to know how to initiate a boot ).  is there some way, using = this=20 parisc-linux that i can quickly kill = partitions?
 
-Rick
rickvernam@hotmail.com
------=_NextPart_000_0005_01C233C8.1E2AEA80-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mclean.mail.mindspring.net (mclean.mail.mindspring.net [207.69.200.57]) by dsl2.external.hp.com (Postfix) with ESMTP id E1E0B482B for ; Thu, 25 Jul 2002 10:19:41 -0600 (MDT) Received: from archimedes.localnetsolutions.com (archimedes.localnetsolutions.com [192.168.0.2]) by castle.localnetsolutions.com (8.11.6/linuxconf) with ESMTP id g6PGJkr08909; Thu, 25 Jul 2002 12:19:46 -0400 Subject: Re: [parisc-linux] i dont know jack From: "James P. Kinney III" To: Rick Vernam Cc: palinux In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-OnmoTH286cmyqrJ27Gul" Date: 25 Jul 2002 12:19:35 -0400 Message-Id: <1027613975.12732.358.camel@archimedes.localnetsolutions.com> Mime-Version: 1.0 Sender: parisc-linux-admin@lists.parisc-linux.org Errors-To: parisc-linux-admin@lists.parisc-linux.org List-Help: List-Post: List-Subscribe: , List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: --=-OnmoTH286cmyqrJ27Gul Content-Type: text/plain Content-Transfer-Encoding: quoted-printable During the install process, one must create partitions to format then install onto. Getting to that point is not too slow. Doing it from any ol' HP box that comes in the door may be the biggest challenge.=20 If you can get one box to run with SCSI connections available for other drives, boot the working boox with all the drives you want blanked, fdisk them to one big linux partition, then shutdown. It will require that you pull the drives, but in batch mode of 6 at a time, it will likely be faster than 6 boots and partial setups. Any of that old junk you want to throw my way (Atlanta) would be fun :) My office already looks like a museum. On Thu, 2002-07-25 at 11:43, Rick Vernam wrote: > i work at place that gets tons of computer junk from companies that are g= etting rid of their equip. one of our requirements is to kill the partitio= ns on the HDs ( it is known that will no completely remove data, just make = is a little more difficult to get too ). so we are getting HP machines wit= h pa-risc stuff and most wont boot ( i know enough to know how to initiate = a boot ). is there some way, using this parisc-linux that i can quickly ki= ll partitions? >=20 > -Rick > rickvernam@hotmail.com --=20 James P. Kinney III \Changing the mobile computing world/ President and CEO \ one Linux user / Local Net Solutions,LLC \ at a time. / 770-493-8244 \.___________________________./ GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics) Fingerprint =3D 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7=20 --=-OnmoTH286cmyqrJ27Gul Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA9QCUXYZCtw4KcbKcRAkqLAKDuBI+8KCUDWHHU5vdag1/MqkhK6wCg7IRx rI7kLD563na37D4F/9KGGEY= =N0mq -----END PGP SIGNATURE----- --=-OnmoTH286cmyqrJ27Gul-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by dsl2.external.hp.com (Postfix) with ESMTP id 07249482B for ; Thu, 25 Jul 2002 11:07:39 -0600 (MDT) Content-Type: text/plain; charset=us-ascii Date: Thu, 25 Jul 2002 18:29:15 +0200 From: Juergen Braukmann Message-ID: <3D40275B.55D3B7C7@ruhr-west.de> MIME-Version: 1.0 References: Subject: Re: [parisc-linux] i dont know jack To: Rick Vernam , parisc list Sender: parisc-linux-admin@lists.parisc-linux.org Errors-To: parisc-linux-admin@lists.parisc-linux.org List-Help: List-Post: List-Subscribe: , List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: > Rick Vernam schrieb: > > i work at place that gets tons of computer junk >from companies that > are getting rid of their equip. one of our requirements is to kill > the partitions on the HDs ( it is known that will no completely remove > data, just make is a little more difficult to get too ). so we are > getting HP machines with pa-risc stuff and most wont boot ( i know > enough to know how to initiate a boot ). is there some way, using > this parisc-linux that i can quickly kill partitions? > > -Rick > rickvernam@hotmail.com Hi Rick, there probably is. Boot into some nini root environment and type: dd if=/dev/null of=/dev/sda [assuming THE drive is sda] this will overwrite the intire disk with zero bytes (or was /dev/zero the proper device for that??). Atlernetivly, /dev/random might be a good source of rubbish data. ;-) there is the bs= parameter as well (block size). You probably need to experiment a bit with that, I tried to copy a 20GB disk via dd and it was dead slow, but I used 8KB as bs. I'd now start with a value of 4-8 MB. dd if=/dev/null of=/dev/sda bs=512 count=1 will overwrite the boot sector and partition table; but that's DOS-logic, I do not know how much of that applies to original HP-UX disks. Juergen -- =========================================== __ _ Juergen Braukmann juergen.braukmann@gmx.de| -o)/ / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | /\\ /__/ / _ \/ // /\ \/ / ===========================================_\_v __/_/_//_/\_,_/ /_/\_\ From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hauptpostamt.charite.de (hauptpostamt.charite.de [193.175.66.220]) by dsl2.external.hp.com (Postfix) with ESMTP id 77D07482B for ; Thu, 25 Jul 2002 11:16:45 -0600 (MDT) Received: from postamt1.charite.de (postamt1.charite.de [193.175.66.246]) by hauptpostamt.charite.de (Postfix) with ESMTP id B57D315C00D for ; Thu, 25 Jul 2002 19:16:43 +0200 (CEST) Date: Thu, 25 Jul 2002 19:16:43 +0200 From: Ralf Hildebrandt To: parisc list Subject: Re: [parisc-linux] i dont know jack Message-ID: <20020725171643.GA8177@charite.de> References: <3D40275B.55D3B7C7@ruhr-west.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <3D40275B.55D3B7C7@ruhr-west.de> Sender: parisc-linux-admin@lists.parisc-linux.org Errors-To: parisc-linux-admin@lists.parisc-linux.org List-Help: List-Post: List-Subscribe: , List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: Am 25.07.2002 um 18:29:15 +0200 schrieb Juergen Braukmann folgendes: > Hi Rick, there probably is. Boot into some nini root environment and > type: > > dd if=/dev/null of=/dev/sda [assuming THE drive is sda] bs=1M Increase the blocksize heftily. > this will overwrite the intire disk with zero bytes (or was /dev/zero > the proper device for that??). Atlernetivly, /dev/random might be a good > source of rubbish data. ;-) /dev/zero is better. Don't try /dev/random, it's too slow -- Ralf Hildebrandt (Im Auftrag des Referat V A) Ralf.Hildebrandt@charite.de Charite Campus Virchow-Klinikum Tel. +49 (0)30-450 570-155 Referat V A - Kommunikationsnetze - Fax. +49 (0)30-450 570-916 Why you can't find your system administrators: S/He is playing DOOM, to release pent-up tension created by lusers. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from palrel11.hp.com (palrel11.hp.com [156.153.255.246]) by dsl2.external.hp.com (Postfix) with ESMTP id 5A0FF482B for ; Thu, 25 Jul 2002 11:51:40 -0600 (MDT) Message-ID: From: "CARSON,KEVIN (HP-Canada,ex1)" To: 'Rick Vernam' , parisc-linux@lists.parisc-linux.org Subject: RE: [parisc-linux] i dont know jack Date: Thu, 25 Jul 2002 10:51:30 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Sender: parisc-linux-admin@lists.parisc-linux.org Errors-To: parisc-linux-admin@lists.parisc-linux.org List-Help: List-Post: List-Subscribe: , List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: There are a couple of methods (assuming /dev/sda is the SCSI disk you wish to erase): 1) dd if=/dev/zero of=/dev/sda bs=1M count=1 2) script parted or sfdisk to discover partitions and erase them 3) wipe -f -q /dev/sda 1 is the fastest. Does little to none data protection. 2 is probably just too fiddly and error prone. 3 is slow but does a reasonable four pass data scrub of the whole disk as well as erasing the partitions. Slow is relative. It took 10.5 minutes to do an older 2GB drive on a 20 MB/s SCSI channel. However, one could do these in parallel. A rule of thumb (based upon the assumption that recycling depots get old disks on old SCSI channels) is about four disks in parallel per SCSI channel. Of course, this is really slow compared to the dd -- under a second on the same setup. I can see three strategies for the setup: A) Boot from a scsi disk to an external connector. B) Boot from a network connector. C) Remove the disks from the unit and access them through a testbed. A is pretty straightforward but it assumes an external connector with compatible SCSI (SE or differential, etc). Adding a SCSI adapter is not always an option as PA-RISC Linux doesn't drive HP-PB cards. B is more effort to get the environment setup but may result in a simpler process. It still suffers from the lack of accessibility for anything connected to HP-PB for instance. C is more physical work but should probably always work. A testbed unit choice might be an older workstation with both differential and SE SCSI connectors. There would be the physical hassle of getting different connector types hooked up but that is solved with various (custom) cables. Hope this helps! Kevin From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.storm.ca (mail.storm.ca [209.87.239.66]) by dsl2.external.hp.com (Postfix) with ESMTP id 9329E482B for ; Thu, 25 Jul 2002 12:06:52 -0600 (MDT) Received: from storm.ca (ppp-209-87-255-11.ottawa.storm.ca [209.87.255.11]) by mail.storm.ca (8.11.6+Sun/8.11.6) with ESMTP id g6PI6pT11704 for ; Thu, 25 Jul 2002 14:06:51 -0400 (EDT) Message-ID: <3D406598.B862D0EC@storm.ca> Date: Thu, 25 Jul 2002 13:54:48 -0700 From: Sandy Harris MIME-Version: 1.0 Cc: parisc list Subject: Re: [parisc-linux] i dont know jack References: <3D40275B.55D3B7C7@ruhr-west.de> Content-Type: text/plain; charset=us-ascii Sender: parisc-linux-admin@lists.parisc-linux.org Errors-To: parisc-linux-admin@lists.parisc-linux.org List-Help: List-Post: List-Subscribe: , List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: Juergen Braukmann wrote: > Hi Rick, there probably is. Boot into some nini root environment and > type: > > dd if=/dev/null of=/dev/sda [assuming THE drive is sda] > > this will overwrite the intire disk with zero bytes (or was /dev/zero > the proper device for that??). /dev/zero gives a stream of null bytes. Don't use /dev/null; it returns EOF on all reads, or did when I learned the rules on older Unix and I suspect that still true. > Atlernetivly, /dev/random might be a good source of rubbish data. ;-) Not /dev/random. It was designed to produce high-grade random numbers for critical applications like generating PGP keys. It blocks if you try to take out more random data than it has input entropy. /dev/urandom does not block, so you could use that. It would likely be better to use a little program that just seeds itself from /dev/urandom and then cranks out lots of psuedo-random crud quickly. The FreeS/WAN libraries include source you could use: http://www.freeswan.org/freeswan_snaps/CURRENT-SNAP/doc/manpage.d/ipsec_prng.3.html > there is the bs= parameter as well (block size). You probably need to > experiment a bit with that, I tried to copy a 20GB disk via dd and it > was dead slow, but I used 8KB as bs. I'd now start with a value of 4-8 > MB. Yes, use a large block size. How thorough do you need to be? At one extreme, just trashing the partition table or superbloack may be all you need. At the other, you may need to do a fair bit of programming. The classic paper on secure deletion is: http://www.cs.auckland.ac.nz/~pgut001/pubs/secure_del.html I once read a US gov't standard for overwriting disks with non-classified data on them. (For classified data, you destroy the disk.) It wanted a minimum of three overwrites, all-0s, all-1s and random data. The hard part was that you had to guarantee to do that everywhere, including blocks the OS or drive had marked bad, things outside partitions that the OS couldn't see, ... A handy loop for cheap but fairly thorough deletions is: for( i = u = 0 ; i < 4 ; i++, u += 0x55555555 ) This walks each nybble of u through the values 0000, 0101, 1010, 1111 so you gat the US gov'ts all-0s and all-1s plus a couple of others. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from irongate.swansea.linux.org.uk (pc2-cwma1-5-cust12.swa.cable.ntl.com [80.5.121.12]) by dsl2.external.hp.com (Postfix) with ESMTP id D34D1482B for ; Thu, 25 Jul 2002 15:44:23 -0600 (MDT) Received: from irongate.swansea.linux.org.uk (localhost [127.0.0.1]) by irongate.swansea.linux.org.uk (8.12.2/8.11.6) with ESMTP id g6PMwBu6011735; Thu, 25 Jul 2002 23:58:27 +0100 Received: (from alan@localhost) by irongate.swansea.linux.org.uk (8.12.2/8.12.2/Submit) id g6PMvuo2011733; Thu, 25 Jul 2002 23:57:56 +0100 Subject: Re: [parisc-linux] i dont know jack From: Alan Cox To: Rick Vernam Cc: parisc-linux@lists.parisc-linux.org In-Reply-To: References: Content-Type: text/plain Date: 25 Jul 2002 23:57:55 +0100 Message-Id: <1027637875.11669.19.camel@irongate.swansea.linux.org.uk> Mime-Version: 1.0 Sender: parisc-linux-admin@lists.parisc-linux.org Errors-To: parisc-linux-admin@lists.parisc-linux.org List-Help: List-Post: List-Subscribe: , List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: On Thu, 2002-07-25 at 16:43, Rick Vernam wrote: > i work at place that gets tons of computer junk from companies that are getting rid of their equip. one of our requirements is to kill the partitions on the HDs ( it is known that will no completely remove data, just make is a little more difficult to get too ). so we are getting HP machines with pa-risc stuff and most wont boot ( i know enough to know how to initiate a boot ). is there some way, using this parisc-linux that i can quickly kill partitions? > Well one silly way to do it would be to simply install Linux on the machines telling it to use the whole of the disks. At that point you can put "tested" on the disks 8) and "Free Debian Linux" on the marketing 8) From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by dsl2.external.hp.com (Postfix) with ESMTP id B4989482B for ; Thu, 25 Jul 2002 16:40:53 -0600 (MDT) Message-ID: <3D407EB5.7030409@earthlink.net> Date: Thu, 25 Jul 2002 17:41:57 -0500 From: "Bryan W. Headley" MIME-Version: 1.0 To: Alan Cox Cc: Rick Vernam , parisc-linux@lists.parisc-linux.org Subject: Re: [parisc-linux] i dont know jack References: <1027637875.11669.19.camel@irongate.swansea.linux.org.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Sender: parisc-linux-admin@lists.parisc-linux.org Errors-To: parisc-linux-admin@lists.parisc-linux.org List-Help: List-Post: List-Subscribe: , List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: Alan Cox wrote: > On Thu, 2002-07-25 at 16:43, Rick Vernam wrote: > >>i work at place that gets tons of computer junk from companies that are getting rid of their equip. one of our requirements is to kill the partitions on the HDs ( it is known that will no completely remove data, just make is a little more difficult to get too ). so we are getting HP machines with pa-risc stuff and most wont boot ( i know enough to know how to initiate a boot ). is there some way, using this parisc-linux that i can quickly kill partitions? >> > > > Well one silly way to do it would be to simply install Linux on the > machines telling it to use the whole of the disks. At that point you can > put "tested" on the disks 8) and "Free Debian Linux" on the marketing 8) What, silly? Our admins used to prep Solaris workstations that way. Real inexpensive way to differentiate your products ("our Pengiuns pre-hatched") -- ____ .:. ____ Bryan W. Headley - bwheadley@earthlink.net