Results 1 to 5 of 5

Thread: Linux boot

  1. #1

    Default Linux boot

    When booting up in red hat linex I get the error message:
    Duplicate blocks found:
    There are 2 inodes containing bad blocks.
    (time and dates info)has 1 block shared with 1 file
    Give root password for maintenance.
    If I type in my password I get
    (repair file system) 1 #
    WHAT THEN ?I am not too familiar with DOS.

  2. #2

    Default Re: Linux boot

    you need us fsck to repair the file system.

    eg to fix the first partion on the first drive (C: in dos)

    fsck /dev/hda1

    if you enter man fsck you can read the man page for more details.

  3. #3

    Default Re: Linux boot

    But make sure that /dev/hda1 is the correct partition pertaining to the files in question!

  4. #4

    Default Re: Linux boot

    The disk to check 'fsck = File System ChecK' will probably be /dev/hda5, /dev/hda6 or maybe /dev/hda7, depending on how your partitioning worked out. You should not fsck /dev/hda1 (your win/dos C: disk) because (1) that's a VFAT or DOS16 or something, and (2) the error did not come from that. You should be able to 'cat /etc/fstab' and see what the partitions are. You will have one ext2 partn loaded as '/boot', and one as '/'. There will be one mounted as swap . You want the one which mounts as '/' because that is where '/home/pettits/.gnome/panel.d/... lives. And yes, do a 'man fsck', there might be an option to enter. Or, 'fsck --help' -- the '--help' works on most commands these days.
    But you won't do any harm if you try 'fsck /dev/hda5' then 'fsck /dev/hda6', etc. The worst you'll get is an error message if a partition does not exist. (You may have to give a path to fsck -- I forget -- it will be in /bin or /sbin or /usr/bin or /usr/sbin ... (isn't using uparrow to recall the command line for editing and reentry nice?))

  5. #5

    Default Re: Linux boot

    Could you talk me through it?
    I realise now I shut down wrong but:When I put my password in it does not always work.Then when I
    try to use fsck i get a bit frightened by the possible consequences.I think I had it this afternoon and fsck did its thing but then I could not get back to normal so 'turned off'and I see now I went back to where I was.
    I need a secure path of commands to follow and especially an exit at the end to get out.My original problem probably arose from a freez up and I had to shut down cause I knew no better.

Similar Threads

  1. Linux won't boot from CD
    By cybernerd in forum PressF1
    Replies: 24
    Last Post: 29-06-2007, 07:51 PM
  2. how to boot into linux?
    By Megaman in forum PressF1
    Replies: 3
    Last Post: 11-11-2003, 03:21 PM
  3. Linux will not boot
    By in forum PressF1
    Replies: 2
    Last Post: 22-01-2002, 03:25 PM
  4. Linux - boot problem.
    By in forum PressF1
    Replies: 3
    Last Post: 21-10-2001, 04:35 PM
  5. Linux Boot problem
    By in forum PressF1
    Replies: 0
    Last Post: 12-08-2000, 12:24 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