5

I know this question was proposed in the past but I tried almost everything. I don't know if my problem is more complicated or I am missing something.

In my computer I have a big ntfs partition in which I keep files both for windows 10 and ubuntu. When I set the thing the first time I already had problems to write on it using linux but with the guides I managed to fix it. The problem is that I lost the ability to write again and I don't know why. I already tried to manually modify fstab and to use NTFS configuartion tool to set the permissions.

This is my fstab file; the partition is sda7

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

#Entry for /dev/sda5 :
UUID=4f83e373-2a7d-442b-8ad3-8d5929a8ddaa   /   ext4    errors=remount-ro   0   1
#Entry for /dev/sda1 :
UUID=080EEE880EEE6E5E   /media/Riservato_per_il_sistema ntfs-3g defaults,locale=en_US.UTF-8 0   0
#Entry for /dev/sda7 :
UUID=6BB0D79157E7DFD1   /media/Storage/ ntfs-3g defaults,nodev,nosuid,locale=en_US.UTF-8    0   0
#Entry for /dev/sda2 :
UUID=B01EF20D1EF1CC7A   /media/sda2 ntfs-3g defaults,locale=en_US.UTF-8 0   0
#Entry for /dev/sda6 :
UUID=8c082106-53f1-409c-8347-df226cd0b95d   none    swap    sw  0   0

I also tried to modify the ownership with

    cd /media/Storage/
sudo chown -R -v username:username *

but the result was this answer for every file and folder

chown: changing ownership of 'Windows': Read-only file system
failed to change ownership of 'Windows' from root:root to username:username

Is someone able to give me any suggestion?

EDIT: output of blkid aftes step1

/dev/sda1: LABEL="Riservato per il sistema" UUID="080EEE880EEE6E5E" TYPE="ntfs" PARTUUID="fd65e542-01"
/dev/sda2: UUID="B01EF20D1EF1CC7A" TYPE="ntfs" PARTUUID="fd65e542-02"
/dev/sda5: UUID="4f83e373-2a7d-442b-8ad3-8d5929a8ddaa" TYPE="ext4" PARTUUID="fd65e542-05"
/dev/sda6: UUID="8c082106-53f1-409c-8347-df226cd0b95d" TYPE="swap" PARTUUID="fd65e542-06"
/dev/sda7: LABEL="Storage" UUID="6BB0D79157E7DFD1" TYPE="ntfs" PARTUUID="fd65e542-07"

EDIT2:fstab at the beginning of step#3

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

#Entry for /dev/sda5 :
UUID=4f83e373-2a7d-442b-8ad3-8d5929a8ddaa   /   ext4    errors=remount-ro   0   1
#Entry for /dev/sda1 :
#UUID=080EEE880EEE6E5E  /media/Riservato_per_il_sistema ntfs-3g defaults,locale=en_US.UTF-8 0   0
#/dev/sda7  /media/Storage  ntfs-3g defaults,nodev,nosuid,locale=en_US.UTF-8    0   0
#/dev/sda7  /media/Storage/_    ntfs-3g defaults,nodev,nosuid,locale=en_US.UTF-8    0   0
#Entry for /dev/sda2 :
#UUID=B01EF20D1EF1CC7A  /media/sda2 ntfs-3g defaults,locale=en_US.UTF-8 0   0
#Entry for /dev/sda6 :
UUID=8c082106-53f1-409c-8347-df226cd0b95d   none    swap    sw  0   0
heynnema
  • 73,649
Berker
  • 53

3 Answers3

8

In most of the cases the problem is with fast startup feature of Windows 10. If it is the case you have to simply disable fast startup on Windows.

Here are the steps.

  1. Type Control Panel in the search box.
  2. Click Control Panel.
  3. Click Power Options.
  4. Click Choose what the power buttons do.
  5. Click Change settings that are currently unavailable.
  6. Scroll down to Shutdown settings and uncheck Turn on fast startup.
  7. Click Save changes.
0

New problem that didn't exist before... May be related to Windows update that just ran...

If Ubuntu continues to fail to boot...

step #1

  • power cycle the computer and remove all USB devices
  • at the GRUB menu, choose Ubuntu Advanced Options
  • select root access
  • type sudo fsck -f /
  • run fsck more than once if there are errors
  • type sudo mount -o remount,rw /
  • type sudo pico /etc/fstab
  • use the arrow keys to move around
  • place # comment markers at the beginning of the lines that start with:
    1. UUID=080EEE880EEE6E5E
    2. UUID=6BB0D79157E7DFD1 (we'll re-enable this one later)
    3. UUID=B01EF20D1EF1CC7A
  • type control-o to save, enter to use the same filename, and control-x to exit pico
  • reboot Ubuntu (should boot fine now)
  • start terminal from the Unity dashboard
  • type sudo blkid and copy/paste output into your original question
  • quit terminal

step #2

  • boot into Windows
  • open the Power control panel
  • choose change what the power buttons do
  • choose change options that are unavailable
  • uncheck fast startup
  • close the Power control panel
  • open an administrative command prompt window
  • type powercfg /h off
  • type chkdsk /f c:
  • approve to run chkdsk at next reboot
  • reboot into Windows to let chkdsk run

step #3

  • boot into Ubuntu
  • open terminal from the Unity dashboard
  • type sudo gedit -H /etc/fstab
  • remove the # marker from the line starting with #UUID=6BB0D79157E7DFD1
  • save the file and quit gedit
  • reboot Ubuntu

step #4

You mis-edited /etc/fstab. Here's what it should look like when you're done...

# /etc/fstab: static file system information.
#
#                

#Entry for /dev/sda5 :
UUID=4f83e373-2a7d-442b-8ad3-8d5929a8ddaa   /   ext4    errors=remount-ro   0   1
#Entry for /dev/sda1 :
#UUID=080EEE880EEE6E5E   /media/Riservato_per_il_sistema ntfs-3g defaults,locale=en_US.UTF-8 0   0
#Entry for /dev/sda7 :
UUID=6BB0D79157E7DFD1   /media/Storage/ ntfs-3g defaults,nodev,nosuid,locale=en_US.UTF-8    0   0
#Entry for /dev/sda2 :
#UUID=B01EF20D1EF1CC7A   /media/sda2 ntfs-3g defaults,locale=en_US.UTF-8 0   0
#Entry for /dev/sda6 :
UUID=8c082106-53f1-409c-8347-df226cd0b95d   none    swap    sw  0   0
heynnema
  • 73,649
0

I have ubuntu studio installed with gnome and xcfe and ubuntu studio desktop environments installed.I have this same issue with genome environment but no in others... So my suggestion is to install an alternate desktop environment and try again.

OR

you could also try launching nautilus as root and then try doing whatever you want...