Re: [CentOS] e2fsck but says mounted and cannot

2021-02-24 Thread Jon LaBadie

On Wed, Feb 24, 2021 at 02:02:38PM -0500, Jerry Geis wrote:

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 ?



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

--
Jon H. LaBadie  j...@labadie.us
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] e2fsck but says mounted and cannot

2021-02-24 Thread Ger van Dijck
Op Wed, 24 Feb 2021 20:02:38 +0100 schreef Jerry Geis  
:



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




Hi Jerry ,


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

Ger van Dijck

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos



--
Gemaakt met Opera's e-mailprogramma: http://www.opera.com/mail/
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] e2fsck but says mounted and cannot

2021-02-24 Thread Jerry Geis
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
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos