Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, i have 2 HDDs, 1 internal on my laptop with an NTFS partition for windows, and the rest for linux.
And also a USB HDD with 1 NTFS partition and 1 FAT32 partition.
Now previously I had installed suse on my USB drive, and all drives were mounted automatically during installation.
This time I did an expert installation, and forgot to do the mounting of the NTFS drives.
So I did so via YaST2 Partioner, and editing the mount point name as follows:
/dev/sdb1 /windows/D ntfs users,gid=users,umask=0002,nls=utf8 0 0
/dev/sdb5 /windows/E vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/sda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
yet only the FAT32 driver is mounting itself properly, when I try to access /windows/C or /windows/D i am told Permission denied. I am sure it is something to do with how I am mounting them, as I am sure openSUSE can mount NTFS drivers - at least in read only.
*EDIT I am almost sure it has to do with permissions, coz I can access the partitions as root. Which of the above perameters set the user access? Coz i can't understand why I can access the FAT32 one and not the NTFS when I used the same method to mount them...
I chose the unprofessional way to fix it, and just re-installed everything.
but i still have one problem.
/dev/sda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sdb1 /windows/D ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sdb5 /windows/E vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/sda1 mounts itself on boot
/dev/sdb1 and /dev/sdb5 need to be mounted after logging in - can i set them to self mount as well? the fstab details look the same...
could it be related to another file - mtab? (what is it anyway?), mtab seems similar:
/dev/sda1 /windows/C ntfs ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8 0 0
securityfs /sys/kernel/security securityfs rw 0 0
/dev/sdb5 /windows/E vfat rw,noexec,nosuid,nodev,gid=100,umask=0002,utf8=true 0 0
/dev/sdb1 /windows/D ntfs ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8 0 0
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
mtab just holds a list of the successfully mounted partitions and their mount parameters. Try it out and list it before and after you (u)mounted something by hand...
For the rest, can't see the reason for this either...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.