Linux Parted question (fwd)
Georgina Joyce
r2gl at o2.co.uk
Wed Jan 13 09:34:29 EST 2010
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" <jbahm at pcdesk.net>
> To: "Speakup is a screen review system for Linux." <speakup at braille.uwo.ca>
> 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/<disk name> 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, <jbahm at pcdesk.net>
> -----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 at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
> _______________________________________________
> Speakup mailing list
> Speakup at 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
More information about the Speakup
mailing list