vypsat oddíly fdisk -l
- If you don’t know the device name, use
fdisk
,df
, or any other tool to find it. - Unmount the device:
sudo umount /dev/sdc1
Copy - Run
fsck
to repair the file system:sudo fsck -p /dev/sdc1
CopyThe-p
option tellsfsck
to automatically repair any problems that can be safely fixed without user intervention. - Once the file system is repaired, mount the partition:
sudo mount /dev/sdc1