Hello,
I modified /etc/fstab because I want that my Linux Mint 13 (64bit) mount during start-up my NTFS partition (shared with Windows 7).
> cat /etc/fstab
# mount della partizione Disco Dati /dev/sda5
UUID=3E20491C2048DD11 /media/Data\040Disk ntfs users,defaults 0 0
thanI ran:
> sudo chown root /media/Data\ Disk/
The problem is: when I open Caja I see "Disk Data" two time. One is mounted and it works fine, the second one is not mounted and if I click on I have warning message:
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.
How can I delete this entry duplication?
thanks,
R.
Duplication of NTFS partition on Caja [SOLVED]
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Duplication of NTFS partition on Caja [SOLVED]
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Duplication of NTFS partition on Caja
First, you can't chown an ntfs partition because there are no Linux ownership bits to chown to change.
Second, If you really want this to automount and shared with Windows 7 I would get rid of the "users" option and add another one so that it looks like this:
Third, unmount the partition:
And then run the following command to see if it's mounted and where:
Second, If you really want this to automount and shared with Windows 7 I would get rid of the "users" option and add another one so that it looks like this:
Code: Select all
UUID=3E20491C2048DD11 /media/Data\040Disk ntfs defaults,windows_names 0 0
Code: Select all
sudo umount "/media/Data Disk"
Code: Select all
mount
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Duplication of NTFS partition on Caja
FYI my NTFS partition is obviously native from Windows 7 (I created before to install Linux... I have now dual boot) so I want to share on Linux and not on Windows...
Is your answer OK?
How can I "restore" my chown command?
Is your answer OK?
How can I "restore" my chown command?
Re: Duplication of NTFS partition on Caja
With this line in /etc/fstab:
It already is owned by root but with permissions for everyone to read and write.
Code: Select all
UUID=3E20491C2048DD11 /media/Data\040Disk ntfs defaults,windows_names 0 0
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Re: Duplication of NTFS partition on Caja
These are my steps:
This is my new /etc/fstab:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda8 during installation
UUID=35a0a201-7f6b-45ca-8d64-3786a12922cc / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda6 during installation
UUID=2ecd10f1-4a6a-4c27-b957-9772dd0bcfd3 /boot ext4 defaults 0 2
# swap was on /dev/sda7 during installation
UUID=7ee9f61e-d304-46fd-aff6-77a5af81cd8a none swap sw 0 0
# mount Data Disk /dev/sda5
UUID=3E20491C2048DD11 /media/Data\040Disk defaults ntfs,windows_names 0 0
# UUID=3E20491C2048DD11 /media/Data\040Disk ntfs users,defaults 0 0
# mount /tmp on RAM
tmpfs /tmp tmpfs size=1g 0 0
During boot I have error to mount my partition and when I open Caja I see my partition not mount. If I click I have window error:
Error mounting: mount exited with exit code 1: helper failed with:
mount: only root can mount /dev/sda5 on /media/Data Disk
Code: Select all
umount "/media/Data Disk"
Code: Select all
rmdir "/media/Data Disk"
Code: Select all
cat /etc/fstab
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda8 during installation
UUID=35a0a201-7f6b-45ca-8d64-3786a12922cc / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda6 during installation
UUID=2ecd10f1-4a6a-4c27-b957-9772dd0bcfd3 /boot ext4 defaults 0 2
# swap was on /dev/sda7 during installation
UUID=7ee9f61e-d304-46fd-aff6-77a5af81cd8a none swap sw 0 0
# mount Data Disk /dev/sda5
UUID=3E20491C2048DD11 /media/Data\040Disk defaults ntfs,windows_names 0 0
# UUID=3E20491C2048DD11 /media/Data\040Disk ntfs users,defaults 0 0
# mount /tmp on RAM
tmpfs /tmp tmpfs size=1g 0 0
During boot I have error to mount my partition and when I open Caja I see my partition not mount. If I click I have window error:
Error mounting: mount exited with exit code 1: helper failed with:
mount: only root can mount /dev/sda5 on /media/Data Disk
Re: Duplication of NTFS partition on Caja
You have 2 issues:
[***] This is not correct:
** Change the line in fstab
** If you have it mounted manually or if you mounted it through Nautilus unmount it
** Then run the following command to test for errors and remount the partition so that you don't have to reboot:
[***] This is not correct:
It should be this:UUID=3E20491C2048DD11 /media/Data\040Disk defaults ntfs,windows_names 0 0
[***] You deleted the mount point so 3E20491C2048DD11 has nothing to mount to:UUID=3E20491C2048DD11 /media/Data\040Disk ntfs defaults,windows_names 0 0
** Create the mount point /media/Data Disk againThese are my steps:Code: Select all
umount "/media/Data Disk"
Code: Select all
rmdir "/media/Data Disk"
** Change the line in fstab
** If you have it mounted manually or if you mounted it through Nautilus unmount it
** Then run the following command to test for errors and remount the partition so that you don't have to reboot:
Code: Select all
sudo mount -a
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.