1

I've installed Ubuntu 18.04 LTS alongside Windows 10. I can access the Windows partition and can read the files. But I can't create any files or folders in that partition. All the options for "Cut", "Move to" and "Rename" are greyed out. How can I have write access to the partition from Ubuntu?

The output for df -H command The output for <code>df -H</code> command

The contents of fstab file The contents of fstab file

The output for sudo lsblk -o NAME,SIZE,FSTYPE,MOUNTPOINT,LABEL The output for `sudo lsblk

Martin Thornton
  • 5,996
  • 12
  • 32
  • 43
20B2
  • 111

2 Answers2

0

This generally happens

  1. When your Windows is not fully turned off and you booted into Linux.
  2. If hibernation is turned on in Windows and you booted into Linux.

and if you try to access your windows drives from ubuntu in these 2 cases then you will have only read access.

So, there are 2 solutions for this.

  • If the issue is because of not fully turned off Windows, then you can start your windows and this time when you shutdown your computer by holding shift. And remember use only shutdown, don’t restart it.
  • If the issue is because of hibernation in Windows, then also you need to start your windows and then open command prompt in administrator mode and then type the command powercfg.exe /hibernate off And also untick the Turn on fast startup option in control panel -> Power Options. Now shutdown windows and start your Ubuntu, and you can have write access.

This should solve the problem.

Subhash
  • 341
-2

There are two reasons that I can think of why you can't use your Windows partition. Windows often has an issue with hanging on to the partition if it is not shut down completely. Holding down the shift key while shutting down Windows should fix this problem. If you don't want to completely turn off your computer to boot into Windows to completely shut it down and reboot again, I'd check out this answer here.

However, since you are able to read it, this sounds more like a problem with permissions. Go ahead and check out this article to find out how to mount your NTFS Windows partition to enable permissions. I'd also suggest checking out some of the other links that other users have been suggesting under your comments.

Then, open up your terminal and type up sudo nautilus and then left click on your Windows partition once the file manager pops up. Select Properties and then navigate to the Permissions tab. Then change the Owner and/or Group to your username. Then hit the Change Permissions for Enclosed Files... button on the bottom of the properties window. Then change the Files and Folders permissions to Read and Write for the Owner or Group, whatever you changed earlier.

You can also do the same thing all in the terminal with chown and chmod but that's another answer.