Hi David, Agreed, no e2fsck output when it is forced to work for a long period is not ideal. Thankfully this is a very rare occurrence.
If we can come up with a clever spinning wheel or such counting the lines e2fsck generates might be a good addition. Recall this all occurs in the "initrd", so the available packages and BusyBox config is quite limited. Any further discussion on this idea should move to the astlinux-devel list. Lonnie On Aug 29, 2017, at 7:48 AM, David Kerr <da...@kerr.net> wrote: > Is that a good idea (redirecting e2fsck to null)? 15 minutes is a long time > to wait with no indication of anything happening. > > David > > On Tue, Aug 29, 2017 at 8:33 AM, Lonnie Abelbeck <li...@lonnie.abelbeck.com> > wrote: > Hi Tim, > > Yes, it was running "e2fsck" with stdout redirected to /dev/null so you did > not see it working ... eventually e2fsck will return with a result code if > left long enough. > > Good to hear your filesystem is now clean, you might reboot once again to > make sure the filesystem is good. > > BTW, if the automatic e2fsck repair did not work, here is the manual fallback > procedure: > -- > ## reboot, and quickly when the RUNNIX boot menu appears type "shell" > boot: shell > > ## Wait for a "runnix# " CLI prompt. > ## determine the first Linux ext2 partition, usually always /dev/sda2 > runnix# findfs LABEL=ASTURW > > ## using the findfs result, run e2fsck manually, you may want to add -y or -p > options > runnix# e2fsck /dev/sda2 > > ## output a list of options for e2fsck > runnix# e2fsck > Usage: e2fsck [-panyrcdfktvDFV] [-b superblock] [-B blocksize] > [-l|-L bad_blocks_file] [-C fd] [-j external_journal] > [-E extended-options] [-z undo_file] device > > Emergency help: > -p Automatic repair (no questions) > -n Make no changes to the filesystem > -y Assume "yes" to all questions > -c Check for bad blocks and add them to the badblock list > -f Force checking even if filesystem is marked clean > -v Be verbose > -b superblock Use alternative superblock > -B blocksize Force blocksize when looking for superblock > -j external_journal Set location of the external journal > -l bad_blocks_file Add to badblocks list > -L bad_blocks_file Set badblocks list > -z undo_file Create an undo file > > ## Depending on how you initially configured AstLinux, check if you also have > a ASTKD partition > ## (typically /dev/sda3 if it exists) > runnix# findfs LABEL=ASTKD > ## If the ASTKD label exists repeat the e2fsck steps above using the ASTKD > label partition. > > ## reboot by issuing "exit" > runnix# exit > -- > > Lonnie > > > On Aug 29, 2017, at 7:02 AM, Tim Turpin <ttur...@z-harris.com> wrote: > > > Never mind. After sitting at that point for about 15 minutes, it somehow > > recovered and finished booting up. All seems well now. > > > > From: Tim Turpin [mailto:ttur...@z-harris.com] > > Sent: Tuesday, August 29, 2017 7:34 AM > > To: astlinux-users@lists.sourceforge.net > > Subject: [Astlinux-users] ASTLinux stopped booting > > > > We took a power hit on our test system yesterday, and now it will only load > > up to a certain point and stops with the following screen: > > > > <image001.png> > > > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.