Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: "File system is NOT clean" - sign in issue

  1. #1
    Join Date
    Dec 2010
    Location
    Sydney, Australia
    Beans
    54

    "File system is NOT clean" - sign in issue

    Lubuntu 12.10 (?) dual boot with Win 7. Toshiba notebook sort of thing.

    Since the upgrade to 12.10, can no longer log in, screen keeps coming back for username and login details repeatedly.

    Booted into rescue mode, ran a few commands found by doing the usual Google searches, still not able to log in.

    Confirmed user name and changed password as per these commands.

    Now in rescue mode get error message "File system is NOT clean" (next line) File system seems mounted read-only".

    Maybe this is the cause of my issues?

    How do I make the file system "clean", and what else do I need to do?

    As usual, thanks in advance!

  2. #2
    Join Date
    Oct 2012
    Beans
    21

    Re: "File system is NOT clean" - sign in issue

    Have you run fsck on the disk yet? What were the results?

  3. #3
    Join Date
    Dec 2010
    Location
    Sydney, Australia
    Beans
    54

    Re: "File system is NOT clean" - sign in issue

    Thanks, rang fsck, No corruption reported, except at beginning:-

    "File system seems mounted read-only.
    Skipping journal replay"

    This is in spite of running

    mount -o remount, rw/
    sync
    reboot -f

    which I found on a few sites as a read only work around.

  4. #4
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: "File system is NOT clean" - sign in issue

    I suggest that you boot from another drive, for example from your Lubuntu CD/USB install drive.

    Then identify the system partition for your installed Lubuntu system with the following commands

    Code:
    sudo fdisk -lu
    Code:
    sudo blkid
    Check with
    Code:
    df
    that the system partition for your installed Lubuntu system is not mounted. If it is mounted unmount it with
    Code:
    sudo umount /dev/sdxy
    where x is the device letter (a for the first drive, b for the second one ...) and y is the partition number (1 for the first partition, ..., 5 for the first logical partition ...)

    Post the result of the previous commands if you need help to identify the root partition of your installed system!

    Then run e2fsck to check and repair the file system
    Code:
    sudo e2fsck -f /dev/sdxy
    If you have a separate /home partition, you might need to check it in the same way too.

  5. #5
    Join Date
    Dec 2010
    Location
    Sydney, Australia
    Beans
    54

    Re: "File system is NOT clean" - sign in issue

    Thanks for the above, unfortunately cannot boot from any installation cd (see thread Toshiba T110 - dvd hangs on install. dated 2010. (Don't ask how I finally managed to install, I must have fluked it!).

    So ran the command from root in the boot up rescue for 12.10 on the Toshiba. Mounted on fda4.

    Error message "The superblock could not be read or does not describe a correct ext2 filesystem"

    Fritzed?

  6. #6
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: "File system is NOT clean" - sign in issue

    If you cannot boot from CD, you probably booted and installed from a USB drive (pendrive or HDD). Could you do that again? Because it is strongly recommended for e2fsck to operate on an unmounted device. Read
    Code:
    man e2fsck

  7. #7
    Join Date
    Dec 2010
    Location
    Sydney, Australia
    Beans
    54

    Re: "File system is NOT clean" - sign in issue

    How about I try from a "free this month" cd on a linux mag. Would that do it? What I had in mind run the cd in demo mode under ******* and see if I can open a terminal?

  8. #8
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: "File system is NOT clean" - sign in issue

    You can always try to boot directly or under Windows with such a linux CD. If it has e2fsck (and it should), and if it can see the linux file system, it should work.

  9. #9
    Join Date
    Dec 2010
    Location
    Sydney, Australia
    Beans
    54

    Re: "File system is NOT clean" - sign in issue

    Apologies for late reply.

    Booted from "free" distro (magazine special). Errors received as follows

    Bad magic number in superblock
    Superblock invalid

    I then ran the alternate suggestion to create a new superblock.

    Superblock could not be read or does not contain a valid ext2
    2 filesysytem.

    Apologies for taking your time! Anything else I can try except a complete re-install?

  10. #10
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: "File system is NOT clean" - sign in issue

    Please explain in more detail:

    What free distro is it?
    When you boot from that disk, what can you do?

    Can you 'see' the internal drive?
    Can you 'see' any partitions on it?
    Can you mount any partitions on it?
    Can you read a file from any of the partitions?
    Can you write a file from any of the partitions?

    What about the lubuntu partition?
    Can you 'see' it?
    Can you mount it?
    I guess you cannot read a file from it?
    If mounted, can you unmount it?
    Can you run
    Code:
    e2fsck -f /dev/sdxy
    on the lubuntu partition?

    At what instance do you get the output
    Booted from "free" distro (magazine special). Errors received as follows
    1.
    Bad magic number in superblock
    Superblock invalid
    and 2.
    Superblock could not be read or does not contain a valid ext2
    filesysytem.
    The reason I ask about these details is that I try to understand if the whole drive or only the lubuntu partition is bad, and in what way.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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