If you are having trouble accessing your Window’s partition from inside Ubuntu because of an error which reads “This location could not be displayed” and input/output error, then follow this simple guide to recover from this error and solve it quickly to get back the access to your partition.

Ubuntu input/output error

First of all, you need to know why this is happening?

  • If you are having a dual boot machine with Windows and Ubuntu and you are frequently switching between operating systems (that’s not a problem at all) but you might not be shutting down Windows properly or there is a power cut while shutting down or you forced it to shut down, then your partition might get corrupted.

  • If you have accidentally deleted some important hidden system or configuration files (used by Ubuntu) from inside Windows.

  • You have tried to open ext4 partition ( on which Ubuntu is installed) from Windows, this will delete the whole partition or either get corrupted or completed formatted.

  • You might be getting the input/output error because of some hardware failure or hardware issues, then this guide might not help you, then it would be best to get the backup of your data by using a data recovery tool and replace your hard drive.


Now if you are sure that your hardware is working fine then there might be a problem with your GPT partition table which might be damaged or with a corrupted file system. In order to repair this we will use chkdsk, it is a tool to display the file system integrity status of hard disks and can fix logical file system errors.

Now let’s get to the solution, follow these steps:

1. First Log on to your Windows OS.

2. Open cmd (Command Prompt).

  1. Quickly open the cmd (Command Prompt), press Windows + R, type cmd and press Ctrl + Shift + Enter (to Run as administrator.)
  1. Click Start, click All Programs, and then click Accessories or type cmd in the Search box.
  2. Right-click Command prompt, and then click Run as administrator.

3. Run chkdsk on cmd.

  • Now on the cmd, you need to run chkdsk on your affected drive to repair the errors, run the following command (if you want to run check C: Drive)
chkdsk /f C:

This will check the C: drive for errors, and fix them if detected.

  • Alternatively, you can also type,
chkdsk /r C:

This will check the C: drive for errors, and automatically recover the readable data from the bad sectors that the drive may contain.

I hope this will solve your problem, “This location could not be displayed” and input/output error on Ubuntu, if not then comment below for further discussions.

Useful Link(s):

  • A complete guide on chkdsk can be found here.

Thank you for reading.