1. Enter the command to find the root partition: Mount | grep "on" 2. then run the command fsck to fix fsck-y/dev/sda2 (root partition). Note: The-Y option specifies that yes3 is automatically input for each file to be detected. Fsck fixed the boot partition fsck-y/dev/sda13. Reboot restart OK
Fsck. ext4 [-panyrcdfvtdfv] [-B superblock] [-B blocksize]
[-I inode_buffer_blocks] [-P process_inode_size]
[-L |-l bad_blocks_file] [-c fd] [-J external_journal]
[-E extended-options] 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
-Bsuperblock Use alternative superblock
-Bblocksize Force blocksize when looking for superblock
-J external_journalSetlocation of the external Journal
-Lbad_blocks_file Add tobadblocks list
-Lbad_blocks_file Set badblockslist