0

Basically. I have steam installed but I want to install games onto a flash drive since I don't have enough space on the SSD.

When I try to add library folder on the flash drive I get this message "New steam library folder must be on a filesystem mounted with execute permissions"

If I try to install the game straight to the folder I get the same message.

Please could someone give me a tutorial or tell me how to fix it so I can complete the task. Step by step would be nice!

1 Answers1

1

As suggested in the comments:

Find out what is the name of your drive:

sudo fdisk -l

This lists all partitions, there you have to find yours (just look for the size in the first line, this usually helps most)

Then execute

sudo mount -t vfat -o rw,auto,user,exec,fmask=0022,dmask=0000 /dev/DRIVE /mountpoint

where DRIVE is substituted by what you found out above and mountpoint, for example, is /media/$USER/steamDrive.

If you want to always mount this drive on boot see this; which also might be a good idea to read for understanding.

muru
  • 197,895
  • 55
  • 485
  • 740
  • Thanks for the help but I'm just going to have to give up. Doing sudo fdisk -l leads to it not being there. On top of that when trying to eject the flash drive it's saying medium are busy after only just putting it in. – Phill McFerran Aug 18 '14 at 15:33
  • does it stay busy after a while? It might be that it is "busy" mounting – Ristridin Aug 18 '14 at 15:40
  • It's fine now. Would it be easier if I just formatted the flash drive to ext4 format? – Phill McFerran Aug 18 '14 at 16:04
  • if you only use it on ubuntu I'd say yes; you are able to manage the permissions right then Mounting however is necessary nevertheless - sudo mount /dev/DRIVE /mountpoint – Ristridin Aug 18 '14 at 16:07
  • the fstab entry would be sth like /dev/DRIVE /mountpoint ext4 defaults 0 2 (explanation see link above); then you mount it every time you boot – Ristridin Aug 18 '14 at 16:12
  • So no matter what I'm going to have to mount? – Phill McFerran Aug 18 '14 at 16:17
  • yes otherwise you cant use your drive; if you like the gui-way more you can mount in nautilus too (just click the "Home" Button in the launcher and there click the drive). This mounts at /media/$USER/drivename – Ristridin Aug 18 '14 at 16:19
  • or you even might try this; however I just googled it - never used this myself – Ristridin Aug 18 '14 at 16:21
  • the great thing about mounting is, that you can choose the mountpoint, win just adds another letter for the drive. In the Linux way you can easily extend your /home if you are out of space with no need to navigate to D:\Data – Ristridin Aug 18 '14 at 16:25