E2fsck But Says Mounted And Cannot

Home » CentOS » E2fsck But Says Mounted And Cannot
CentOS 2 Comments

I have a system that needs to run e2fsck (C7). I boot into rescue mode, skip to shell (option 3). enter they PW and I type:

e2fsck -y /dev/sda1
and it says is mounted. This is “/”

What do I do so I can run e2fsck ?

Thanks,

Jerry

2 thoughts on - E2fsck But Says Mounted And Cannot

  • Op Wed, 24 Feb 2021 20:02:38 +0100 schreef Jerry Geis
    :

    Hi Jerry ,

    I would say unmount it and then run the file check.

    Ger van Dijck

  • A good first step is to enter “run fsck on root filesystem”, or some such, into your favorite search engine.

    Possibilities:

    1. # touch /forcefsck
    # reboot

    2. # reboot
    select rescue mode from grub menu which likely has an fsck option

    3. boot into live media rather than your hard disk
    now your root partition is just any old partition to fsck