Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I think this is a non-Linux issue and that you have to find a manufacturer specific program to do this. Have a Google search for your drive (manufacturer) and "zero fill" or "low level format". When I did that in the past I had to run a proprietary program from a floppy!
basically I wanted to do zero fill becoz some virus are very strong and they are not removed even by full format.
do dd command will do??
also pls tell me is data recovery possible even after i issue dd command to my hard disk??
Yes, dd will do this---did you read my other post?
If you do one pass with dd or similar, data is not recoverable by any normal means. Apparently, there is a small residual which might allow some recovery---this is why the secure "wipe" routines do multiple passes.
To just kill the viruses, one pass with either zeros or random will be fine.
dd is actually quite fast if you use a large enough block size. I routinely write a zero-filled file to my various partitions to fill them, thus zeroing out any unused blocks (which might contain data from previous writes/deletes), and I can fill 10 gigs in about a minute.
I just write the file until dd bombs because the hd is full, then I delete the file.
dd does not do formatting--it only reads and writes raw bytes.
GParted is a partitioning tool--it will not create file systems, nor will it do anything that dd does.
At least in the Windows world, "Formatting" commonly means to partition and set up the filesystem.
Starting with a disk drive with no data on it (eg all zeros written by dd):
The partitioning tool writes a partition table in the MBR which simply gives the addresses of the partitions. If there is an extended partition + logical partitions, then additional partition tables are created in the first sector of some partitions.
A filesystem is created with a utility (eg mkfs) that writes filesystem information to a specific partition. Only then can you read and write data with normal commands.
a utility such as dd reads and writes data regardless of partitioning, filesystems, or anything else.
Basically I just wanted to format my pc.I tell u my requirement:
1.It should erase data permanently so that its impossible to recover data back
2.My pc was infected with viruses.I doubt that it may contain some boot viruses.I want to remove them completely.
do the command dd do what we call "zero fill" in hard disk manufactures langauge.or i have to go to them in order to zero fill it??
So whats the solution of that.....one more thing...gparted also contained the options of formating the hard disk in any format...ie ext3 ntfs etc...so according to gparted its more than a partitioner
thanx in advance