Announcement

Collapse
No announcement yet.

2ndary HD not mounting as executable so Steam for Linux can't use it

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • claydoh
    replied
    Ok!

    Now we will open your fstab file:

    kdesudo kate /etc/fstab

    At the bottom of the file, add the following line:

    ##Steam drive - /dev/sdb2
    UUID=afbb0adc-2372-4eb4-86ab-1e5bdfb2e676 /media/steve7233/Steam\040for\040Linux ext4 rw,relatime,uid=1000,gid=1000 0 2


    Save, and reboot
    You should be able to navigate to the folder without having to mount it in Dolphin anymore., and hopefully.
    Do make sure that in Steam's settings, the path to the steam library is exactly the same as the path to the folder in the partition we just mounted, it should be that already I think

    Leave a comment:


  • steve7233
    replied
    Code:
    steve7233@steve7233-EP45-UD3P:/media/steve7233/Steam for Linux$ ls -al /dev/disk/by-uuid/
    total 0
    drwxr-xr-x 2 root root 180 Jun 20 17:37 .
    drwxr-xr-x 6 root root 120 Jun 20 17:37 ..
    lrwxrwxrwx 1 root root   9 Jun 23 09:49 2015-05-01-12-31-22-00 -> ../../sr0
    lrwxrwxrwx 1 root root  10 Jun 20 17:37 4A2B2166090D53D5 -> ../../sdb1
    lrwxrwxrwx 1 root root  10 Jun 20 17:37 63d13f72-35e1-40f1-863f-d4882641100a -> ../../sda1
    lrwxrwxrwx 1 root root  10 Jun 20 17:37 6ca0884d-ac58-4cd3-bf59-9007b2d51cdd -> ../../sda5
    lrwxrwxrwx 1 root root  10 Jun 20 17:37 98EA2240EA221AD0 -> ../../sdd1
    lrwxrwxrwx 1 root root  10 Jun 20 17:37 afbb0adc-2372-4eb4-86ab-1e5bdfb2e676 -> ../../sdb2
    lrwxrwxrwx 1 root root  10 Jun 20 17:37 E0948D1F948CF974 -> ../../sdc1
    steve7233@steve7233-EP45-UD3P:/media/steve7233/Steam for Linux$

    Leave a comment:


  • claydoh
    replied
    Ok, so far so good

    Now to find the uuid of the partition we want to mount permamnently:

    Please post the output of

    ls -al /dev/disk/by-uuid/

    Leave a comment:


  • steve7233
    replied
    Code:
    steve7233@steve7233-EP45-UD3P:/media/steve7233/Steam for Linux$ find /media/steve7233 -uid 0
    /media/steve7233
    /media/steve7233/disk5
    find: `/media/steve7233/disk5': Permission denied
    /media/steve7233/disk2
    find: `/media/steve7233/disk2': Permission denied
    /media/steve7233/disk3
    find: `/media/steve7233/disk3': Permission denied
    /media/steve7233/disk4
    find: `/media/steve7233/disk4': Permission denied
    /media/steve7233/disk6
    find: `/media/steve7233/disk6': Permission denied
    /media/steve7233/disk7
    find: `/media/steve7233/disk7': Permission denied
    /media/steve7233/disk1
    find: `/media/steve7233/disk1': Permission denied
    /media/steve7233/disk
    find: `/media/steve7233/disk': Permission denied
    steve7233@steve7233-EP45-UD3P:/media/steve7233/Steam for Linux$

    Leave a comment:


  • claydoh
    replied
    Sorry!! Sleepy headed copypasta typo.

    find /media/steve7233 -uid 0

    Sent from my HTC6435LVW using Tapatalk

    Leave a comment:


  • steve7233
    replied
    steve7233@steve7233-EP45-UD3P:/media/steve7233/Steam for Linux$ find /home -/media/steve7233 -uid 0
    find: unknown predicate `-/media/steve7233'
    steve7233@steve7233-EP45-UD3P:/media/steve7233/Steam for Linux$

    Leave a comment:


  • claydoh
    replied
    There is no entry for the drive in the fstab, so it would not be mounted automatically anyway, but everything looks kosher to me, as far as I can tell.

    We'll dive deeper into the file system on it to see if there are anything amiss, permissions-wise.


    With the drive mounted, please post the results of this command:

    Code:
    find /media/steve7233 -uid 0
    This will look for any files owned by root (instead of steve7233)
    This might take a small amount of time to complete, depending on the number of files.

    If it shows anything owned by root, we will fix that
    If it shown nothing at all, then we will make the mounting permanent, and with your user's ownership.

    I am still working my usual odd hours, so I may be afk a bit, apologies in advance.
    Last edited by claydoh; Jun 22, 2015, 12:33 AM.

    Leave a comment:


  • steve7233
    replied
    Code:
    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    # / was on /dev/sda1 during installation
    UUID=63d13f72-35e1-40f1-863f-d4882641100a /               ext4    errors=remount-ro 0       1
    # swap was on /dev/sda5 during installation
    UUID=6ca0884d-ac58-4cd3-bf59-9007b2d51cdd none            swap    sw              0       0
    Code:
    steve7233@steve7233-EP45-UD3P:/media/steve7233/Steam for Linux$ 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,relatime,size=2007316k,nr_inodes=501829,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=404580k,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/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
    cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
    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/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
    cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
    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)
    cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
    cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,clone_children)
    systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=31,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
    mqueue on /dev/mqueue type mqueue (rw,relatime)
    debugfs on /sys/kernel/debug type debugfs (rw,relatime)
    hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
    fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
    binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
    tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=404580k,mode=700,uid=1000,gid=1000)
    /dev/sdb2 on /media/steve7233/Steam for Linux type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
    steve7233@steve7233-EP45-UD3P:/media/steve7233/Steam for Linux$

    Leave a comment:


  • claydoh
    replied
    Sorry, with 2 jobs, I've been afk (away from Kubuntu, lol!)

    Could you post the contents of your
    /etc/fstab file
    As well as the output from the command
    Code:
    mount
    Taken after you've mounted the drive?

    Sent from my HTC6435LVW using Tapatalk

    Leave a comment:


  • steve7233
    replied
    In case anyone was wondering no yesterdays HD update did not fix the problem.

    Leave a comment:


  • jlittle
    replied
    By default, removable drives are mounted without the exec option, so that binaries on a USB stick, say, can't run.

    I suggest first unmounting Dolphin's automount, then mounting with sudo, to see if the problem still occurs. I don't think an explicit mount -o exec is needed, but after mounting run mount to see if it says (noexec), and if it does, unmount and try -o exec. Then, if that exercise works, add an entry to your /etc/fstab; use sudo blkid to find the right UUIDs.

    Leave a comment:


  • steve7233
    replied
    Originally posted by claydoh View Post
    Is this the exact error message?
    Code:
    New Steam Library Folder must be on a filesystem mounted with executable permissions.
















    Typing out exact messages are very helpful when researching problems.
    If this is the exact error message, please mount the drive as you normally would, and then in a terminal, enter the following command exactly as given:

    df -h


    Copy and paste the output here. We are looking for the actual mounting point of the disk with your Steam games.
    The line we are looking for most likely will look somewhat similar like this:

    /dev/sdb1 4.0G 3.0M 4.0G 1% /media/lark/F185-7C35


    Above, lark is my username, this is what it looks like when I click on a drive to mount it using Dolphin. Things mounted this way are done in /media/<your-username>

    Next, we need to see the ownership of the directory, so you will need to go to that folder in Dolphin, right-click on it, go to Permissions, and look at the ownership.

    A good way to get this info is to open that folder in Dolphin, hit your f4 key to open a terminal there, and then enter this command:
    ls -l.
    This will give us some permission/ownership info on the folders and files inside, and is a nice and easy thing to copy and paste here.



    If this is the exact error message, I suspect this as the outcome of having run Dolphin or other program using sudo, then mounting that drive from it, thus changing the permissions, but can't know for sure until we take a look-see.
    The dive should be mounted at boot time but it no longer does. Some update mus thave changed this. This is why I use dolphin. perhapes that is why it dosn't mount correctly. Yes what you said was the exact error message that Steam gave.

    Code:
    steve7233@steve7233-EP45-UD3P:~$ df -h
    Filesystem      Size  Used Avail Use% Mounted on
    udev            2.0G     0  2.0G   0% /dev
    tmpfs           396M  6.7M  389M   2% /run
    /dev/sda1       180G  166G  4.9G  98% /
    tmpfs           2.0G   44M  1.9G   3% /dev/shm
    tmpfs           5.0M  4.0K  5.0M   1% /run/lock
    tmpfs           2.0G     0  2.0G   0% /sys/fs/cgroup
    tmpfs           396M   12K  396M   1% /run/user/1000
    /dev/sdb2       164G   85G   71G  55% /media/steve7233/Steam for Linux
    the last line is the drive in question.

    Code:
    steve7233@steve7233-EP45-UD3P:/media/steve7233/Steam for Linux$ ls -l
    total 20
    drwxr-xr-x 2 steve7233 steve7233 16384 Sep 25  2014 lost+found
    drwxrwxr-x 3 steve7233 steve7233  4096 Apr 23 11:59 SteamLibrary

    Leave a comment:


  • claydoh
    replied
    Is this the exact error message?
    Code:
    New Steam Library Folder must be on a filesystem mounted with executable permissions.
















    Typing out exact messages are very helpful when researching problems.
    If this is the exact error message, please mount the drive as you normally would, and then in a terminal, enter the following command exactly as given:

    df -h


    Copy and paste the output here. We are looking for the actual mounting point of the disk with your Steam games.
    The line we are looking for most likely will look somewhat similar like this:

    /dev/sdb1 4.0G 3.0M 4.0G 1% /media/lark/F185-7C35


    Above, lark is my username, this is what it looks like when I click on a drive to mount it using Dolphin. Things mounted this way are done in /media/<your-username>

    Next, we need to see the ownership of the directory, so you will need to go to that folder in Dolphin, right-click on it, go to Permissions, and look at the ownership.

    A good way to get this info is to open that folder in Dolphin, hit your f4 key to open a terminal there, and then enter this command:
    ls -l.
    This will give us some permission/ownership info on the folders and files inside, and is a nice and easy thing to copy and paste here.



    If this is the exact error message, I suspect this as the outcome of having run Dolphin or other program using sudo, then mounting that drive from it, thus changing the permissions, but can't know for sure until we take a look-see.

    Leave a comment:


  • steve7233
    replied
    I click the install button in Steam and steam dose not list any other partitions as none are automatically mounted due to the problem. I close Steam. I launch Dolphin. I select the drive then Dolphin mounts it. I open Steam and try again. Now Steam lists the other drive but it wants to create a new library even tho there is a Steam Library on the partition with many games already installed. even If I select it it says the file has to be executable. I can try to install to my system drive but there is not enough space on it.

    Leave a comment:


  • claydoh
    replied
    I know it may be annoying and tedious, but a more precise listing of the steps you are taking to try and install the game are needed, along with exact errors and messages you see. This will give a better place for us to begin looking, and a better idea of where to look.

    Leave a comment:

Users Viewing This Topic

Collapse

There are 0 users viewing this topic.

Working...
X