Results 1 to 9 of 9

Thread: harddrive bad block?

  1. #1
    winowman
    Guest

    harddrive bad block?

    Well.. I did a harddrive install everything was fine
    then one day I booted up and it said my partion is mounted read only and that it needs me to run a commanded to fix it. it wanted me to remount it read write ..

    I think I did that ok..

    then it wanted me to do a command to fix the harddive problem. it was like e2fc or something like that with -b 8139 or something like that it wanted me to try so I typed it in corectly (what ever the command was) -b the number they sujested /dev/hda1 (my device) although nothing happened .. I can access my files any othere way othere then booting from the cd and the cd is too slow...

    I wanna access my files again and boot from hd again is there anyone who can help me fix this.. maybe when I am in the cd. can I right click or run some command from a shell or something that will fix the boot block or errors on this drive ? without damaging the way it booted before.. not sure what happened although I know we had a few power outages the night before that might of done.. it.. any help appreatiated.. thanks in advance

  2. #2
    winowman
    Guest

    found out kinda what I was doing

    Well after going to http://www.icon.co.za/~psheer/book/n...00000000000000

    i learned the command I was typing was e2fsck.

  3. #3
    winowman
    Guest

    k still not sure

    Ok, heres a update...

    I read that if I am not sure I should just run this...
    fsck -a -t ext2 /dev/hda1
    So I did and well this is what it got me.. not too sure what to do now?! anyone

    --------------
    root@ttyp1[knoppix]# fsck -a -t ext2 /dev/hda1
    fsck 1.30-WIP (30-Sep-2002)
    /dev/hda1 was not cleanly unmounted, check forced.
    /dev/hda1: Entry 'log' in /dev (130305) has deleted/unused inode 132176. CLEARED.
    /dev/hda1: Optimizing directories: 130305
    /dev/hda1: Unattached inode 130307


    /dev/hda1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
    (i.e., without -a or -p options)..
    root@ttyp1[knoppix]#
    ------------------------

    ok dokie it does nothing when just type in fsck

    well it gives me
    -----
    root@ttyp1[knoppix]# fsck
    fsck 1.30-WIP (30-Sep-2002)
    root@ttyp1[knoppix]#
    -------------

    Tottaly lost...

    I just want some command to fix it so I can go back to linux .. I love this thing

  4. #4
    winowman
    Guest

    update

    ok here is what i figured out
    I typed e2fsck /dev/hda1 (I gathere this is what they ment by manual type in fsck.
    it scaned files and dirs and stuff did alot of
    ---------
    Unattached inode 132139
    Connect to /lost+found<y>? yes

    Inode 132139 ref count is 2, should be 1. Fix<y>? yes

    Unattached inode 132147
    Connect to /lost+found<y>? yes

    Inode 132147 ref count is 2, should be 1. Fix<y>? yes

    Unattached inode 132148
    Connect to /lost+found<y>? yes
    -------------------------
    I just kept entering to the standard <y> (yes by pressing enter to all!)

    then I got
    ---------------------
    Pass 5: Checking group summary information





    Block bitmap differences: -262731
    Fix<y>? yes

    Free blocks count wrong for group #8 (15667, counted=1566.
    Fix<y>? yes

    Free blocks count wrong (234069, counted=234070).
    Fix<y>? yes


    /dev/hda1: ***** FILE SYSTEM WAS MODIFIED *****
    /dev/hda1: 128692/390912 files (0.1% non-contiguous), 547082/781152 blocks
    root@ttyp1[knoppix]#
    ----------------

    SO now I attempt to reboot and see if it works?!

    feel free if you seem to know what is going on here to make me feel alot better and tell me I am doing fine or point me in the right direction..

    I feel like I am talking to a wall and begging for help..

  5. #5
    winoman
    Guest

    nop no go

    Nope.. same thing..

    ok well here is what it says

    it tells me that it can load the superblock

    and it wants me to mount the device hda1 read write.. and run
    e2fsck -b 8193 <device>

    I do that and it tells me the same thing

    I typed in e2fsck -b 8193 /dev/hda1

    and it tells me it can access the super block

    is there othere numbers I can put in instead of 8193 ??

    HELP?!

    its great I can still access my work but I wanna login and run from hd not slow cd...

  6. #6
    winoman
    Guest

    please?

    Anyone know how to fix this?

    ugh...

  7. #7
    winoman
    Guest

    reloaded

    I reloaded.. but if I get anouther power outage.. is this the way linux is.. should I be running fat32 .. cause it seems to recover better then a ext2 if this is the case linux can't be this unstable..

    how do I mark the parts of my drive so it does not use the bad parts?!

  8. #8
    winowman
    Guest

    Again!! it does it!

    In my slack box it would recover from a simple power outtage.

    I reloaded .. apt-get updated .. tweeked.. was ready to go.. rebooted a few times everything was yadda yadda

    now all I did to test .. was reboot..

    and again it could not recover.. is does fsck have a bug in it.. where do I go to check this?

  9. #9
    Junior Member registered user
    Join Date
    Nov 2002
    Posts
    22

    Same Problem!!!

    I had the same problem! I thought it was something I did to my fstab file but I was locked out the same as you more than once. I used xcdroast to save important stuff(after booting in with the cd) and just did a reinstall. I love how fast knoppix goes in! But truthfully for the time being I am using Redhat 8 because I had guests for the Holidays and RH seems pretty much the most stable distro I have used of late. When they leave I'll play some more and hopefully knoppix will continue to stableize.

    Happy New Year!!!!

Similar Threads

  1. XP Block: Sys files in the way.
    By Facteur in forum Hdd Install / Debian / Apt
    Replies: 12
    Last Post: 05-11-2005, 06:09 PM
  2. fd0 not a valid block device!!
    By smeadows in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 07-23-2004, 03:15 AM
  3. block size error
    By KChris in forum General Support
    Replies: 1
    Last Post: 10-11-2003, 01:47 PM
  4. Where did my USB 2.0 Harddrive Go?
    By Isaacav2 in forum General Support
    Replies: 6
    Last Post: 06-26-2003, 10:38 PM
  5. incorrect block size
    By grungy in forum General Support
    Replies: 2
    Last Post: 04-30-2003, 06:03 AM

Posting Permissions

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


Dell Desktop Computer 16GB RAM 512GB SSD Intel Core i5 8th Gen. Windows 11 Pro picture

Dell Desktop Computer 16GB RAM 512GB SSD Intel Core i5 8th Gen. Windows 11 Pro

$275.60



SGIN 17.3 inch Laptop 8GB RAM 512GB SSD IPS 1080*1920 HD Intel Quad Core 2.9 GHz picture

SGIN 17.3 inch Laptop 8GB RAM 512GB SSD IPS 1080*1920 HD Intel Quad Core 2.9 GHz

$259.00



Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4... picture

Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...

$343.99



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ... picture

Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...

$689.99



Intel - Core i5-13600K 13th Gen 14 cores 6 P-cores + 8 E-cores 24M Cache, 3.5... picture

Intel - Core i5-13600K 13th Gen 14 cores 6 P-cores + 8 E-cores 24M Cache, 3.5...

$272.99



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$259.99



AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor picture

AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor

$319.99



New HP S01 Slim Desktop Computer 10th Gen i3 Quad Core 3.7GHz 8GB 256GB SSD W11 picture

New HP S01 Slim Desktop Computer 10th Gen i3 Quad Core 3.7GHz 8GB 256GB SSD W11

$169.99



RTX 3070, Intel 14-Core Gaming Computer Desktop PC, 1TB NVME SSD, 32GB RAM picture

RTX 3070, Intel 14-Core Gaming Computer Desktop PC, 1TB NVME SSD, 32GB RAM

$639.98