Accessing and saving files in Windows from Ubuntu 17.10

Asked by Pablo on 2017-11-12

In all versions of Ubuntu upt to 16.04 I have been able to access from and save files into Windows. I received a laptop with Ubutnu 17.04, now updated to 17.10, with Windows 10 in the other partition. With Nautilus I can see the files in Windows, but I can neither save into the Windows documents folder nor open files therein. When attempting to open a file, e.g., with Libre Office, I get the error message: General input/output error while accessing (file). When attempting to safve a LO file the error message says (file) does not exist. But the problem is not just with LO. I cannot save an image into the Windows Documents folder either.
Looking on the web, I see that here are various suggested solutions, mostly form years far past. Please orient me.

I have tried reinstalling LO, but that made no difference.

the person who gave me this computer had some trouble installing the two OSs. Could it be a partition problem? (I know nothing about these matters, but with your orientation I am sure it can be solved.

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Pablo
Solved:
2017-11-13
Last query:
2017-11-13
Last reply:
2017-11-13

Have you ran a full chkdsk on the NTFS partition in Windows. This will help greatly.

Pablo (ceascolombia) said : #2

Thanks for this suggestion. Forgive my ignorance, but how do I do that?

Pablo (ceascolombia) said : #3

Also, just to add information, when I wrote above about whether it is a partition issue, it is after having read the suggestions on this web page: https://askubuntu.com/questions/491292/general-error-general-input-output-error-when-opening-documents-with-libreoff There the suggestion is made that "after some digging I found that my /tmp partition was full. I freed some space in /tmp and could then open my spreadsheet."

Thankis for your help

Pablo (ceascolombia) said : #4

My apologies for asking how to run chkdsk on Windows. I have found how to do so and will report the results.

Open up My Computer. Right click the file system to check and click the tools tab. Select to check the file system for problems and enable all checks and repairs.

Pablo (ceascolombia) said : #6

 I ran chkdsk twice in Windows C drive with repair command and it reported no errors.

OK is it now OK in Ubuntu?

Pablo (ceascolombia) said : #8

The problem persists unchanged. No improvement. What's the next step?
Thanks for the help

What is the output of:

sudo parted -l; mount; lsb_release -a; uname -a

Thanks

Manfred Hampl (m-hampl) said : #10

1. On the older computers, what version of Windows was there?

2. How do you access the Windows partition?
Which parameters are used for mounting?
Is fast-boot enabled in Windows, or has Windows been shut down completely before booting Ubuntu?

Pablo (ceascolombia) said : #11

The following is the output:
sudo parted -l; mount; lsb_release -a; uname -a

Model: ATA HGST HTS725032A7 (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
 1 1049kB 525MB 524MB primary ntfs boot
 2 525MB 112GB 111GB primary ntfs
 3 112GB 320GB 208GB extended
 5 112GB 320GB 208GB logical ext4

sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1936484k,nr_inodes=484121,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=392592k,mode=755)
/dev/sda5 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=15782)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
/var/lib/snapd/snaps/keepassxc_25.snap on /snap/keepassxc/25 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/core_3247.snap on /snap/core/3247 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/telegram-sergiusens_53.snap on /snap/telegram-sergiusens/53 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/chromium_88.snap on /snap/chromium/88 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/chromium_107.snap on /snap/chromium/107 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/core_3017.snap on /snap/core/3017 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/core_2898.snap on /snap/core/2898 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/chromium_9.snap on /snap/chromium/9 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/keepassxc_26.snap on /snap/keepassxc/26 type squashfs (ro,nodev,relatime)
/var/lib/snapd/snaps/keepassxc_24.snap on /snap/keepassxc/24 type squashfs (ro,nodev,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
tmpfs on /run/user/124 type tmpfs (rw,nosuid,nodev,relatime,size=392588k,mode=700,uid=124,gid=132)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=392588k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.10
Release: 17.10
Codename: artful
Linux paul-ThinkPad-T420s 4.13.0-16-generic #19-Ubuntu SMP Wed Oct 11 18:35:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Pablo (ceascolombia) said : #12

1. On the older computers, what version of Windows was there?
I also am currently using another computer (Samsung with CORE i5) with Windows 10. Files open fine in Ubuntu.

2. How do you access the Windows partition?

On start up I enter Windows 10 via Grub (I believe that is the name of the menu that appears). While Ubuntu opens by default, I scroll down to access Windows.

When I am in Ubuntu, I go to Nautilus/Other Locations. There I select 111 GB Volume which is listed as /dev/sda2. There I go to Documents and Settings, etc, and find the folder with the files.. They appear but I cannot open them.

The interesting this is that at Other Locations there is also the option of going to Computer, which is the way I would normally access Windows, but when I scroll down to mnt (or is it media?) where I would normally enter Windows, the folder is empty. It seems to me this may be indicative of the source of the problem.

Which parameters are used for mounting?
I don't understand the question

Is fast-boot enabled in Windows, or has Windows been shut down completely before booting Ubuntu?
Fast-boot is disabled and Windows shuts down completely. My past experience with Windows is that if fast-boot were enabled, I could not be able to access the Windows folder at all.

Pablo (ceascolombia) said : #13

I am chagrined and embarrassed to have taken your time. I realize that I had assumed that since I was able to access the Windows folders from Ubuntu, that the Windows fast-boot was disabled. But I checked, and in fact it had not been disabled. So I disabled it and now I am able to open the files from Windows in Ubuntu and save files to Windows
My humblest apologies. Problem solved