| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
|
By Darin at 2004-12-01 16:48
|
|
Case:
I have some hard drives that I had donated, on the condition that I zero-fill them. Zero-fill will erase all data on a hard drive, but this needs to be differentiated from a low-level format, which could damage newer (pretty much anything over 512MB) drives. The key is to find a way to wipe the data on a hard drive without destroying the current manufacturer's low-level format. I searched the web and found DOS utilities that sounded like low-level format utilities and usually were vendor specific, but then I ran into some information about using the simple Linux dd command to zero-fill.
Solution:
What you need is a bootable Linux, there are several available, booting a live Linux such as knoppix or even Tom's RTB, a bootable Linux that fits on floppy, but I happened to use my trusty Slackware Installation CD which, during the install, dumps you to a handy root shell for this. When you boot into a command shell, as root, simply pick the drive you want to fill, hda is primary master, hdb is primary slave, hdc is secondary master, sda is the first SCSI drive, etc, and use the command:
Code:
dd if=/dev/zero of=/dev/hda bs=1M
WARNING! This will destroy ALL data on the hard drive, all boot sector info and all data on all partitions. It will not however render the disk useless, you simply have a clean disk that only needs to have partitions created and a new boot sector installed, which will happen when you install any OS including Linux or Windows. This is a good way to clean up any bad partitions, viruses, botched installs or data that you don't want to be seen (OK, it is theoretically possible to forensically retrive data after using this method, but not likely and not doable by the average computer user) and it is simple to do with existing GNU/Linux!
|
|
|
|
All times are GMT -5. The time now is 06:07 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|
As far as what's to discuss, I guess whether others have used it and had success. Personally, I find it's a great alternative to paying for commercial drive wiping utilities.
damage newer (pretty much anything over 512MB) drives."
I have used utilities from Maxtor, Seagate, and IBM to do
low-level formats on drives for at least 7 years, and have
never had a single problem. And I've never even seen a
drive of 512MB or under.
In fact, there are at least 4 drives in computers we're
using every day, which are under 3 years old, and all
40GB or above, which have had more than one low-
level format -- and they're all just fine.
Really the most it does is void the manufacturer's warranty.
I don't know where you got this information, or if that was just a guess. I'd like to see you produce some "evidence" to corroborate that statement; otherwise, you should edit your post appropriately.
About four years ago I had a new IBM hard drive in a RAID array that seemed to be defective, and IBM told me to low-level format both drives as part of the evaluation process before they gave me a RMA number.
I have these tools from IBM, Seagate, and Maxtor. I believe I had the same tool from Western Digital until perhaps 1999 when I quit using WD drives.
I've used a lot of Maxtor hard drives, and their utilities for a number of years now. The reasons to perform a low-level format may vary, but is the safest way to write a drive completely back to zeros if a "zero fill" option is not available.
You can read this page from Maxtor where they suggest a low-level format, and provide the utility.
I ran the PowerMax diagnostic utility on my hard drive but the BIOS continues to report a S.M.A.R.T or imminent drive failure. What should I do?
Answer
Problem:
The BIOS and third-party utilities report S.M.A.R.T. errors even when the tests from the PowerMax diagnostic all pass.
Solution
1. It is recommended that you backup your data.
2. Use PowerMax to Low-Level format the drive and re-run tests.
Warning: Performing a Low-Level format on the drive will completely erase all data on the drive. Please backup data before performing a Low-Level format.
3. If the BIOS or third-party utility still reports an error with S.M.A.R.T. after PowerMax tests have passed and you low-level formatted the drive then it is recommended that you replace the drive. For more information regarding warranty please visit the Warranty Information Page
I retract some of that posting. The proper term would be that some manufacturers will void the warranty. I found about 20 before I quit searching. Try "low level format void warranty" in google for a comrehensive list of web sites supporting my statement.
Five pages into Google <Linux> produced not one single manufacturer link at all. And five pages deep into a normal Google search and I still fail to see one single manufacturer who says "low level formatting voids your warranty."
I did see one post where someone else told a user that low-level formatting voids your warranty, and the user posted back
Features:
# Low-level format utility (use DFT Utility option: Erase Disk)
The drive has been low level formatted at the factory. Do not low level format
this drive again unless you need to perform certain diagnostics through the
host adapter. If you decide to perform a low level format, do not abort the for-
mat as this is likely to make the drive inoperable. Protect against power failure
or other power interruptions during the format. It may take up to one hour per
gigabyte to low level format the drive (18 hours). Do not reboot or otherwise
disrupt the process.
Warning. Formatting a drive erases all user data. Be sure that you understand
this principle before formatting any hard disc drive. It is not neces-
sary to format a drive that previously has been used to store data,
unless your intention is to erase all user data.
Note. Seagate is not responsible for lost user data.
And this from Seagate, also:
Actually the term "low level" is a bit of a misnomer. The low level process first used years ago in MFM hard drives bears little resemblance to what we now call a "low level format" for today's ATA (IDE) drives. The only safe method of initializing all the data on a Seagate device is the Zero Fill option in DiscWizard Starter Edition.
The Zero Fill option in DiscWizard Starter Edition is the only safe method for use with Seagate hard drives. Some system BIOSs may include a Low Level Format option; use these at your own risk, as this may produce undesirable results.
I guess there is no practical use for this forum then. I will quit it. You are free to have mt posts removed.
You said: Anyone can post something on the internet, which does not make it a fact.
I guess there is no practical use for this forum then. I will quit it. You are free to have mt posts removed.
When others read our information, they're tyring to
get some legitimate help.
I've simply asked you to provide some evidence that
substantiates your post. It's not my responsibility to
edit someone else's incorrect posts. I've edited mine,
when it was brought to my attention that what I had
posted was incorrect.
As for the practical use of this forum, that really must
depend upon the quality of the information.