Results 1 to 10 of 10

Thread: Physical damage to disk

  1. #1
    Join Date
    Apr 2009
    Beans
    281
    Distro
    Ubuntu 10.04 Lucid Lynx

    Physical damage to disk

    I apparently have a damaged hdd. Windows was installed and I used a gparted live disk to check things out. It right away reported the the disk has been damaged. Can I check and mark the bad sectors (fix) from within Linux? Or should I use a configuration diskette specifically for my hdd?
    "If it ain't broken don't fix it", Just break it so you have to fix it!

    Dell Optiplex Gx270 P4 2.40 ghz 1.5 gb Nvidia GEforce 440 64 megs. (Lappy, Dell inspiron 1440 dual core 4 megs)

  2. #2
    Join Date
    Mar 2008
    Location
    The Burning Earth.
    Beans
    3,660

    Re: Physical damage to disk

    Your best option may be to replace the drive.
    God does not play dice with the universe - Albert Einstein
    Sure I do, I just use loaded dice. - warfacegod

    An open forum. Its a free for all. Check us out. https://openlinuxforums.org/

  3. #3
    Join Date
    Jul 2007
    Beans
    983
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Physical damage to disk

    Quote Originally Posted by Feelin_froggy8877 View Post
    I apparently have a damaged hdd. Windows was installed and I used a gparted live disk to check things out. It right away reported the the disk has been damaged. Can I check and mark the bad sectors (fix) from within Linux? Or should I use a configuration diskette specifically for my hdd?
    well if you indeed have a damaged HD run, do not walk, to your local geek store and get a new disk! You can marke defects all right, but what caused the damage in the first place? If your drive is faulty and causing lost sectors it now becomes recovery time, your damaged disk might well be unreliable. I would buy a new HD, install Ubuntu or Windows on it and try to recover whatever you can from the old HD.

  4. #4
    Join Date
    Apr 2009
    Beans
    281
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Physical damage to disk

    Well, The person I got the lappy from dropped it. I believe the bad sectors can just be marked as bad. But I'm having trouble running a fsck...
    Code:
    untu@ubuntu:~$ sudo fsck -pcfv /dev/sda
    fsck from util-linux-ng 2.16
    fsck.ext2: Bad magic number in super-block while trying to open /dev/sda
    /dev/sda: 
    The superblock could not be read or does not describe a correct ext2
    filesystem.  If the device is valid and it really contains an ext2
    filesystem (and not swap or ufs or something else), then the superblock
    is corrupt, and you might try running e2fsck with an alternate superblock:
        e2fsck -b 8193 <device>
    And when I run e2fsck -b 8193 /dev/sda I get the same error.
    Last edited by Feelin_froggy8877; January 16th, 2010 at 09:28 PM.
    "If it ain't broken don't fix it", Just break it so you have to fix it!

    Dell Optiplex Gx270 P4 2.40 ghz 1.5 gb Nvidia GEforce 440 64 megs. (Lappy, Dell inspiron 1440 dual core 4 megs)

  5. #5
    Join Date
    Mar 2008
    Location
    The Burning Earth.
    Beans
    3,660

    Re: Physical damage to disk

    Quote Originally Posted by Feelin_froggy8877 View Post
    Well, The person I got the lappy from dropped it. I believe the bad sectors can just be marked as bad. But I'm having trouble running a fsck...
    Trust me on this! Backup your important files ASAP. You will need to buy a new drive. There is no question on this it just a matter of time.
    God does not play dice with the universe - Albert Einstein
    Sure I do, I just use loaded dice. - warfacegod

    An open forum. Its a free for all. Check us out. https://openlinuxforums.org/

  6. #6
    Join Date
    Mar 2008
    Location
    127.0.0.1
    Beans
    193
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Physical damage to disk

    Methinks it's time to buy yourself a snazzy new disk, after salvaging what you can off that one

  7. #7
    Join Date
    Jun 2008
    Location
    Ballard
    Beans
    2,409
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Physical damage to disk

    New drives are cheap. Value your time and your data more. Get a new drive and get everything you can off this one.
    "We're all in this together, kid." --H. Tuttle (a.k.a. H. Buttle)
    "Maybe it's a layer 8 problem." --thatguruguy
    A High-Tech Blech!

  8. #8
    Join Date
    Apr 2009
    Beans
    281
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Physical damage to disk

    Guess I'll get myself a new hdd. Thanx for the input.
    "If it ain't broken don't fix it", Just break it so you have to fix it!

    Dell Optiplex Gx270 P4 2.40 ghz 1.5 gb Nvidia GEforce 440 64 megs. (Lappy, Dell inspiron 1440 dual core 4 megs)

  9. #9
    Join Date
    Oct 2009
    Location
    Elgin, IL USA
    Beans
    3,363
    Distro
    Ubuntu 16.10 Yakkety Yak

    Re: Physical damage to disk

    Normally a drive reserves space to automatically exchange bad sectors with good ones transparently. If you actually start seeing bad sectors, it is wise to replace the drive. If BIOS during boot says "drive failure imminent" believe it.

    Don't be surprised if you pick up a laptop drive box in the store and it feels empty (they seem light for the box size). The only question is pata or sata.

    My boss' grandson had an old Dell laptop that he apparently did not treat properly. WinXP would not even boot into safe mode, to protect what data was left. Gparted live CD refused touch it until Windows fixed it. I was able to mount the drive, but trying to copy the user's home directory to USB hd from Linux CD choked to a halt before it even got to My Documents. A new drive was quieter, faster (and bigger).

  10. #10
    Join Date
    Aug 2006
    Location
    Pittston, PA
    Beans
    102
    Distro
    Ubuntu Studio 20.04 Focal Fossa

    Re: Physical damage to disk

    You can verify your hdd dying possible by installing smartmontools

    sudo apt-get install smartmontools

    then:

    sudo smartctl -a /dev/sda

    Will list its SMART data (errors, temp...)

    Of course these can be taken with a grain of salt, but they can be helpful (Like non-corrected ecc errors)

    If the drive is jacked up really bad, you can try Steve Gibsond Spinrite http://grc.com to try to recover data. Otherwise just backup and get a new drive. I wouldn't trust it at this point.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •