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
  •  


GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX picture

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX

$59.99



GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5 picture

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5

$189.99



Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery picture

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery

$54.99



ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield picture

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield

$84.99



GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard picture

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard

$59.99



MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P picture

MSI B550M PRO-VDH Micro-ATX Motherboard - AMD AM4, Ryzen 5000/4000/3000 Ready, P

$71.49



MSI - B550M PRO-VDH WIFI (Socket AM4) AMD B550 MATX DDR4 Wi-Fi 6 Motherboard ... picture

MSI - B550M PRO-VDH WIFI (Socket AM4) AMD B550 MATX DDR4 Wi-Fi 6 Motherboard ...

$89.99



Asus Prime B660M-A AC D4 Motherboard Intel LGA 1700 14th 13th 12th Gen DDR4 picture

Asus Prime B660M-A AC D4 Motherboard Intel LGA 1700 14th 13th 12th Gen DDR4

$79.99



Gigabyte GA-B85M-D3H Motherboard picture

Gigabyte GA-B85M-D3H Motherboard

$54.99



ASRock IMB-X1314 LGA 1700 Intel W680 DDR4 Quad display Micro-ATX Motherboard picture

ASRock IMB-X1314 LGA 1700 Intel W680 DDR4 Quad display Micro-ATX Motherboard

$351.99