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
  •  


~CLEARANCE SALE~ 13.3

~CLEARANCE SALE~ 13.3" TouchScreen HP EliteBook: Intel i7 8GB RAM 256GB SSD

$244.99



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP

$38.99



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$14.85



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3

$21.50



Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM picture

Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM

$21.33



CORSAIR Vengeance RGB Pro 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3600 (PC4 28800) picture

CORSAIR Vengeance RGB Pro 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3600 (PC4 28800)

$79.95



HyperX FURY DDR4 16GB 32GB 64GB 2666MHz PC4-21300 Desktop RAM Memory DIMM 288Pin picture

HyperX FURY DDR4 16GB 32GB 64GB 2666MHz PC4-21300 Desktop RAM Memory DIMM 288Pin

$119.80



A-Tech 128GB 8x 16GB 2Rx4 PC4-19200R DDR4 2400 ECC REG RDIMM Server Memory RAM picture

A-Tech 128GB 8x 16GB 2Rx4 PC4-19200R DDR4 2400 ECC REG RDIMM Server Memory RAM

$175.92