In Ubuntu 12.04 I was used to run the 'Disk Utility' and choose 'Check Filesystem'; its subtitle showed also 'and repair'. In Ubuntu 16.04 I have only found the 'Disks' utility that looks similarly but has no 'Check Filesystem' option, even for the superuser.
Asked
Active
Viewed 1e+01k times
2 Answers
14
To check the file system on your Ubuntu partition...
- boot to the GRUB menu
- choose Advanced Options
- choose Recovery mode
- choose Root access
- at the # prompt, type
sudo fsck -f / - repeat the
fsckcommand if there were errors - type
reboot
If for some reason you can't do the above...
- boot to a Ubuntu Live DVD/USB
- start
gpartedand determine which /dev/sdaX is your Ubuntu EXT4 partition - quit
gparted - open a
terminalwindow - type
sudo fsck -f /dev/sdaX# replacing X with the number you found earlier - repeat the fsck command if there were errors
- type
reboot
heynnema
- 73,649
1
Just some comments:
- To enter the GRUB menu press and hold SHIFT while booting
- In Recovery Mode better to choose "fsck - Check all file systems", see picture.
Great description here: How to Use ‘fsck’ to Repair File System Errors in Linux
Erzi
- 21
