Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: kenny_w on 23 October 2017, 02:51:12

Title: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 23 October 2017, 02:51:12
Hello again everyone, I just moved 3 of my PC's over to Artix Linux & I can't seem to make my USB HDD load... Strange?
Gparted is picking up a /dev/sdb, but its not wanting to load it on either PC.. I am going to try my best to explain the symptoms I see in hopes of someone recognizing this problem.
gparted just hangs at "Searching /dev/sdb partitions" for a couple minutes, then finally loads but I can't see it in pcmanfm to access the files on it.. Any ideas? I'm going to attempt to add it to /etc/fstab to see what happens.
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 23 October 2017, 02:56:03
I can only see /dev/sdb, I can't see a /dev/sdb1 in gparted... Very odd. Am I missing something in order to load USB drives?
Ahh, I typed: sudo mount /dev/sdb ~/Mounted/twotera/ 
and now I can see my USB drive, yay! But this still leaves the question: why are USB drives not automatically loading up? What can I do to make this work as I'd like it to?
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 23 October 2017, 03:59:22
I can't seem to blkid it either, so I can't quite add it to my /etc/fstab as I'd like to do, as I use this thing for a in-house file-server
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: mandog on 23 October 2017, 04:13:35
I can't seem to blkid it either, so I can't quite add it to my /etc/fstab as I'd like to do, as I use this thing for a in-house file-server
Make sure these entries are in groups these entries are in groups uucp:x:14: user name   adbusers:x:996:user name  storage:x:95:user name
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 23 October 2017, 05:46:37
...? I'm sorry but I don't understand what you're saying O.o entries in groups?
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: thefallenrat on 23 October 2017, 11:31:45
Too lazy to explain : 

Code: [Select]
[localhost ᒤᕞᕹᓸ]# pacman -Sii thunar
Repository      : extra
Name            : thunar
Version         : 1.6.12-1
Description     : Modern file manager for Xfce
Architecture    : x86_64
URL             : http://thunar.xfce.org
Licenses        : GPL2  LGPL2.1
Groups          : xfce4
Provides        : None
Depends On      : desktop-file-utils  libexif  hicolor-icon-theme  libnotify  libgudev  gtk2  exo  libxfce4util  libxfce4ui  libpng
Optional Deps   : gvfs: for trash support, mounting with udisk and remote filesystems
                  xfce4-panel: for trash applet
                  tumbler: for thumbnail previews
                  thunar-volman: manages removable devices
                  thunar-archive-plugin: create and deflate archives
                  thunar-media-tags-plugin: view/edit id3/ogg tags
Required By     : thunar-archive-plugin  thunar-media-tags-plugin  thunar-volman  xfdesktop
Optional For    : None
Conflicts With  : None
Replaces        : None
Download Size   : 880.70 KiB
Installed Size  : 5166.00 KiB
Packager        : Evangelos Foutras <evangelos@foutrelis.com>
Build Date      : Friday 30 June 2017 06:31:04 PM CDT
MD5 Sum         : d15011a04885956b9cb0978d2bc18010
SHA-256 Sum     : b1d908f0e7ab91420ac566b75d24fbe1621bfbaf5c4bd193507c9fe0df719e16
Signatures      : 51E8B148A9999C34
Thunar needs gvfs for mounting support, as it is listed under optional dependancies. Same with pcmanfm. Dolphin's support is run through the underlying kde packages necessary to intall any kde program/app. 

Gnome lets you choose and pick what you want/need. Kde is a whole package that shares its resources/support through its base. Difference in philosophies. /shrug

Here is a list of gvfs optional packages:
Code: [Select]
[localhost ᒤᕞᕹᓸ]# pacman -Ss gvfs
extra/gvfs 1.34.1-1 (gnome) [installed]
    Virtual filesystem implementation for GIO
extra/gvfs-afc 1.34.1-1 (gnome) [installed]
    Virtual filesystem implementation for GIO (AFC backend; Apple mobile devices)
extra/gvfs-goa 1.34.1-1 (gnome)
    Virtual filesystem implementation for GIO (Gnome Online Accounts backend; cloud storage)
extra/gvfs-google 1.34.1-1 (gnome)
    Virtual filesystem implementation for GIO (Google Drive backend)
extra/gvfs-gphoto2 1.34.1-1 (gnome) [installed]
    Virtual filesystem implementation for GIO (gphoto2 backend; PTP camera, MTP media player)
extra/gvfs-mtp 1.34.1-1 (gnome) [installed]
    Virtual filesystem implementation for GIO (MTP backend; Android, media player)
extra/gvfs-nfs 1.34.1-1 (gnome) [installed]
    Virtual filesystem implementation for GIO (NFS backend)
extra/gvfs-smb 1.34.1-1 (gnome) [installed]
    Virtual filesystem implementation for GIO (SMB/CIFS backend; Windows client)
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: fungalnet on 23 October 2017, 15:41:05
...? I'm sorry but I don't understand what you're saying O.o entries in groups?

Look at /etc/group

You'll see entries such as
Code: [Select]
rpc:x:32:
sddm:x:999:

If you user name is kenny_w and you make all groups be like

Code: [Select]
rpc:x:32:kenny_w
sddm:x:999:kenny_w

you will be just like root.  But don't do that, make yourself able to just access what you need.  To decide on this you have to look and research each case individually.
For example cups is a server for printing, if you want the use to be able to install and configure printers it is a good idea.  Since the user is more exposed to the WAN if one gets access to the user they have admin rights.  So there is a balance between convenience and risk. 
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 23 October 2017, 16:51:01
What do the entries do exactly? I'm really confused with this. sorry. I'm not the most tech-savvy user.. :S I feel really lost with all of this.
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: fungalnet on 23 October 2017, 18:13:39
You can't learn everything in one day and you can't learn it all from asking forum questions.  You must do some reading.
Searching for /etc/group /etc/sudoers etc. may answer some questions.

Above you wrote that you see /dev/sdb but can't see /dev/sdb1 on gparted.  Chances are that if gparted can not see it, it does not exist.  sdb then is an unformatted drive without any partitioning.  Even if it was encrypted it would appear as an encrypted volume.  Are you sure your sdb is formatted/partitioned?

Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: mandog on 23 October 2017, 18:19:22
What do the entries do exactly? I'm really confused with this. sorry. I'm not the most tech-savvy user.. :S I feel really lost with all of this.
Groups give rights to the user take LP it gives  the named user  the rights to setup and use a printer. the reason is simple say somebody uses your machine and abuses your paper stock by writing a novel you remove them from that group problem solved
You need to read the arch Wiki https://wiki.archlinux.org/index.php/Users_and_groups#Group_management.  The thing is you will get answers aimed at intermediate users on this forum not for new users. In no way am i trying to discourage anybody we all had to start somewhere. I did straight into Arch so I read the wiki and the forums to afraid to ask, found found the answers I needed 15 years on well I'm still here.

To be honest if you don't know anything you really need to learn as you will just struggle to get anywhere fast 
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 23 October 2017, 19:08:18
Thank you mandog. I started using Arch/Manjaro about a year ago casually, but I never used OpenRC before, it was always SystemD, so some of these things get me confused. I added the missing things from the /etc/group, so it looks like USB's are coming up now when they are plugged in. I'm trying to make a startup script for proftpd right now if any of you would like to assist me on it:
https://artixlinux.org/forum/index.php?topic=159
I have read quite a few wikis, but never the group_management one. I am bookmarking all of this stuff so I can look back at it for future reference. Thank you everyone for your help, its greatly appreciated!!
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: mandog on 23 October 2017, 19:26:38
Manjaro is a good start for Arch based systems but its biggest failure is it does not teach users to help them selves unfortunately.

Some Distros are really into security others into user friendly, One reason why Windows is vulnerable is it lets the user decide so 95% of users use the administrator account instead of a user account. A good Distro in my mind in today's insecure world  needs to find a balance between the two.  This is why Openrc runit etc  came about the old saying "never put all your eggs in one basket"  I'm not a systemd slater in any way but for me its taking over to much of the system for my liking that makes it a prime target for attack.
I'm glad that problem is solved for you   
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 23 October 2017, 19:27:58
Ohh, so the USBs come up when plugged in & that's awesome, but I still can't get the UUID for /dev/sdb1
I think Artix isn't recognizing part of the FAT drive.. Its like... I can add /dev/sdb to /etc/fstab & it'll mount up where I want it to, but unfortunately I still can't sudo blkid /dev/sdb1, I can only do sudo blkid /dev/sdb.. Need to be able to /dev/sdb1 in order to get the proper UUID in order so that I can make a proper entry in /etc/fstab, so that way it doesn't just take the first USB drive plugged in as /dev/sdb.
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 23 October 2017, 19:30:03
. I'm glad that problem is solved for you   

I'm terribly sorry for my misleading post just above your reply mandog, but I still can't sudo blkid /dev/sdb1
I forgot about that part of it. Why isn't Artix recognizing the FAT filesystem partitions?
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: robin0800 on 23 October 2017, 19:33:00
Don't think you load partitions in fstab if you load the disk the partition should be seen.
Have you exfat-utils installed?
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 23 October 2017, 19:37:30
Robin0800, I have a 2 terabyte USB harddrive that I use as part of my in-home file-server, so I add it to /etc/fstab so it mounts into ~/Mounted/twotera/
Like, I can mount it with fstab by just using /dev/sdb, but I can't get the UUID with sudo blkid /dev/sdb1 - I can't see /dev/sdb1 in gparted, its only '/dev/sdb'... It won't mount as /dev/sdb1, only as /dev/sdb.
sudo fdisk -l gives me this:
Device     Boot      Start        End    Sectors   Size Id Type
/dev/sdb1       1919230059 6204919772 4285689714     2T  a OS/2 Boot Manager
/dev/sdb2        544829025 1089655755  544826731 259.8G 65 Novell Netware 386
/dev/sdb3        168653938  168653938          0     0B 65 Novell Netware 386
/dev/sdb4       2885681152 2885734080      52929  25.9M  0 Empty

Partition 1 does not start on physical sector boundary.
Partition 2 does not start on physical sector boundary.
Partition 3 does not start on physical sector boundary.
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 23 October 2017, 19:40:45
Don't think you load partitions in fstab if you load the disk the partition should be seen.
Have you exfat-utils installed?
Yes, exfat-utils is installed. Something has to be missing here... Not sure what it could be. My computer seems to not recognize the partitions & only recognizes the entire HD as one thing.. I can't get a UUID with sudo blkid /dev/sdb1.. I can use sudo blkid /dev/sdb and it shows me:   /dev/sdb: UUID="A0C5-3D27" TYPE="vfat"
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: robin0800 on 23 October 2017, 19:48:53
Well you need something to see OS/2 file system, I have no idea what that is.
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 23 October 2017, 21:26:20
Well you need something to see OS/2 file system, I have no idea what that is.
I have no idea either! But at least we're making progress on this issue!
OS/2 filesystem.... hmmmmmm.... Maybe maddog knows? Hopefully he will reply sometime today or tomorrow.
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: mandog on 24 October 2017, 00:46:17
Well guys i'm the same as you on this not a clue really and the wiki is no real help. I did try it once and got nowhere all I know its patent by Ms say no more.
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 24 October 2017, 02:11:49
It worked on Manjaro, Debian, Fedora, Devuan, quite a few distros. So I must be missing something basic... I think.
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: nous on 24 October 2017, 10:04:11
It worked on Manjaro, Debian, Fedora, Devuan, quite a few distros. So I must be missing something basic... I think.
Could you plug the disk into another distro, mount it and show us the output of 'mount' and 'lsmod' to see what filesystem is used and which fs module?
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 24 October 2017, 14:11:07
Could you plug the disk into another distro, mount it and show us the output of 'mount' and 'lsmod' to see what filesystem is used and which fs module?

Hey Nous, I have my netbook which runs Debian. How do I do this? I just type mount /dev/sdb1? How do I get the output of lsmod? I'm sorry I'm not too clever at this yet. If you could show me examples of the commands then it would make it much easier :D
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: robin0800 on 24 October 2017, 14:42:33
No mount your usb hdd in debian, you said it did mount, and in a terminal  issue the commands "mount" and separately "lsmod"
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: nous on 24 October 2017, 16:33:01
What robin0800 said; make sure the disk is mounted and issue both commands without arguments. Paste the output here using code tags to make it readable.
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 25 October 2017, 01:08:37
Sorry.... I have no idea what codetags are...
Here:
Code: [Select]
$ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1019032k,nr_inodes=214906,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=205916k,mode=755)
/dev/sda1 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=34,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=8914)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=205912k,mode=700,uid=1000,gid=1000)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sdb on /media/kzn/A0C5-3D27 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
[kzn@kzn]:~$ lsmod
Module                  Size  Used by
nls_ascii              16384  1
nls_cp437              16384  1
vfat                   20480  1
fat                    57344  1 vfat
ctr                    16384  2
ccm                    20480  3
rfcomm                 49152  14
fuse                   90112  3
appletalk              28672  0
ax25                   49152  0
ipx                    28672  0
p8023                  16384  1 ipx
p8022                  16384  1 ipx
psnap                  16384  2 appletalk,ipx
llc                    16384  2 p8022,psnap
cmac                   16384  1
bnep                   20480  2
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
dell_laptop            20480  0
dell_smbios            16384  1 dell_laptop
uvcvideo               73728  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
btusb                  40960  0
videobuf2_v4l2         20480  1 uvcvideo
compal_laptop          20480  0
btrtl                  16384  1 btusb
videobuf2_core         32768  2 uvcvideo,videobuf2_v4l2
btbcm                  16384  1 btusb
btintel                16384  1 btusb
arc4                   16384  2
bluetooth             409600  41 btrtl,btintel,bnep,btbcm,rfcomm,btusb
videodev              131072  3 uvcvideo,videobuf2_core,videobuf2_v4l2
media                  24576  2 uvcvideo,videodev
rtl8821ae             180224  0
dcdbas                 16384  1 dell_smbios
lpc_ich                24576  0
ecdh_generic           28672  1 bluetooth
dell_smm_hwmon         16384  0
btcoexist             102400  1 rtl8821ae
evdev                  20480  11
rtl_pci                28672  1 rtl8821ae
joydev                 20480  0
snd_hda_codec_realtek    69632  1
rtlwifi                61440  2 rtl_pci,rtl8821ae
serio_raw              16384  0
pcspkr                 16384  0
snd_hda_codec_generic    65536  1 snd_hda_codec_realtek
mac80211              532480  3 rtl_pci,rtlwifi,rtl8821ae
cfg80211              446464  2 mac80211,rtlwifi
rfkill                 20480  8 bluetooth,compal_laptop,dell_laptop,cfg80211
snd_hda_intel          32768  3
rng_core               16384  0
sg                     28672  0
snd_hda_codec          90112  3 snd_hda_intel,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_core           53248  4 snd_hda_intel,snd_hda_codec,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep              16384  1 snd_hda_codec
snd_pcm                81920  3 snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              28672  1 snd_pcm
snd                    57344  13 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
i915                 1122304  4
shpchp                 32768  0
battery                20480  0
drm_kms_helper        110592  1 i915
ac                     16384  0
soundcore              16384  1 snd
video                  36864  3 compal_laptop,dell_laptop,i915
drm                   253952  6 i915,drm_kms_helper
i2c_algo_bit           16384  1 i915
fb_sys_fops            16384  1 drm_kms_helper
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
button                 16384  1 i915
acpi_cpufreq           20480  1
coretemp               16384  0
parport_pc             28672  0
ppdev                  20480  0
lp                     20480  0
parport                36864  3 lp,parport_pc,ppdev
ip_tables              20480  0
x_tables               20480  1 ip_tables
autofs4                36864  2
ext4                  491520  1
crc16                  16384  2 bluetooth,ext4
jbd2                   81920  1 ext4
fscrypto               24576  1 ext4
ecb                    16384  0
crypto_simd            16384  0
cryptd                 20480  1 crypto_simd
aes_i586               20480  5
mbcache                16384  1 ext4
btrfs                1040384  0
crc32c_generic         16384  3
xor                    28672  1 btrfs
raid6_pq              106496  1 btrfs
dm_mirror              24576  0
dm_region_hash         20480  1 dm_mirror
dm_log                 20480  2 dm_mirror,dm_region_hash
dm_mod                 94208  2 dm_mirror,dm_log
ums_realtek            20480  0
uas                    20480  1
usb_storage            49152  2 uas,ums_realtek
sd_mod                 40960  4
ata_generic            16384  0
ata_piix               32768  2
libata                180224  2 ata_piix,ata_generic
psmouse               126976  0
scsi_mod              172032  5 sd_mod,usb_storage,libata,uas,sg
i2c_i801               24576  0
ehci_pci               16384  0
uhci_hcd               40960  0
ehci_hcd               61440  1 ehci_pci
usbcore               176128  8 uvcvideo,usb_storage,ehci_hcd,uhci_hcd,btusb,uas,ums_realtek,ehci_pci
usb_common             16384  1 usbcore
r8169                  69632  0
mii                    16384  1 r8169
thermal                20480  0
EDITED BY ADMIN: Added codetags
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: robin0800 on 25 October 2017, 10:53:22
Code tags is the # in the second row of buttons. you select this then  you place your code in the middle of the brackets
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: nous on 25 October 2017, 13:33:29
Your disk is one single partition, /dev/sdb, formatted as vfat. There's no regular sdb1, nothing special really, except for the fdisk output that suggests factory-created partition table. Is udisks2 installed in Artix? Disk and shares automounting is a job for helpers like udisks2 and gvfs, see the relevant Arch wiki article.
I suggest you get rid of that ugly partition table by backing up your disk somewhere and using gparted or cfdisk to create a single partition with a more modern filesystem like ext4 or exfat/ntfs if you use that disk with spyware like windows.
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: mandog on 25 October 2017, 14:32:01
Exfat for me works out of the box  in both read/write,  in artix although gparted does not format it  had to do that in windows.
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: nous on 25 October 2017, 15:38:52
Exfat for me works out of the box  in both read/write,  in artix although gparted does not format it  had to do that in windows.
Missing exfat-utils?
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: fungalnet on 25 October 2017, 16:03:23
I didn't know this can be done, I always thought that every type of disk needed some kind of a start area that describes how the rest of the disk is configured, making this next big part at least a partition smaller that the whole.  But I guess I don't know about vfat.
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: robin0800 on 25 October 2017, 16:11:02
I personally use ntfs reads and writes fine in linux with ntfs-3g and is native to windows
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 25 October 2017, 17:30:35
I have exfat-utils

Your disk is one single partition, /dev/sdb, formatted as vfat. There's no regular sdb1, nothing special really, except for the fdisk output that suggests factory-created partition table. Is udisks2 installed in Artix? Disk and shares automounting is a job for helpers like udisks2 and gvfs, see the relevant Arch wiki article.
I suggest you get rid of that ugly partition table by backing up your disk somewhere and using gparted or cfdisk to create a single partition with a more modern filesystem like ext4 or exfat/ntfs if you use that disk with spyware like windows.


Yes I have udisks2 installed, But my disk isn't one single partition /dev/sdb...
Previously, on Manjaro Linux, I was able to do sudo blkid /dev/sdb1 in order to get the UUID for the first part of the partition...
Device     Boot      Start        End    Sectors   Size Id Type
/dev/sdb1       1919230059 6204919772 4285689714     2T  a OS/2 Boot Manager
/dev/sdb2        544829025 1089655755  544826731 259.8G 65 Novell Netware 386
/dev/sdb3        168653938  168653938          0     0B 65 Novell Netware 386
/dev/sdb4       2885681152 2885734080      52929  25.9M  0 Empty
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 25 October 2017, 17:31:45
I personally use ntfs reads and writes fine in linux with ntfs-3g and is native to windows

I'd love to be able to change it to NTFS, but I've got over 1100GB of files on it & no other harddrive to back it all up on D:
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: mandog on 25 October 2017, 19:06:44
I'd love to be able to change it to NTFS, but I've got over 1100GB of files on it & no other harddrive to back it all up on D:
Can you not do it in stages I  would never recommend not partitioning a hardrive. 
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 25 October 2017, 19:46:09
Can you not do it in stages I  would never recommend not partitioning a hardrive. 
Do it in stages??? How would I do that? Its 1100 GB full out of 2TB... There's no room for me to back it up anywhere in order to change the partitions around. I've had this harddrive for years.
Other distros don't have a problem with this harddrive, we have to be missing something...
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: ᒤᕞᕹᓸ on 25 October 2017, 20:30:59
I have exfat-utils


Yes I have udisks2 installed, But my disk isn't one single partition /dev/sdb...
Previously, on Manjaro Linux, I was able to do sudo blkid /dev/sdb1 in order to get the UUID for the first part of the partition...
Device    Boot      Start        End    Sectors  Size Id Type
/dev/sdb1      1919230059 6204919772 4285689714    2T  a OS/2 Boot Manager
/dev/sdb2        544829025 1089655755  544826731 259.8G 65 Novell Netware 386
/dev/sdb3        168653938  168653938          0    0B 65 Novell Netware 386
/dev/sdb4      2885681152 2885734080      52929  25.9M  0 Empty

Okay, blkid command is awesome. I had to use gnome-disk-utility to see uuid and the filesystem used.

Assuming the filesystem is OS/2 which falls under MS-DOS install these packages:

Code: [Select]
pacman -Sy mtools dosfstools ntfs-3g

I threw in ntfs-3g just in case you ever need ntfs.

Or we could install support for (almost) every filesystem under the sun: (everything under the optional dependancies of gparted and then some)

pacman -Sy dosfstools jfsutils f2fs-tools btrfs-progs exfat-utils ntfs-3g reiserfsprogs udftools xfsprogs nilfs-utils mtools nfs-utils mtpfs

Code: [Select]
[localhost ᒤᕞᕹᓸ]# pacman -Sii gparted
Repository      : extra
Name            : gparted
Version         : 0.30.0-3
Description     : A Partition Magic clone, frontend to GNU Parted
Architecture    : x86_64
URL             : http://gparted.sourceforge.net
Licenses        : GPL
Groups          : None
Provides        : None
Depends On      : parted  gtkmm
Optional Deps   : dosfstools: for FAT16 and FAT32 partitions
                  jfsutils: for jfs partitions
                  f2fs-tools: for Flash-Friendly File System
                  btrfs-progs: for btrfs partitions
                  exfat-utils: for exFAT partitions
                  ntfs-3g: for ntfs partitions
                  reiserfsprogs: for reiser partitions
                  udftools: for UDF file system support
                  xfsprogs: for xfs partitions
                  nilfs-utils: for nilfs2 support
                  polkit: to run gparted from application menu
                  gpart: for recovering corrupt partition tables
                  mtools: utilities to access MS-DOS disks
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Download Size   : 1598.96 KiB
Installed Size  : 6730.00 KiB
Packager        : Christian Hesse <arch@eworm.de>
Build Date      : Thursday 12 October 2017 03:12:41 PM CDT
MD5 Sum         : 9784a80c234a74ec35700956edc9b724
SHA-256 Sum     : 7ab163ad1cca782a3169f8b2657babbd46b230603137af853f8ef6689b8d61e9
Signatures      : A6234074498E9CEE
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: nous on 25 October 2017, 23:08:38
People, don't add to confusion. OP stated he cound sudo mount the disk, and this means kernel (modules) and userspace (mount.whatever) support is there. What is lacking is automounting support.
@kenny_w What's your desktop environment? Also, post the output of 'id'.
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 27 October 2017, 21:49:31
LXDE is my desktop environment of choice on every computer I use. Post the output of id? With the harddrive plugged into my netbook running Debian or...?

mtools dosfstools ntfs-3g <-- I've got these 3 already too

What I'd like to be able to do is to sudo blkid /dev/sdb1 , I can't seem to be able to do that, I guess Artix doesn't recognize the OS/2 filesystem?
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 27 October 2017, 21:53:33
I can do sudo blkid /dev/sdb1 on my other computers & it'll give me the UUID of the drive, but I can't do blkid /dev/sdb1 on Artix.
I've got USB's automounting OK, but I just can't get the UUID of /dev/sdb1 , Artix doesn't recognize the filesystem structure or something..? I've got to say though, I am VERY happy with Artix Linux! I think this will be my new home - no more distrohopping, at least for my x64 computers :P
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: mandog on 27 October 2017, 21:59:18
I can do sudo blkid /dev/sdb1 on my other computers & it'll give me the UUID of the drive, but I can't do blkid /dev/sdb1 on Artix.
I've got USB's automounting OK, but I just can't get the UUID of /dev/sdb1 , Artix doesn't recognize the filesystem structure or something..? I've got to say though, I am VERY happy with Artix Linux! I think this will be my new home - no more distrohopping, at least for my x64 computers :P
What file manager are you using please
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: nous on 27 October 2017, 22:54:46
LXDE is my desktop environment of choice on every computer I use. Post the output of id? With the harddrive plugged into my netbook running Debian or...?
In Artix, I want to see your group membership.
 
What I'd like to be able to do is to sudo blkid /dev/sdb1 , I can't seem to be able to do that, I guess Artix doesn't recognize the OS/2 filesystem?
There's NO OS/2 filesystem on your disk, it's plain vfat. The weird manufacturer partition table just reports an ID of OS/2.
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 28 October 2017, 17:47:24
uid=1001(kzs) gid=1002(kzs) groups=1002(kzs),7(lp),10(wheel),90(network),91(video),93(optical),95(storage),96(scanner),98(power),100(users),1001(autologin)

I'm not sure what a group membership is, but here you go Nous.

Device    Boot      Start        End    Sectors  Size Id Type
/dev/sdb1      1919230059 6204919772 4285689714    2T  a OS/2 Boot Manager
/dev/sdb2        544829025 1089655755  544826731 259.8G 65 Novell Netware 386
/dev/sdb3        168653938  168653938          0    0B 65 Novell Netware 386
/dev/sdb4      2885681152 2885734080      52929  25.9M  0 Empty

What does that OS/2 thing mean anyways? OS/2 boot manager... Why does it come up like that? O.o
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 28 October 2017, 17:48:38
this is the id thing on my main PC. I want my harddrive to work with my kzs computer, the 's' is short for stereo, as that computer controls visualizers + my stereo. I forgot to edit the /etc/group thing on my other computers, I'm gonna do that now.
uid=1001(kz) gid=1002(kz) groups=1002(kz),7(lp),10(wheel),14(uucp),90(network),91(video),93(optical),95(storage),96(scanner),98(power),100(users),996(adbusers),1001(autologin)

Edit: I have just updated the /etc/group entries on my computer that I want to connect the harddrive to, I thought I did that already but apparently I didn't so I fixed that right away. My apologies. Here is the new "id" output:

uid=1001(kzs) gid=1002(kzs) groups=1002(kzs),7(lp),10(wheel),14(uucp),90(network),91(video),93(optical),95(storage),96(scanner),98(power),100(users),996(adbusers),1001(autologin)
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: nous on 29 October 2017, 20:45:47
Your group membership looks quite complete. First of all I really hope dbus is setup to launch on boot in your Artix and is the one from our repos. If so, you must check, in order:
1. Your session. Issue loginctl show-session $XDG_SESSION_ID, which should contain Remote=no and Active=yes in its output.
2. Your polkit authentication agent (https://wiki.archlinux.org/index.php/Polkit#Authentication_agents). Make sure you have the one related to your desktop environment installed.

Last but not least: is udiskie installed? Do other usb media automount?
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: mandog on 29 October 2017, 21:42:59
You also need in start-up applications  @dbus-launch pcmanfm --desktop -d or  @dbus-launch pcmanfm  -d  to start pcmanfm to show mounted volumes in the left column Ignore if you already did this.
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 30 October 2017, 01:28:34
I've got dbus and udiskie definitely from the Artix repos. And I have the lxpolkit for LXDE.
Remote=yes
RemoteHost=192.168.1.169
Active=yes

I'm not quite sure what that means, if I make it say no then does it disconnect me on SSH?



You also need in start-up applications  @dbus-launch pcmanfm --desktop -d or  @dbus-launch pcmanfm  -d  to start pcmanfm to show mounted volumes in the left column Ignore if you already did this.

hmmmm.... I think pcmanfm already opens, I'm not quite sure. How can I check? Does it hurt to have that command put in twice?
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: nous on 30 October 2017, 01:43:00
I've got dbus and udiskie definitely from the Artix repos. And I have the lxpolkit for LXDE.
Remote=yes
RemoteHost=192.168.1.169
Active=yes

I'm not quite sure what that means, if I make it say no then does it disconnect me on SSH?
Just issue it locally, not from an ssh session. What about other usb media, do they automount?
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 30 October 2017, 17:47:58
Yea other USBs automount, I've got it[the computer in question] automounting other normal USBs, that's not really the problem anymore, the problem is that I can't see the file structure of this 2TB harddrive, it just comes up as /dev/sdb & not /dev/sdb1 so I can't get the UUID for it... I can get the UUID for it on other distros though...
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: nous on 02 November 2017, 19:24:43
Hmmm, since it's the kernel that passes partition info to userspace, please post the output of 'dmesg -wH' from artix and debian when plugging in the usb disk.
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 10 November 2017, 16:28:46
Has anyone else been having trouble with getting the forums to load???
Here's the command for Artix, Nous. https://pastebin.com/WUXGzssR
I'll get the Debian one a bit later when I get back home.
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: nous on 11 November 2017, 14:37:12
Has anyone else been having trouble with getting the forums to load???
What's the trouble? Lag or errors?

Here's the command for Artix, Nous. https://pastebin.com/WUXGzssR
I'll get the Debian one a bit later when I get back home.
Code: [Select]
[  +0.049741] scsi host2: uas
[  +0.001994] scsi 2:0:0:0: Direct-Access     Seagate  Backup+ Desk     050B PQ: 0 ANSI: 6
[  +0.080595] usb 1-1.2: new full-speed USB device number 4 using ehci-pci
[  +0.012769] sd 2:0:0:0: [sdb] 3907029167 512-byte logical blocks: (2.00 TB/1.82 TiB)
[  +0.000007] sd 2:0:0:0: [sdb] 4096-byte physical blocks
[  +0.000470] sd 2:0:0:0: [sdb] Write Protect is off
[  +0.000004] sd 2:0:0:0: [sdb] Mode Sense: 4f 00 00 00
[  +0.000650] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  +0.004125]  sdb:
[  +0.003738] sd 2:0:0:0: [sdb] Attached SCSI disk
That's the relevant section, the linux-ck kernel identifies the disk partitionless. Post now the debian kernel snippet to compare.
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 11 November 2017, 18:04:04
Ok so I got the command for Debian but I've noticed that I can't do sudo blkid /dev/sdb1 ... I'm gonna install Manjaro on another computer & then I'll get you the output for that too, ok? Because I swear I was able to blkid /dev/sdb1 before.

https://pastebin.com/sTywcmuk
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: nous on 11 November 2017, 20:10:41
Debian with kernel 4.13? I'm impressed, thought they'd be at 3.14 or something.
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: fungalnet on 12 November 2017, 06:42:03
No, that's Debian Sid (unstable) which was introduced in sid when 4.13 was labeled stable and 4.14 was at about rc3.
In my case, I had been trying 4.13 since Manjaro and would never work, it worked when Debian released it as I borrowed it in my Devuan tests.  Then it worked here shortly afterwards.
I think Jessie (old stable) is at 3.16 and current stable is at 4.9 (that's 5 months old)
Using software with well known bugs for 2 years after they have been solved and work fine in Arch was my reason for departing this stable philosophy.   Stale is only a "b" away from debian.

Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: mandog on 28 January 2018, 21:39:16
Very true
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: fungalnet on 30 January 2018, 09:25:17
Quote
The last posting from your IP was less than 60 seconds ago. Please try again later.
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: robin0800 on 30 January 2018, 13:30:30
Make sure these entries are in groups these entries are in groups uucp:x:14: user name   adbusers:x:996:user name  storage:x:95:user name

You don't need adbusers and you probably won't have that group as it comes from the "android-udev" package and is needed for adb and fastboot on android phones.
Title: Re: USB HDD not loading on either computer with Artix Linux...
Post by: kenny_w on 03 February 2018, 21:50:45
Just issue it locally, not from an ssh session. What about other usb media, do they automount?

How do I do that????? I'm really confused.. I haven't been able to reply to this thread for a while because I keep getting some weird error...
Apparently I'm able to reply to it now.... I uploaded screenshots on another thread about this thread.

How do I change Active=Yes and Remote=Yes ? ? ? ? ? ? ?? ? ? ? ? ?? ? ?????? ?? ? ? ???
I honestly have no clue, I can't figure out HOW I was supposed to do this...