From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.o2.co.uk (sidious.london.02.net [82.132.130.152]) by speech.braille.uwo.ca (Postfix) with ESMTP id BA45F1023C for ; Wed, 13 Jan 2010 09:34:33 -0500 (EST) Received: from [192.168.1.65] (87.194.146.232) by mail.o2.co.uk (8.0.013.3) (authenticated as r2gl) id 4B41E0320248E402; Wed, 13 Jan 2010 14:34:30 +0000 Subject: Re: Linux Parted question (fwd) From: Georgina Joyce To: Glenn Ervin , "Speakup is a screen review system for Linux." In-Reply-To: <7E983A72184542B2A588DC582E00575A@AVERATECLAPTOP> References: <4B4D2CD8.2090504@pcdesk.net> <7E983A72184542B2A588DC582E00575A@AVERATECLAPTOP> Content-Type: text/plain Organization: Ready 2 Go Linux Date: Wed, 13 Jan 2010 14:34:29 +0000 Message-Id: <1263393269.2873.11.camel@orchid.sented-plants.local> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.12 Precedence: list Reply-To: r2gl@o2.co.uk, "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2010 14:34:34 -0000 Hi We just discussed using dd on a mbr. writing to 512 bytes destroys the partition table as well as the MBR. Kerry suggests 446. But this would make your MS OS unbootable. From memory of your question. If you install a linux distro and putting the grub signature in the master boot record, this will overwrite any virus residing there. Gena On Tue, 2010-01-12 at 20:26 -0600, Glenn Ervin wrote: > Hi Joseph, > There are two other partitions which I would prefer to not lose the data > from. I have not yet ran Ubuntu on this system, but when I do, I am sure > that it is SDA2 & SDA3 that I don't wish to damage. SDA1 may be erased, as > it is likely the infected partition, but one of the other partitions is > hidden, and it may be SDA3. But I don't know how this will effect the > partitions other than SDA1. > Thanks. > Glenn > ----- Original Message ----- > From: "Joseph C. Lininger" > To: "Speakup is a screen review system for Linux." > Sent: Tuesday, January 12, 2010 8:15 PM > Subject: Re: Linux Parted question (fwd) > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Karen, > What I would do is the following. First, I would 0 the mbr of the drive > in question. Like this. > > dd if=/dev/zero of=/dev/ bs=512 count=1 > > Then use the mklabel command in the parted program to initialize the > mbr. This will cause all data on a drive to be lost, so make sure to do > backups if preserving the data is necessary. If you copy the partition > table using print and recreate it exactly you might be able to keep the > data from being lost, but it's an advanced thing and I won't go into > detail on exactly how to do it in this post. If you want that > information, let me know. > - -- > Yes means no and no means yes. Delete all files [Y]? > Joseph C. Lininger, > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) > > iQEbBAEBCAAGBQJLTSzYAAoJEMh8jNraUiwqftoH9ibIRC+TN7NH+K6kM2AobAIQ > FWCWTVHA1vGxm9Snlulpk5IeWSa9+rNGJonahKaAXjtR6HSBP6V9otV292i6sJLu > BEO9ks3yMCGtD7h5nKmtf/xvksM/5YMMKDFtbrSGkoYosvgF96J4nTQZizyYhDbI > +MtQ1HouaQHE23nn5ja8bXp5BktfdpksieX1GQpFn88lVwd5D4bNR+MSvKycWH7c > uIaCt+G8qYLHubPN7tPecnbejl6ODz5bqD7T5/EoSER5sHDZBF+LFkYKYhKXtVFa > Bc2Wz/gIDgC0K8E1GNvTlTUoT9wRqS+zga4EbVOlL/oRDCJHB1E1q/tgPpdcBw== > =lnZ0 > -----END PGP SIGNATURE----- > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup -- Gena four kinds of freedom, for the users of the software: * The freedom to run the program, for any purpose (freedom 0). * The freedom to study how the program works, and adapt it to your needs (freedom 1). Access to the source code is a precondition for this. * The freedom to redistribute copies so you can help your neighbor (freedom 2). * The freedom to improve the program, and release your improvements to the public, so that the whole community benefits (freedom 3). Access to the source code is a precondition for this. Richard Matthew Stallman