e2fsck after hard shutdown

antonio montagnani antonio.montagnani at alice.it
Sat Sep 5 05:31:17 UTC 2015


Robert Nichols ha scritto il 05/09/2015 alle 03:32:
> On 09/04/2015 04:40 PM, antonio montagnani wrote:
>> Sometimes if you have to shut-down improperly or power is missing, it
>> happens that your system doesn't start in the usual way, but in a kind
>> of emergency mode, and you can enter in it by Ctrl D...after that
>> usually you have to make a control on your filesystem using an
>> installation media (DVD or USB key) and running e2fsck at least on your
>> /home.
>> Is it not possible to run e2fsck during the standard boot before
>> filesystems are mounted?? (maybe a stupid question, forgive me and my
>> bad english)
>
> Instead of typing Ctrl-D, enter the root password and you should get
> a root shell, from which you can run e2fsck.  The only time you should
> need to do that is if the filesystem has damage more serious than can
> be safely repaired by the automatic fsck.  Since you mentioned "e2fsck"
> I'm assuming that your filesystem is ext2/3/4.  If it's actually one
> of the newer, more exotic types (xfs, btrfs, ...), none of this advice
> may apply.
>

do you mean that I could run e2fsck from inside the root shell? I 
guessed that filesystems were already mounted and e2fsck doesn't work on 
mounted filesystems.... I have to study. :-)

-- 
Antonio M
Skype: amontag52

Linux Fedora F22 (Twenty two)
on Fujitsu Lifebook A512

http://lugsaronno.altervista.org
http://campingmonterosa.altervista.org



More information about the users mailing list