Re: Autmount with /etc/fstab not working Reply #15 – 03 March 2022, 11:46:56 Quote from: Lumenor – on 03 March 2022, 10:35:58That's interesting. When I add that to /etc/mkinitcpio.conf it gives an error message. Something about not finding the module or something. And when I run Code: [Select]modprobe -c | vim and search for "ntfs," the only reference is to "fs_ntfs3" and what I assume is the alias of it, "ntfs3."Note: it works fine when I edit in "ntfs3."I guess that's due to me having a kernel built from source, which has ntfs module instead of ntfs3. Whatever, use ntfs3 then.Quote from: Lumenor – on 03 March 2022, 11:16:18By "works fine" I mean that mkinitcpio works, but when I reboot the drives show an error and I can't even enter my window manager.What is the contents of your /etc/mkinitcpio.conf?What is the exact output of Code: [Select]mkinitcpio -Pv | grep -i ntfs
Re: Autmount with /etc/fstab not working Reply #16 – 03 March 2022, 13:54:58 Okay, that's weird. When I rebooted again the drives did not autmount. Is this expected behavior?
Re: Autmount with /etc/fstab not working Reply #17 – 03 March 2022, 13:56:49 mkinitcpio -Pv | grep -i ntfs outputs:Code: [Select]==> ERROR: Unable to write to /boot/initramfs-linux516-tkg-pds.img==> ERROR: Unable to write to /boot/initramfs-linux516-tkg-pds-fallback.img==> ERROR: Unable to write to /boot/initramfs-linux.img==> ERROR: Unable to write to /boot/initramfs-linux-fallback.img
Re: Autmount with /etc/fstab not working Reply #18 – 03 March 2022, 14:01:18 Tried again with sudo. Outputs the following:Code: [Select]==> WARNING: Possibly missing firmware for module: xhci_pci==> WARNING: consolefont: no font found in configuration adding module: ntfs3 (/lib/modules/5.16.11-246-tkg-pds/kernel/fs/ntfs3/ntfs3.ko.zst)==> WARNING: Possibly missing firmware for module: bfa==> WARNING: Possibly missing firmware for module: aic94xx==> WARNING: Possibly missing firmware for module: qed==> WARNING: Possibly missing firmware for module: wd719x==> WARNING: Possibly missing firmware for module: qla1280==> WARNING: Possibly missing firmware for module: qla2xxx==> WARNING: Possibly missing firmware for module: xhci_pci==> WARNING: consolefont: no font found in configuration adding module: ntfs3 (/lib/modules/5.16.11-246-tkg-pds/kernel/fs/ntfs3/ntfs3.ko.zst)==> WARNING: Possibly missing firmware for module: xhci_pci==> WARNING: consolefont: no font found in configuration adding module: ntfs3 (/lib/modules/5.16.10-artix1-1/kernel/fs/ntfs3/ntfs3.ko.zst)==> WARNING: Possibly missing firmware for module: bfa==> WARNING: Possibly missing firmware for module: aic94xx==> WARNING: Possibly missing firmware for module: qed==> WARNING: Possibly missing firmware for module: wd719x==> WARNING: Possibly missing firmware for module: qla1280==> WARNING: Possibly missing firmware for module: qla2xxx==> WARNING: Possibly missing firmware for module: xhci_pci==> WARNING: consolefont: no font found in configuration adding module: ntfs3 (/lib/modules/5.16.10-artix1-1/kernel/fs/ntfs3/ntfs3.ko.zst)
Re: Autmount with /etc/fstab not working Reply #19 – 03 March 2022, 14:38:56 Quote from: Lumenor – on 02 March 2022, 13:54:17Code: [Select]UUID="3F8573B3660DF881" /home/al/mount/TRANSCEND1 ntfs auto,uid=1000,gid=998,rw,relatime,nofail,user,exec,umask=000 0 2UUID="42C508CF71F9C321" /home/al/mount/Toshiba ntfs auto,uid=1000,gid=998,rw,relatime,nofail,user,exec,umask=000 0 2For ntfs3, you also need to change /etc/fstab entries so the file type is ntfs3 instead of just ntfs as above.https://wiki.archlinux.org/title/NTFS#Explicit_file_system_type_required_to_mountThat page lists some additional troubleshooting steps if that still doesn't work.
Re: Autmount with /etc/fstab not working Reply #20 – 03 March 2022, 15:20:44 QuoteFor ntfs3, you also need to change /etc/fstab entries so the file type is ntfs3 instead of just ntfs as above.https://wiki.archlinux.org/title/NTFS#Explicit_file_system_type_required_to_mountThat page lists some additional troubleshooting steps if that still doesn't work.I've applied the fix and checked the troubleshooting steps. Both troubleshooting steps don't seem to apply, and the fix unfortunately didn't really do anything. It worked before, so I don't know what exactly changed.
Re: Autmount with /etc/fstab not working Reply #21 – 03 March 2022, 15:22:37 Okay. Weird thing happened. It worked after running "sudo mkinitcpio -P" and "sudo update-grub." Gonna reboot to test if the fix is persistent.
Re: Autmount with /etc/fstab not working Reply #22 – 03 March 2022, 15:24:02 It isn't persistent. That is so weird. Why does it work sometimes and not other times? Is it a hardware defect?
Re: Autmount with /etc/fstab not working Reply #23 – 03 March 2022, 18:09:09 Quote from: Lumenor – on 03 March 2022, 15:22:37Okay. Weird thing happened. It worked after running "sudo mkinitcpio -P" and "sudo update-grub." Gonna reboot to test if the fix is persistent.mkinitcpio and update-grub, like most of the administrative programs, require you to be root.I suggest opening a root shell or using su(1) once to switch to being root for administrative tasks, rather than prefixing every command with "sudo".What do the logs say? Are there any errors during boot? Look in the files inside /var/log for clues.Quote from: Lumenor – on 03 March 2022, 15:20:44Both troubleshooting steps don't seem to apply,What troubleshooting steps? What did you do? Be more specific. Last Edit: 03 March 2022, 18:14:37 by strajder
Re: Autmount with /etc/fstab not working Reply #24 – 05 March 2022, 12:37:39 I'm marking this as solved since it seems that reinstalling Artix fixes the issue. I am on a new installation of Artix on the same computer without the fstab configurations, but I'm sure it'll work if I configure it again (which I won't as while it may work properly I have discovered it could lead to potential issues.)
Re: Autmount with /etc/fstab not working Reply #25 – 05 March 2022, 12:41:43 By the way, my apologies for the late reply strajder. To be clear, I simply didn't consider something in the wiki page applicable (iirc, as it's been a while.) All I did was add the following to /etc/udev/rules.d/ntfs3_by_default.rules:Code: [Select]SUBSYSTEM=="block", ENV{ID_FS_TYPE}=="ntfs", ENV{ID_FS_TYPE}="ntfs3"
Re: Autmount with /etc/fstab not working Reply #26 – 05 March 2022, 15:24:13 Quote from: Lumenor – on 05 March 2022, 12:37:39..., but I'm sure it'll work if I configure it again (which I won't as while it may work properly I have discovered it could lead to potential issues.)Nice.However, I still can't see what benefits you can expect when mounting filesystems from hot-plug devices using fstab.
Re: Autmount with /etc/fstab not working Reply #27 – 05 March 2022, 18:17:55 It was mostly just an idea of convenience really. I don't think I'll do it again, as I think it introduced issues when it did mount the devices.