3/29/2024 0 Comments How to boot 4ext recovery![]() ![]() Read man page of fsck for more information. * Once fsck finished, remount the file system: # mount /home Please note if any files are recovered then they are placed in /home/lost+found directory by fsck command. If you don't wanna type y every time then you can use pass -y option to fsck: # fsck -t ext3 /dev/sda2 OR # fsck.ext3 /dev/sda2įsck will check the file system and ask which problems should be fixed or corrected. * Specify the file system type using -t option: * Now run fsck on the partition: # fsck /dev/sda2 * Unmount file system, for example if it is /home ( /dev/sda2) file system then type command: * Take system down to runlevel one: # init 1 ![]() Note: You need to be "root" to use any of the below mentioned command It might be neccesary to run fsck from single-user mode fsck run with no options will check all devices in /etc/fstab. ![]() Usage: fsck įilesystem can be either a device's name (e.g. This tool is important for maintaining data integrity so should be run regularly, especially after an unforeseen reboot ( crash, power-outage). You reboot and the system stops and indicates you must perform a manual repair of the system using fsck.įsck ( file system consistency check) is a command used to check filesystem for consistency errors and repair them on Linux filesystems. A typical situation would be power loss while you are working on the system. At some point your system will crash and you need to perform a manual repair of your file system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |