#[SOLVED] Mount non-root HDDs

1 messages · Page 1 of 1 (latest)

ancient pewter
#

This might be a newb question, but I've never used multiple drives in Linux. I'm using Arch with KDE Plasma (Wayland). I have 2 HDDS: one for media, and one for games. I can access them once I've manually mounted them, by accessing them with Dolphin. How can I mount these drives "permanently?" I.E. The drives are mounted on boot with read/write priveleges (without root since my user is not root)? is it as simple as sudo mount, or do I have to edit /etc/fstab? Thanks.

Edit: the media drive is formatted with NTFS (i have ntfs-3g installed), and the games drive has 2 partitions, one NTFS and one ext4 (dual boot so one for windows and arch)

grave stone
#

You have to add the drive to your fstab for it to be mounted on boot

#

.aw fstab

sly geodeBOT
ancient pewter
#

so, for my NTFS drive, should the type be ntfs, or ntfs-3g?

grave stone
#

btw you don't need ntfs-3g

#

there's a kernel module ntfs3 for ntfs

ancient pewter
#

ah ok

#

do i need to install that kernel module?

grave stone
#

no

#

.aw ntfs

sly geodeBOT
ancient pewter
#

so in my fstab file, it goes down as type ntfs

grave stone
#

I think it's ntfs3

#

if i'm not mistaken

ancient pewter
#

alright

#

if i fuck anything up with this will i brick the whole mounting process

#

or will it just be for the other drives

grave stone
#

I don't think fstab does well with syntax errors

#

If you want I can write you a command to edit it

ancient pewter
#

its alright

grave stone
#

but i'll need the output of lsblk -f

ancient pewter
#

do you mind if i show you what i have down?

#

before i try it

grave stone
#

You can show me

#

sure

ancient pewter
#

oops haha

#

i tried it and it failed to mount

#

it looks like it can be fixed though

#

i’m not sure why it failed

grave stone
#

show me your fstab

#

maybe you made a typo

#

it's also possible that the type should be just ntfs

#

but let's rule out the typo first

ancient pewter
#

the options might have to just be default

#

the file path might be scuffed?

#

but that’s where it was mounting to before

grave stone
#

Ok so first you should do 0 2 at the end

ancient pewter
#

ohh ok

grave stone
#

And what are those uid and gid options

ancient pewter
#

i found a stack exchange post in which it supposedly gives non root access for read and write

grave stone
#

huh

#

What

#

That's so stupid

#

Just modify the mount point

ancient pewter
#

here’s what i have now

#

i also just booted after making some changes

#

so i think the problem was that the type should he ntfs

grave stone
#

Just replace them with defaults

ancient pewter
#

yes i did

grave stone
#

When using mount it should be ntfs3 tho

#

with -t

ancient pewter
#
# /dev/sda1
UUID=384C077E4C073662   /run/media/kaya/Media   ntfs    default 0 2```
grave stone
#

defaults

ancient pewter
#

oh shit

grave stone
#

with an s at the end

ancient pewter
#

thanks lol

#

let me add the other mount point for the ext4 games partition, then ill mark this as solved

grave stone
#

btw

#

for the kernel module

#

there's no userspace utilities for it

ancient pewter
#

mhm

grave stone
#

you'll need

#

this

ancient pewter
#

ok so i booted up again (into KDE and not maintenance mode) and now both drives are mounted

#

i think they're being mounted with ntfs-3g right now since i know i have that package installed

ancient pewter
grave stone
#

no

#

this aur package provides userspace utilities for the kernel module

#

so you can use mount and things like that

#

for ntfs

ancient pewter
#

ah ok nice

#

[SOLVED] Mount non-root HDDs

#

thank you very much for the help @grave stone

thin folioBOT
#

0fficerk received a thank you cookie!

grave stone
#

you can use the ntfs3 kernel module along with the aur package I sent you

#

.aw ntfs

sly geodeBOT