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

    #16
    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.
    Regards, John Little

    Comment


      #17
      In case anyone was wondering no yesterdays HD update did not fix the problem.
      Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

      http://www.kubuntu.org/getkubuntu

      Comment


        #18
        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

        Comment


          #19
          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$
          Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

          http://www.kubuntu.org/getkubuntu

          Comment


            #20
            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.

            Comment


              #21
              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$
              Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

              http://www.kubuntu.org/getkubuntu

              Comment


                #22
                Sorry!! Sleepy headed copypasta typo.

                find /media/steve7233 -uid 0

                Sent from my HTC6435LVW using Tapatalk

                Comment


                  #23
                  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$
                  Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

                  http://www.kubuntu.org/getkubuntu

                  Comment


                    #24
                    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/

                    Comment


                      #25
                      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$
                      Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

                      http://www.kubuntu.org/getkubuntu

                      Comment


                        #26
                        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

                        Comment


                          #27
                          Great now the whole system is broken! It boots to emegency mode. I just copy and pasted your instructions to bash.
                          Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

                          http://www.kubuntu.org/getkubuntu

                          Comment


                            #28
                            I had to use my Amazon Kindle to reply.
                            Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

                            http://www.kubuntu.org/getkubuntu

                            Comment


                              #29
                              While looking in the log I found a line that says in red "ACPI PCC probe failed." What does that mean?
                              Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

                              http://www.kubuntu.org/getkubuntu

                              Comment


                                #30
                                It seems when trying to mount the drive this thread is about, the log file says the mount failed due to wrong file system, bad option, bad superblock on /dev/sdb2.
                                Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

                                http://www.kubuntu.org/getkubuntu

                                Comment

                                Working...
                                X