Find the answer to your Linux question:
Results 1 to 6 of 6
My freinds DELL Latitude laptop that was running Win98 crashed and she asked me to install linux on it. I installed Red Hat 7.2, but the first time i booted ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2004
    Posts
    3

    file system with errors


    My freinds DELL Latitude laptop that was running Win98 crashed and she asked me to install linux on it. I installed Red Hat 7.2, but the first time i booted it up, with GRUB, I got this error:

    / contains a file system with errors, check forced.
    Error reading block 1310833 (Attempt to read block from filesystem rusulted in short read) while doing inode scan.

    Then I'm dropped into the shell. What can I do to get this up and running?

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Do this:

    Code:
    fsck /dev/hdxy
    Where x=a,b,c,d (primary/secondary master/slave) and y the partition number (0 and up) of your root (/) partition.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    Just Joined!
    Join Date
    Mar 2004
    Posts
    3
    Typed in: fsck /dev/hdxy

    Got back:
    fsck.ext2: No such file or directory while trying to open /dev/hdxy

    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, then the superblock is corrupt, and you might try rinning e2fsck with an alternate superblock: e2fsck -b 8193 <device>

    What now?

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer
    Join Date
    Jul 2003
    Location
    Stockholm, Sweden
    Posts
    1,296
    Code:
    fsck /dev/hdxy


    Where x=a,b,c,d (primary/secondary master/slave) and y the partition number (0 and up) of your root (/) partition.
    I dont think you noticed that he had sayd that.

    Substitute xy for the real drive/partition letter and number

  6. #5
    Just Joined!
    Join Date
    Mar 2004
    Posts
    3
    oops. So I entered: fsck /dev/hda1 and got back /boot: clean, 36/12048 files, 7484/48163 blocks. What next?

    PS- thanks for all of your help, this is frustrating.

  7. #6
    Linux Engineer Nerderello's Avatar
    Join Date
    Apr 2003
    Location
    North East England
    Posts
    1,190
    you may have a media (disk) problem, in which case you may want to try running badblocks

    run it as root by :-
    Code:
    /sbin/badblocks /dev/hda1
    have fun

    Nerderello

    Use Suse 10.1 and occasionally play with Kubuntu
    Also have Windows 98SE and BeOS

Posting Permissions

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