Linux Parted question (fwd)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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-----



[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux