You are not logged in.
So I was using Manjaro but I had installed it with Kde and then switched to i3. However there were a couple of bugs so I decided to start from scratch and install Arch with i3.
After 2 day's of installing and configuring I have yet hit another roadblock of which I can't find the sollution.
In my laptop there is an ssd and a hdd. I have added my hdd in fstab already and it connects on boot. However, whenever I start my laptop I don't have any permissions to use that partition (it's mounted as /storage). If I follow the advice of other posts I see I have to do chown ... Problem with that is that I get access to my directories, but still no file access. And when rebooting I lose access to the directories again. That disk is from my windows install (so ntfs) and I've been adding myself to groups already without any results.
But when I was using Manjaro I didn't have any trouble with it. It just worked. But now I want to know why it just worked on Manjaro but refuses to work on Arch. I want to learn what I am doing wrong and how to fix it. Main reason for switching to Arch was to learn more about how my system works. ^^" So far learned a lot but it has also taken a lot of time already.
SOLUTION:
Basically install ntfs-3G and change fstab to say ntfs-3g instead of ntfs. This fixed the problem for me and made all my files and directories open and possible to acces.
Last edited by Voylin (2019-11-12 13:28:37)
Offline
Please provide the output of
# ls -la /storage # Run this as root.
$ id
$ cat /etc/fstab
Last edited by schard (2019-11-12 13:06:25)
macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }
Offline
Are you using ntfs-3g? That may be installed by default on other distros, but in arch you'd have to install (and use) it.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Please provide the output of
# ls -la /storage # Run this as root. $ id $ cat /etc/fstab
drwxrwxrwx 1 root root 0 Jun 20 05:52 '$RECYCLE.BIN'
drwx------ 1 voylin users 4096 Nov 11 19:54 .
drwxr-xr-x 19 root root 4096 Nov 12 08:04 ..
drwxrwxrwx 1 root root 4096 Nov 9 17:57 Documents
drwxrwxrwx 1 root root 40960 Nov 11 20:04 Downloads
drwxrwxrwx 1 root root 0 Nov 9 17:58 Music
drwxrwxrwx 1 root root 4096 Nov 11 19:02 Pictures
drwxrwxrwx 1 root root 0 Apr 17 2019 'System Volume Information'
drwxrwxrwx 1 root root 4096 Nov 11 15:07 Videos
-rw------- 1 root root 5727 Nov 11 19:53 config
drwxrwxrwx 1 root root 0 Nov 10 17:14 godot
-rw------- 1 root root 631 Nov 11 19:54 i3status.conf
uid=1000(voylin) gid=1000(voylin) groups=1000(voylin),986(video),988(storage),990(optical),995(audio),998(wheel)
# Static information about the filesystems.
# See fstab(5) for details.
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sdb2
UUID=01ea8e7e-b62a-4920-baff-565b5703669f / ext4 rw,relatime 0 1
# /dev/sdb3
UUID=9143f4df-8c65-42cc-9c86-c3ad9d324e7c none swap defaults 0 0
# /dev/sda1
UUID=8C38C67838C66136 /storage ntfs defaults,noatime 0 1
Offline
Are you using ntfs-3g? That may be installed by default on other distros, but in arch you'd have to install (and use) it.
I installed it right now, but still doesn't give me acces :c
What does this ntfs-3g do exactly? Is it just a driver to read ntfs partitions?
Offline
RTFW.
I feel so dumb right now 0_0 I thought by just installing it that it would be sufficient. But looking at that page I saw that I had to change ntfs to ntfs-3g in fstab. Thanks for the help and sorry that I wasn't thinking logically!
Offline
No worries. We all have our moments. The key to success with arch is just to learn from these moments (and accept constructive criticism gracefully as you just did).
Following that wiki page will be necessary to get your drive working the way you want - I'm not 100% sure, however, if it will be sufficient. So once you work through that page, feel free to let us know if it's working as you want (by marking the thread as SOLVED) or by clarifying what you have done and what still is not right.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline