My laptop had been setup to dual boot Suse 9.3 and Windows XP, in seperate partitions, on the same drive. The Windows (ntfs) partition started to fail miserably. Applications that previously worked failed to load or even re-install. I could run chkdisk on every reboot and it would find problems. I tried to format the entire hard drive (Linux partition too) to reinstall Windows and Linux on a clean drive. I formatted first using Windows Recovery Console, then again during the XP install. It failed and Windows would not install. So I installed Suse 9.3 with no problems using the Reiser format. Go Linux! Anyways, what can I do to find out if I have a physical problem with my drive, and if I do, can I mark a section of the hard drive as 'bad' so that it will not be used? I can't afford a new hard drive, and desperately need this laptop as it is my only computer. Thank you for any help or suggestions. James W
James Wright wrote:
Anyways, what can I do to find out if I have a physical problem with my drive, and if I do, can I mark a section of the hard drive as 'bad' so that it will not be used? I can't afford a new hard drive, and desperately need this laptop as it is my only computer. Thank you for any help or suggestions.
I don't know about marking a section bad, but you can alway create a partition containing the bad area and just not use it.
At 11:17 PM 10/6/2005 -0400, James Knott wrote:
James Wright wrote:
Anyways, what can I do to find out if I have a physical problem with my drive, and if I do, can I mark a section of the hard drive as 'bad' so that it will not be used? I can't afford a new hard drive, and desperately need this laptop as it is my only computer. Thank you for any help or suggestions.
I don't know about marking a section bad, but you can alway create a partition containing the bad area and just not use it.
--
I would have to tell you that XP has been a very solid OS, even if you don't trust MS--as I don't either. There are programs--most of which run on some version of DOS or Windows--which will attempt to find bad sectors, etc. on a drive and mark them. Some of these may run from a floppy, and they may be available free--or maybe not. Try and Google for something that will find bad sectors. Then it may mark them, and protect from trying to format and use them. I'm not sure how this kind of thing works, but it was common 15 years ago, or so, when there were bad sectors frequently found on disks. I don't know if this technology will work for an NTFS file system, or whatever MS uses to format a drive. (It's _not_ fdisk anymore.) I would be unhappy with a drive that had bad sectors in this modern age. I wouldn't trust it. Hard drives are not that expensive nowadays, even the ones that go in laptops. If I am in error here, please correct me. --doug -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.13/123 - Release Date: 10/6/2005
On Friday 07 October 2005 02:52, Doug McGarrett wrote:
I would be unhappy with a drive that had bad sectors in this modern age. I wouldn't trust it.
In my experience, when a drive starts having bad sectors, the end is near. It will just get more and more bad sectors until it becomes unusable. You should back up your data immediately and replace the drive. Bryan ******************************************************** Powered by SuSE Linux 9.2 Professional KDE 3.3.0 KMail 1.7.1 This is a Microsoft-free computer Bryan S. Tyson bryantyson@earthlink.net ********************************************************
On 07/10/05, Bryan Tyson
On Friday 07 October 2005 02:52, Doug McGarrett wrote:
I would be unhappy with a drive that had bad sectors in this modern age. I wouldn't trust it.
In my experience, when a drive starts having bad sectors, the end is near. It will just get more and more bad sectors until it becomes unusable. You should back up your data immediately and replace the drive.
Bryan
Every hard drive ships brand new with some bad sectors.... -- ============================================== I am only human, please forgive me if I make a mistake it is not deliberate. ============================================== Take care. Kevan Farmer 34 Hill Street Cheslyn Hay Staffordshire WS6 7HR
Kevanf1 wrote:
On 07/10/05, Bryan Tyson
wrote: On Friday 07 October 2005 02:52, Doug McGarrett wrote:
I would be unhappy with a drive that had bad sectors in this modern age. I wouldn't trust it. In my experience, when a drive starts having bad sectors, the end is near. It will just get more and more bad sectors until it becomes unusable. You should back up your data immediately and replace the drive.
Bryan
Every hard drive ships brand new with some bad sectors....
Modern drives have spare sectors, which are used to replace bad ones. When bad sectors are visible, it means all the spares have been used and the drive is well on it's way to failure.
Doug McGarrett wrote:
I would have to tell you that XP has been a very solid OS, even if you don't trust MS--as I don't either. There are programs--most of which run on some version of DOS or Windows--which will attempt to find bad sectors, etc. on a drive and mark them. Some of these may run from a floppy, and they may be available free--or maybe not. Try and Google for something that will find bad sectors. Then it may mark them, and protect from trying to format and use them. I'm not sure how this kind of thing works, but it was common 15 years ago, or so, when there were bad sectors frequently found on disks. I don't know if this technology will work for an NTFS file system, or whatever MS uses to format a drive. (It's _not_ fdisk anymore.) I would be unhappy with a drive that had bad sectors in this modern age. I wouldn't trust it. Hard drives are not that expensive nowadays, even the ones that go in laptops. If I am in error here, please correct me.
My understanding is that modern drives automagically map out bad sectors and replace them with spares. And if a drive gets to the point where it runs out of spares and bad sectors become visible, the drive isn't long for this world. Also, formatting is supposed to identify and map out bad sectors. Incidentally, fdisk has never been used to format a drive. It is use to partition a drive. The command in Windows was and as far as I know still is, "format". In Linux, it's "mkfs".
James, On Friday 07 October 2005 06:29, James Knott wrote:
...
My understanding is that modern drives automagically map out bad sectors and replace them with spares. And if a drive gets to the point where it runs out of spares and bad sectors become visible, the drive isn't long for this world. Also, formatting is supposed to identify and map out bad sectors. Incidentally, fdisk has never been used to format a drive. It is use to partition a drive. The command in Windows was and as far as I know still is, "format". In Linux, it's "mkfs".
True, mostly. Formatting a drive must be distinguished from formatting a file system on (a partition of) a drive (and from partitioning, as you say). OS utilities such as one of the Unix / Linux "mkfs" programs (each kind of file system has its own) or "format" under Windows perform file system formatting. One exception is that on Windows the format command also does drive formatting for floppies. There's a comparable user-level utility for formatting diskettes under Linux, though I use it so rarely I can't recall offhand what it's called... There it is: "fdformat." Disk formatting for hard drives, on the other hand, is usually handled in the controller's BIOS, though there are user-level utilities in Linux: scsiformat and it's pretty cousin tk_scsiformat. Presumably Windows has its counterpart, but we wouldn't know about that... Randall Schulz
On 10/7/05, James Wright
Anyways, what can I do to find out if I have a physical problem with my drive, and if I do, can I mark a section of the hard drive as 'bad' so that it will not be used? I can't afford a new hard drive, and desperately need this laptop as it is my only computer. Thank you for any help or suggestions.
To find out if your reiserfs partition(s) have bad blocks you can run /sbin/badblocks [-b <reiserfs-block-size>] device > badblocks.lst Default block size is 4K but if unsure use 'debugreiserfs device' to find out. To fix bad blocks on a reiserfs issue reiserfsck --badblocks file device with 'file' as the list of all bad block found by the badblocks program. Some data on this filesystem may got lost, so you might want to backup all bad blocks before fixing them. Try dd_rescue and run reiserfsck on the backup. To create a reiserfs on a partition with badblocks, supply the --badblocks argument to mkreiserfs. \Steve
On Thu, 06 Oct 2005 16:52:46 -0600, you wrote:
My laptop had been setup to dual boot Suse 9.3 and Windows XP, in seperate partitions, on the same drive. The Windows (ntfs) partition started to fail miserably. Applications that previously worked failed to load or even re-install. I could run chkdisk on every reboot and it would find problems. I tried to format the entire hard drive (Linux partition too) to reinstall Windows and Linux on a clean drive. I formatted first using Windows Recovery Console, then again during the XP install. It failed and Windows would not install. So I installed Suse 9.3 with no problems using the Reiser format. Go Linux!
Anyways, what can I do to find out if I have a physical problem with my drive, and if I do, can I mark a section of the hard drive as 'bad' so that it will not be used? I can't afford a new hard drive, and desperately need this laptop as it is my only computer. Thank you for any help or suggestions.
James W
Assuming that you have an IDE drive (or a SCSI drive) - bad block marking is fully automatic. If your drive is showing bad blocks it means that the alternate block table is full and the drive is a day or so from complete failure. Seen it too many times to count on IDE drives, especially Maxtor and Fujitsu. Generally they make it to 'warranty period plus one'. Mike- -- Mornings: Evolution in action. Only the grumpy will survive. -- Please note - Due to the intense volume of spam, we have installed site-wide spam filters at catherders.com. If email from you bounces, try non-HTML, non-encoded, non-attachments.
James Wright wrote:
Anyways, what can I do to find out if I have a physical problem with my drive, and if I do, can I mark a section of the hard drive as 'bad' so
try the "smart" utilities, if your laptop is not too old, they should do the job (and in the beginning from the BIOS) but if the disk is failing, it is dead when you begin to know. sorry but it's very unwise to continue use it :-(( jdd -- pour m'écrire, aller sur: http://www.dodin.net http://valerie.dodin.net http://arvamip.free.fr
participants (9)
-
Bryan Tyson
-
Doug McGarrett
-
James Knott
-
James Wright
-
jdd sur free
-
Kevanf1
-
Michael W Cocke
-
Randall R Schulz
-
Steve Graegert