How do I use fsck to repair disk problems?

How do I use fsck to repair disk problems?
Answer
Repair Corrupted File System
  1. If you don’t know the device name, use fdisk , df , or any other tool to find it.
  2. Unmount the device: sudo umount /dev/sdc1.
  3. Run fsck to repair the file system: sudo fsck -p /dev/sdc1. …
  4. Once the file system is repaired, mount the partition: sudo mount /dev/sdc1.
 

Tìm kiếm

Back
Top