Re: [SLE] How do I use fsck????

From: Jerry Feldman (gaf_at_blu.org)
Date: 11/02/03

  • Next message: Joe Dufresne: "Re: [SLE] DVD-Program conflict(returned DVD-player with SUSE PRo)"
    Date: Sun, 2 Nov 2003 17:37:02 -0500
    To: suse-linux-e@suse.com
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    On Sat, 01 Nov 2003 14:24:41 -0800
    Tom Nielsen <tom@neuro-logic.com> wrote:

    > I just got 9.0 loaded and everything right where I wanted it when I
    > just had to screw around and cause a problem.
    >
    > I was trying to transfer information from my CF card reader and I
    > couldn't get it to stop so I hit the reset button on my computer. Ya,
    > I know it was stupid, but something was locked up and I didn't know
    > what. Well, upon rebooting, I had a ton of errors, which would be
    > expected, including not being able to get my reiserfs systems mounted.
    > / and /home wouldn't mount and during bootup, I got a message saying
    > it couldn't fsck and that I would have to do it manually. I tried
    > tweaking and playing and finally got to KDE. The problem was that it
    > would reboot itself have way through loading. I managed to get into
    > Gnome just fine.
    >
    > So, what is the correct way to fsck my / and /home partitions? I read
    > the man page but it made about as much sense to me as reading it in a
    > foreign language. So, any help would be great!!
    fsck will run automatically when you transition from single to
    multi-user mode during bootup. Or, you can run it manually. You must be
    in single user mode to fsck root, AND the root file system must be
    mounted read-only. SuSE generally does this for you when you either boot
    up into run level 1 or change to run level 1 from other run levels.

    The other file systems must be unmounted. If you try to run fsck on a rw
    root or mounted file system, you can do bad things.

    Here isi what I generally use:
    fsck -fsy /dev/hda1 /dev/hda2
    The options are:
    f == force
    s == serial (in other words run one at a time).
    y == answere yes to all questions (can be dangerous).

    Many of the options are file system specific (such as ext2 or reiserfs),
    but this is reasonably generic.

    - --
    Jerry Feldman <gaf@blu.org>
    Boston Linux and Unix user group
    http://www.blu.org PGP key id:C5061EA9
    PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

    iD8DBQE/pYcO+wA+1cUGHqkRAlulAJ9bqApo/R8RLhkhJH6iaytFqJSsyACfRxt8
    TGGdoNlCxPGzqAK3ph23fJY=
    =CLzG
    -----END PGP SIGNATURE-----

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Joe Dufresne: "Re: [SLE] DVD-Program conflict(returned DVD-player with SUSE PRo)"