You are not logged in.
I have a Windows partition on my HDD which I want to mount at /run/media/adam/5EA427EBA427C47D at boot, and allow writing to it without typing in a password. How would I do this?
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931,5G 0 disk
├─sda1 8:1 0 100M 0 part
├─sda2 8:2 0 441,5G 0 part /run/media/adam/5EA427EBA427C47D
├─sda3 8:3 0 1K 0 part
├─sda5 8:5 0 500M 0 part
├─sda6 8:6 0 50G 0 part
├─sda7 8:7 0 16G 0 part
└─sda8 8:8 0 423,4G 0 part
sdb 8:16 0 223,6G 0 disk
├─sdb1 8:17 0 99M 0 part /boot
├─sdb2 8:18 0 15,9G 0 part [SWAP]
└─sdb3 8:19 0 207,6G 0 part /
sr0 11:0 1 1024M 0 rom
I looked this up online and it told me to add things to my fstab, but it did not work.
/etc/fstab
-----------------------------------------------------------------------------------------------------------------------------------------------
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sdb3
UUID=231d961f-27a3-464b-8333-3f08adbdb04c / ext4 rw,relatime,data=ordered 0 1
# /dev/sdb1
UUID=0f68c79b-1f6b-4680-8e6e-38b4a7fba504 /boot ext4 rw,relatime,stripe=4,data=ordered 0 2
# /dev/sdb2
UUID=6cc62da3-ec73-4df8-afff-8069e8ed9356 none swap defaults 0 0
# /dev/sda2
UUID=5EA427EBA427C47D /run/media/adam/5EA427EBA427C47D ntfs defaults,rw,user,exec,umask=000 0 2
What am I doing wrong?
Last edited by Ketchup901 (2016-07-24 10:44:32)
Offline
You need to use ntfs-3g, not ntfs.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
You need to use ntfs-3g, not ntfs.
Thanks, I'll try that later (on my phone right now).
Is all of this necessary or just some of it?:
defaults,rw,user,exec,umask=000 0 2
Offline
Check the manpage (man ntfs-3g) and decide for yourself which are necessary. Some may be redundant due to "defaults".
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline