The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    fsck error on boot (Ubuntu 9.04)?

    Discussion in 'Linux Compatibility and Software' started by pixelot, Aug 5, 2009.

  1. pixelot

    pixelot Notebook Acolyte

    Reputations:
    3,732
    Messages:
    6,833
    Likes Received:
    0
    Trophy Points:
    205
    Sometime over the past month or so, I started getting an error from the scheduled disk check that runs every so many boots. I've attached a picture of the readout.

    fsck_error.JPG

    When I try running a manual fsck, I end up with basically the same problem this guy has, except more block write errors. Nothing seems to get repaired. And then the process repeats every few boots.

    As a result, I decided to run HDTune, and here are screenshots of my results.

    hd3.png

    hd1.png

    hd2.png

    hd4.png

    As you can see, the Health is supposedly OK, but there is a bad sector in the scan. Could that be the cause of this Ubuntu problem, or is it maybe a corrupt installation instead?

    If it is caused by that disk corruption, should I run e2fsck -c to mark that as bad and not use it, or what?

    TIA,
    -pixelot :cool:
     
  2. archer7

    archer7 Notebook Evangelist

    Reputations:
    289
    Messages:
    647
    Likes Received:
    0
    Trophy Points:
    30
    I had this error a while back and I think it happened because there was an error in /etc/fstab that caused /boot to point to the wrong partition. I believe that to be the case because I had copied over an /etc/fstab from an old install without updating the UIDs. In any case, I decided to just reinstall the OS since it was new anyways.
     
  3. joeelmex

    joeelmex Notebook Evangelist

    Reputations:
    229
    Messages:
    518
    Likes Received:
    1
    Trophy Points:
    31
    Sorry to tell you this but a bad sector is actually a bad part of the hard drive. That is time to replace the hard drive. Right now I only see one but in time it will start multiplying. The good thing is that your OS knows where it is and it wont write information because it will get lost if it does. Time to see if you laptop has any warranty, if it does, they will usually sent you a replacement.
     
  4. pixelot

    pixelot Notebook Acolyte

    Reputations:
    3,732
    Messages:
    6,833
    Likes Received:
    0
    Trophy Points:
    205
    Well, thanks for the info you guys. :rolleyes:

    I may reinstall, or I may just sit it out, in which case should I go ahead and run e2fsck -c?

    At any rate, I was planning on upgrading my laptop HDD to something bigger, and maybe the RAM and wireless card too (if that's possible).

    So if my HDD is dying, it's not a huge deal. About the warranty... I'm not sure if I'm still under warranty, but I think I am. So I guess I could go ahead with that idea. I wonder if Dell voids the warranty if you decide to upgrade your own? If that's allowed, I could

    1. Use the one they send me for an external
    2. Upgrade my laptop HDD
    3. ???
    4. Profit!!! :D

    Of course if my warranty is up soon anyway, I could get a replacement HDD from them, and then do whatever upgrades I wanted and just sail off into the brave world of warranty-free waters. ;) :p
     
  5. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    Pix, I would replace the internal HDD, and maybe use the one you take out as an external and keep and eye on it. Back when I used to keep desktops forever, I'd wear out HD's and the bad sectors would proliferate over time at which time I'd swap the drive.

    I might keep my /home and do another install and see what happens....with 80gigs, you need another HD anyway.... :)
     
  6. mr_raider

    mr_raider Notebook Consultant

    Reputations:
    13
    Messages:
    160
    Likes Received:
    0
    Trophy Points:
    30
    Boot from a LiveCD/Live USB, run gparted and do a check. It will output a log file you can study.

    how old is the HDD?
     
  7. Bog

    Bog Losing it...

    Reputations:
    4,018
    Messages:
    6,046
    Likes Received:
    7
    Trophy Points:
    206
    Replacing the HDD because of one bad sector is pointless, wasteful, and impractical unless you see the problem worsening. As long as you keep up-to-date back ups of the machine in case of a total failure, there is no reason to replace an otherwise perfect hard disk.

    There are built-in utilities in most Linux distros that allow you to add bad sectors to a black list for future reference. See here: http://linuxgazette.net/issue42/tag/10.html
     
  8. gerryf19

    gerryf19 I am the walrus

    Reputations:
    2,275
    Messages:
    3,990
    Likes Received:
    0
    Trophy Points:
    105
    I basically agree with you, but I also agree with everyone else.

    I've got five year old harddrives with 2-3 bad sectors that work just fine, but I have also had drives where the first bad sector is a warning sign of a bad sector cascade into storage hell.

    One never knows, that's why one keeps back ups.

    The key problem with a drive with a bad sector is that most of the time, you cannot image it. That's why I typically replace a system drive when it develops bad sectors and relegate the drive with a bad sector to simple storage (which I back up file by file, rather than by image).
     
  9. pixelot

    pixelot Notebook Acolyte

    Reputations:
    3,732
    Messages:
    6,833
    Likes Received:
    0
    Trophy Points:
    205
    Thanks for the input... I do keep my info current on three HDDs at all times, so if it fails, I'm not in the proverbial soup. :p

    However, I would like a bigger HDD, so maybe I'll get a bigger one, and then use this as an external, or maybe stick it in my mom's laptop, which has eaten the last two drives I put in it. This time I might try using a cooling pad or something, in case it is a heat damage issue, as was suggested in my thread about it. :rolleyes:

    Ah, thanks. That's the e2fsck -c command that I'd read about. :)
     
  10. theZoid

    theZoid Notebook Savant

    Reputations:
    1,338
    Messages:
    5,202
    Likes Received:
    22
    Trophy Points:
    206
    I'd first find out if it was indeed a bad sector, or some file corruption.
     
  11. pixelot

    pixelot Notebook Acolyte

    Reputations:
    3,732
    Messages:
    6,833
    Likes Received:
    0
    Trophy Points:
    205
    Hmmm. Would HDTune show it as a red block if it was just file corruption? :rolleyes:
     
  12. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
  13. pixelot

    pixelot Notebook Acolyte

    Reputations:
    3,732
    Messages:
    6,833
    Likes Received:
    0
    Trophy Points:
    205
    Just as an update... I did end up running e2fsck -c because the drive really started acting up, and it actually seems to have helped for now. :)

    After doing that, I was able to run HDTune, which came up clean. So I think I'll be able to get along until I get a new drive. Thanks again for the help! :cool: