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.

  • 2
    Great... gnome continues to remove useful features...
    – psusi
    Sep 8, 2017 at 1:24
  • 1
    in Ubuntu 18.04, the 'Disks' utility has those options again (Check Filesystem and Repair Filesystem).
    – Georg Jung
    Jun 24, 2018 at 14:56

2 Answers 2


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 fsck command if there were errors
  • type reboot

If for some reason you can't do the above...

  • boot to a Ubuntu Live DVD/USB
  • start gparted and determine which /dev/sdaX is your Ubuntu EXT4 partition
  • quit gparted
  • open a terminal window
  • type sudo fsck -f /dev/sdaX # replacing X with the number you found earlier
  • repeat the fsck command if there were errors
  • type reboot
  • Now I urgently need to repair partitions at an USB disk and at a flash disk. I am in a great time span and I can not afford a mistake by inventing the right commands. I beg you to tell me the commands for a partition mounted as /media/my_user/kus. I hope I can still find the system identifier for the partition. Thanks! Oct 25, 2017 at 6:36
  • I can also use Ubuntu 12.04 at an old Pentium IV PC. Some things still work OK there. Which of it do you see as a more safe? Thanks! Oct 25, 2017 at 6:55
  • @TomášPečený the instructions that I gave should work in most situations. What part are you having difficulty with? Your USB disk, if it's an external, is probably /dev/sdb{something}, so the fsck command would be sudo fsck -f /dev/sdb{something}.
    – heynnema
    Oct 25, 2017 at 13:16
  • @TomášPečenýfsck is for ext4 linux partitions. You're trying to repair a fat partition. Either you've selected the wrong partition number to fix, or you're trying to repair a problem that requires chkdsk under Windows to repair.
    – heynnema
    Oct 26, 2017 at 1:14
  • Sorry, I tried to write, than hesitated how to format, but the page took it as a comment. It appears that all is OK as I will write in further at least two comments Oct 26, 2017 at 1:46

Just some comments:

  1. To enter the GRUB menu press and hold SHIFT while booting
  2. In Recovery Mode better to choose "fsck - Check all file systems", see picture.

enter image description here

Great description here: How to Use ‘fsck’ to Repair File System Errors in Linux

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.