Fix: This location could not be displayed Input/Output error in Ubuntu

You have a dual boot machine. Sometimes you need to access your Windows partition when you are in Ubuntu OS. However, at times you might come across an error. This error says, “This location could not be displayed” and it seems like an input/output error (I/O). Follow this simple guide to recover from this error and solve it quickly to access your partition.

Ubuntu input/output error

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

  • If you have a dual boot machine with Windows and Ubuntu. You are switching between operating systems (that’s not a problem at all). However, you might not be shutting down Windows properly. There is a power cut while shutting down. You forced it to shut down. In this case, 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 the ext4 partition (where Ubuntu is installed) from Windows. This will delete the whole partition or either get corrupted or get completely formatted.

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

Solution:

Now if you are sure that your hardware is working fine then there might be a problem with your GPT partition table. This parition table might be damaged or has a corrupted file system. To repair the partition 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.)
OR
  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.

Share: Twitter Facebook LinkedIn