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
Op Wed, 24 Feb 2021 20:02:38 +0100 schreef Jerry Geis <jerry.geis at gmail.com>:> 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, > > JerryHi Jerry , I would say unmount it and then run the file check. Ger van Dijck> _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos-- Gemaakt met Opera's e-mailprogramma: http://www.opera.com/mail/
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 jcu at labadie.us