Hi, Last night I came to know that somehow bad blocks have been generated in my Hard Disk. When I booted windowz it warned me that there might be some bad blocks in the hard disk so it must check the hard disk, it performed the surface scan and found the bad block. Now I have linux and windows on the same HDD on differnet partitions. So I guess I should check the linux partition too. The tool for check the linux partition would be the "badblocks". 1). My first problem is that I am not too good with the physical managment of the hard disk . "badblocks" ask for "blocks" as an argument. All I did was do a "fdisk -l" on that partition (assuming hda3) and there was a figure like 2000063 under the "blocks" header. I fed that into the badblocks program like this, "badblocks -o bad.blocks.in.hda3 -v /dev/hda3 2000063". I assume this is perfect but the badblocks took only 3-4 minutes to check the whole 2 gb partition. To me thats kind of quick, and the bad bocks checked the blocks from 0-2000063. I am sure I am not getting the "blocks" argument correct, so please help me out, please tell me how do I find what blocks are associated to this specific partition. 2). Secondly , to mark bad blocks in a hdd I assume I should use fsck(fsck with the bad.blocks.in.hda3 file ). I have one swap partition, and one linux native which is mounted on "/" so everything is in it. Now what I have read is that fsck is only to be used with partitions which are not mounted. But my problem is that this partition has root so it is always mounted so how can I use fsck on this partition? How can I mark bad sectors in this partition or is there any other more interactive user friendly tool which I can use and solve these problems? I am a new convert from windowz and right now really miss Norton Disk Doctor. 3). Do I need a to defrag my HDD in linux? If yes then what tool can I use to do it? Thanks a lot, Nauman ----------------------------------------------- FREE! The World's Best Email Address @email.com Reserve your name now at http://www.email.com - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.linux-learn.org/faqs