Announcement

Collapse
No announcement yet.

Cannot acces/store data w. Steam (v. 1721173382) on second m.2 drive (Heroic has no problems thou)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] Cannot acces/store data w. Steam (v. 1721173382) on second m.2 drive (Heroic has no problems thou)

    Hi everyone (and also "Hello World!!")

    I'm yet another one of those whom have migrated/evolved from Windows to the thrills and wonders of what an open source OS has to offer, so far I enjoy things tremendously. I started with Linux Mint but wanted to try something else so I installed Kubuntu which I'll keep using. I've found my dist

    I have Kubuntu 24.04 installed on one smaller drive (Kingston SV300S37A120G​) and I know that it is not the fastest of my two drives but I've been using that as the OS drive for years and would like to keep it that way.

    Storage for games, downloads and everything besides the OS would be stored on the m.2 stick (Crucial CT4000P3SSD8​) where there's plenty of room. I know that Windows gives the user options on which drive software gets installed and Linux works in a different way. I'll install Gimp sometime in the future and prehaps a File Manager (like Norton Commander, Total Commander)

    Since I love gaming I installed Steam (Steam Beta Branch:Stable Client, Steam Version:1721173382) and Heroic (2.14.1). I have no problems installing and running games with Heroic on the m.2 stick (Crucial CT4000P3SSD8​)​. I've must have done something wrong when I edited the fstab since I cannot add any folder from the m.2 stick as storage in Steam which annoys me and is the thing I need help from you with.

    I have this line added to fstab so that my m.2 stick would be mounted when the system boots, I've tried both with ntfs and ntfs-3g in fstab but it makes no difference.

    UUID=7140883D64E14DBC /mnt/Stuff ntfs-3g defaults,locale=en_US.utf8 0 0
    Im pretty sure that Root is the owner of m.2 partition.

    I hope you guys can help me out, I think Steam was installed not as a flatpack but I am not 100% sure.

    Here is some system info, let me know if you need to know any other information,

    System:
    Host: Kubuntu Kernel: 6.8.0-39-generic arch: x86_64 bits: 64 compiler: gcc
    v: 13.2.0 clocksource: tsc
    Desktop: KDE Plasma v: 5.27.11 tk: Qt v: 5.15.13 wm: kwin_x11 vt: 2
    dm: SDDM Distro: Kubuntu 24.04 LTS (Noble Numbat) base: Ubuntu
    Machine:
    Type: Desktop Mobo: ASRock model: B450 Gaming-ITX/ac
    serial: <superuser required> uuid: <superuser required>
    BIOS: American Megatrends v: P5.20 date: 11/01/2022
    Battery:
    Device-1: hidpp_battery_0 model: Logitech G603 Wireless Gaming Mouse
    serial: 57-c0-42-06 charge: 10% (should be ignored) rechargeable: yes
    status: discharging
    CPU:
    Info: 6-core model: AMD Ryzen 5 5600X bits: 64 type: MT MCP smt: enabled
    arch: Zen 3+ rev: 0 cache:L1: 384 KiB L2: 3 MiB L3: 32 MiB
    Speed (MHz):avg: 2843 high: 3700 min/max: 2200/4650 boost: enabled cores:
    1: 3700 2: 3700 3: 2200 4: 2874 5: 2200 6: 2200 7: 3700 8: 3593 9: 3356
    10: 2200 11: 2200 12: 2200 bogomips: 88632
    Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
    Graphics:
    Device-1: NVIDIA TU116 [GeForce GTX 1660 SUPER] vendor: ASUSTeK
    driver: nvidia v: 535.183.01 arch: Turing pcie:speed: 8 GT/s lanes: 16
    ports:active: none off: DVI-D-1 empty: DP-1,HDMI-A-1 bus-ID: 0a:00.0
    chip-ID: 10de:21c4 class-ID: 0300
    Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6
    compositor: kwin_x11 driver:X:loaded: modesetting,nouveau,nvidia
    unloaded: fbdev,vesa gpu: nvidia,nvidia-nvswitch display-ID: :0 screens: 1
    Screen-1: 0 s-res: 1920x1080 s-dpi: 92 s-size: 530x301mm (20.87x11.85")
    s-diag: 610mm (24")
    Monitor-1: DVI-D-1 mapped: DVI-D-0 note: disabled pos: primary
    model: Asus VG248 serial: EALMQS064381 res: 1920x1080 dpi: 92
    size: 531x299mm (20.91x11.77") diag: 609mm (24") modes:max: 1920x1080
    min: 640x480
    Monitor-2: Unknown-1 mapped: None-1-1 note: disabled size-res: N/A
    modes: 640x480
    API: EGL v: 1.5 hw:drv: nvidia platforms:device: 0 drv: nvidia device: 2
    drv: swrast gbm:drv: kms_swrast surfaceless:drv: nvidia x11:drv: nvidia
    inactive: wayland,device-1
    API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 535.183.01
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce GTX 1660
    SUPER/PCIe/SSE2
    API: Vulkan v: 1.3.275 layers: 8 surfaces: xcb,xlib device: 0
    type: discrete-gpu driver: N/A device-ID: 10de:21c4 device: 1 type: cpu
    driver: N/A device-ID: 10005:0000
    Audio:
    Device-1: NVIDIA TU116 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie:speed: 8 GT/s lanes: 16
    bus-ID: 0a:00.1 chip-ID: 10de:1aeb class-ID: 0403
    Device-2: AMD Starship/Matisse HD Audio vendor: ASRock
    driver: snd_hda_intel v: kernel pcie:speed: 16 GT/s lanes: 16
    bus-ID: 0c:00.4 chip-ID: 1022:1487 class-ID: 0403
    Device-3: Logitech G535 Wireless Gaming Headset
    driver: cdc_acm,hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 bus-ID: 5-4:2 chip-ID: 046d:0ac4 class-ID: 0a00
    API: ALSA v: k6.8.0-39-generic status: kernel-api
    Server-1: PipeWire v: 1.0.5 status: active with:1: pipewire-pulse
    status: active 2: wireplumber status: active
    Network:
    Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi
    v: kernel pcie:speed: 2.5 GT/s lanes: 1 bus-ID: 08:00.0 chip-ID: 8086:24fb
    class-ID: 0280
    IF: wlp8s0 state: down mac: 7c:50:79:ed:57:06
    Device-2: Intel I211 Gigabit Network vendor: ASRock driver: igb v: kernel
    pcie:speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 09:00.0 chip-ID: 8086:1539
    class-ID: 0200
    IF: enp9s0 state: up speed: 1000 Mbps duplex: full mac: 9c:6b:00:18:b1:1e
    Bluetooth:
    Device-1: Intel Wireless-AC 3168 Bluetooth driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 1-6:2 chip-ID: 8087:0aa7
    class-ID: e001
    Report: hciconfig ID: hci0 rfk-id: 0 state: up address: 7C:50:79:ED:57:0A
    bt-v: 4.2 lmp-v: 8 sub-v: 1100 hci-v: 8 rev: 1100 class-ID: 7c0104
    Drives:
    Local Storage:total: 3.75 TiB used: 144.2 GiB (3.8%)
    ID-1: /dev/nvme0n1 vendor: Crucial model: CT4000P3SSD8 size: 3.64 TiB
    speed: 31.6 Gb/s lanes: 4 tech: SSD serial: 2332E8683EB6 fw-rev: P9CR30A
    temp: 35.9 C scheme: GPT
    ID-2: /dev/sda vendor: Kingston model: SV300S37A120G size: 111.79 GiB
    speed: 6.0 Gb/s tech: SSD serial: 50026B774A09F80F fw-rev: BBF0 scheme: MBR
    Partition:
    ID-1: / size: 109.47 GiB used: 80.12 GiB (73.2%) fs: ext4 dev: /dev/sda1
    Swap:
    ID-1: swap-1 type: file size: 512 MiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
    Sensors:
    System Temperatures:cpu: 48.4 C mobo: N/A gpu: nvidia temp: 40 C
    Fan Speeds (rpm): N/A gpu: nvidia fan: 0%
    Info:
    Memory:total: 16 GiB available: 15.51 GiB used: 3.32 GiB (21.4%)
    Processes: 315 Power:uptime: 6m states: freeze,mem,disk suspend: deep
    wakeups: 0 hibernate: shutdown Init: systemd v: 255 target: graphical (5)
    default: graphical
    Packages: 2549 pm: dpkg pkgs: 2528 pm: flatpak pkgs: 11 pm: snap pkgs: 10
    Compilers: N/A Shell: Bash v: 5.2.21 running-in: konsole inxi: 3.3.34


    Operating System: Kubuntu 24.04
    KDE Plasma Version: 5.27.11
    KDE Frameworks Version: 5.115.0
    Qt Version: 5.15.13
    Kernel Version: 6.8.0-39-generic (64-bit)
    Graphics Platform: X11
    Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
    Memory: 15.5 Gibyte of RAM
    Graphics Processor: NVIDIA GeForce GTX 1660 SUPER/PCIe/SSE2​
    Last edited by ingels; Jul 27, 2024, 05:00 AM. Reason: added info om ownership

    #2
    Hi, welcome to the Kubuntu family and welcome to the Kubuntu Forums. To be able to help you, we'd need more information about your hard drive configurations. Whilst in Microsoft Windows drives and partitions were labelled by letters (A,B,C,D etc) Linux does it differently. In Linux, it's SDA, SDA1 (same drive with different partitions), SDB, SDC (for each addition drive). Each partition maintains the same first 3 letters followed by a number. Anyhow, that's just a bit of information, what we do want to know is how your various drives are organised and how fstab sees them. Please provide the information for the following two commands.
    Code:
    cat /etc/fstab
    and
    Code:
    sudo fdisk -l
    Both commands should be done via konsole and for the second command you need to type in your password after pressing enter. Note, each command should be done separately and enter pressed after each command.
    Challenges are what that keeps us from the borderline of boredom in life's journey. Linux user no. 419401 currently running Kubuntu 24.04
    _______________________________________________
    Current System: Beelink Mini PC, AMD Ryzen 7 5800H 8 Core(Up to 4.4GHz), 32GB DDR4 RAM 1TB NVME M.2 SSD, SER5 MAX Mini Desktop Computer with TCL BeyondTV5 serving as my monitor. ​

    Comment


      #3
      It's simple. NTFS and steam seems to still be a crapshoot. Mostly not Steam's fault, but requiring ntfs-3g these days is a bit odd. Then again, it wasn't that long ago that NTFS wasn't supported .

      https://github.com/ValveSoftware/Pro...ux-and-Windows

      If setting up a partition from scratch doesn't work, I'd suggest just using ext4.

      Do make sure you actually have ntfs-3g installed. Most distros use the in-kernel NTFS implementation, including Ubuntu.

      If dual booting Windows, make sure windows fast-startup is turned off. This lock the file system if that partition is being included in this.

      Comment


        #4
        Originally posted by Princey View Post
        cat /etc/fstab

        # /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>
        UUID=3a06d101-a1f4-4847-bf3c-844d71c03b79 / ext4 discard 0 1
        /swapfile swap swap defaults 0 0
        tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
        UUID=7140883D64E14DBC /mnt/Stuff ntfs-3g defaults,locale=en_US.utf8 0 0





        Originally posted by Princey View Post
        sudo fdisk -l
        Disk /dev/loop0: 4 KiB, 4096 byte, 8 sektorer
        Enheter: sektorer av 1 * 512 = 512 byte
        Sektorstorlek (logisk/fysisk): 512 byte / 512 byte
        I/O-storlek (minsta/optimal): 512 byte / 512 byte


        Disk /dev/loop1: 55,66 MiB, 58363904 byte, 113992 sektorer
        Enheter: sektorer av 1 * 512 = 512 byte
        Sektorstorlek (logisk/fysisk): 512 byte / 512 byte
        I/O-storlek (minsta/optimal): 512 byte / 512 byte


        Disk /dev/loop2: 74,24 MiB, 77844480 byte, 152040 sektorer
        Enheter: sektorer av 1 * 512 = 512 byte
        Sektorstorlek (logisk/fysisk): 512 byte / 512 byte
        I/O-storlek (minsta/optimal): 512 byte / 512 byte


        Disk /dev/loop3: 269,63 MiB, 282722304 byte, 552192 sektorer
        Enheter: sektorer av 1 * 512 = 512 byte
        Sektorstorlek (logisk/fysisk): 512 byte / 512 byte
        I/O-storlek (minsta/optimal): 512 byte / 512 byte


        Disk /dev/loop4: 10,72 MiB, 11239424 byte, 21952 sektorer
        Enheter: sektorer av 1 * 512 = 512 byte
        Sektorstorlek (logisk/fysisk): 512 byte / 512 byte
        I/O-storlek (minsta/optimal): 512 byte / 512 byte


        Disk /dev/loop5: 505,09 MiB, 529625088 byte, 1034424 sektorer
        Enheter: sektorer av 1 * 512 = 512 byte
        Sektorstorlek (logisk/fysisk): 512 byte / 512 byte
        I/O-storlek (minsta/optimal): 512 byte / 512 byte


        Disk /dev/loop6: 91,69 MiB, 96141312 byte, 187776 sektorer
        Enheter: sektorer av 1 * 512 = 512 byte
        Sektorstorlek (logisk/fysisk): 512 byte / 512 byte
        I/O-storlek (minsta/optimal): 512 byte / 512 byte


        Disk /dev/loop7: 38,73 MiB, 40615936 byte, 79328 sektorer
        Enheter: sektorer av 1 * 512 = 512 byte
        Sektorstorlek (logisk/fysisk): 512 byte / 512 byte
        I/O-storlek (minsta/optimal): 512 byte / 512 byte


        Disk /dev/nvme0n1: 3,64 TiB, 4000787030016 byte, 7814037168 sektorer
        Disk model: CT4000P3SSD8
        Enheter: sektorer av 1 * 512 = 512 byte
        Sektorstorlek (logisk/fysisk): 512 byte / 512 byte
        I/O-storlek (minsta/optimal): 512 byte / 512 byte
        Disketikettstyp: gpt
        Diskidentifierare: C95563CE-5677-4BF8-B498-5A034DB2A01E

        Enhet Början Slutet SektorerStorlekTyp
        /dev/nvme0n1p1 2048 7814035455 7814033408 3,6T Microsoft grundläggande data


        Disk /dev/sda: 111,79 GiB, 120034123776 byte, 234441648 sektorer
        Disk model: KINGSTON SV300S3
        Enheter: sektorer av 1 * 512 = 512 byte
        Sektorstorlek (logisk/fysisk): 512 byte / 512 byte
        I/O-storlek (minsta/optimal): 512 byte / 512 byte
        Disketikettstyp: dos
        Diskidentifierare: 0xaf4321f2

        Enhet StartBörjan Slutet SektorerStorlekIdTyp
        /dev/sda1 * 2048 234436544 234434497 111,8G 83 Linux


        Disk /dev/loop8: 38,83 MiB, 40714240 byte, 79520 sektorer
        Enheter: sektorer av 1 * 512 = 512 byte
        Sektorstorlek (logisk/fysisk): 512 byte / 512 byte
        I/O-storlek (minsta/optimal): 512 byte / 512 byte


        Disk /dev/loop9: 137,29 MiB, 143962112 byte, 281176 sektorer
        Enheter: sektorer av 1 * 512 = 512 byte
        Sektorstorlek (logisk/fysisk): 512 byte / 512 byte
        I/O-storlek (minsta/optimal): 512 byte / 512 byte


        Disk /dev/loop10: 149,55 MiB, 156819456 byte, 306288 sektorer
        Enheter: sektorer av 1 * 512 = 512 byte
        Sektorstorlek (logisk/fysisk): 512 byte / 512 byte
        I/O-storlek (minsta/optimal): 512 byte / 512 byte


        Originally posted by claydoh View Post
        It's simple. NTFS and steam seems to still be a crapshoot. Mostly not Steam's fault, but requiring ntfs-3g these days is a bit odd. Then again, it wasn't that long ago that NTFS wasn't supported .

        https://github.com/ValveSoftware/Pro...ux-and-Windows

        If setting up a partition from scratch doesn't work, I'd suggest just using ext4.

        Do make sure you actually have ntfs-3g installed. Most distros use the in-kernel NTFS implementation, including Ubuntu.

        If dual booting Windows, make sure windows fast-startup is turned off. This lock the file system if that partition is being included in this.
        I've read some recommending NTFS and some ext3 but I somehow finally went for NTFS. I am not dual booting, I did recently install W10 when I had problems getting my 8BitDo SN30Pro Joypad to function when I was running Linux Mint but to be honest, when you've had a go with Linux and have to go back to Windows you won't stay with Windows for long. That is why I installed Kubuntu instead.

        I also found out that Steam seems to have problems with disk ownership so Im not sure if that's where the problem can be?

        Comment


          #5
          On which do you have Linux installed? /dev/sda or /dev/nvme01? My question is why are you running ntfs under Linux? Other than file sharing between Linux and Microsoft Windows in a dual boot setting, I don't see any other reason but from what you've listed above. From what I know, especially on my machine, steam is installed on
          ~/. local/share/Steam
          which is part of your home partition. So check that folder and see what permissions are placed on that folder.
          Challenges are what that keeps us from the borderline of boredom in life's journey. Linux user no. 419401 currently running Kubuntu 24.04
          _______________________________________________
          Current System: Beelink Mini PC, AMD Ryzen 7 5800H 8 Core(Up to 4.4GHz), 32GB DDR4 RAM 1TB NVME M.2 SSD, SER5 MAX Mini Desktop Computer with TCL BeyondTV5 serving as my monitor. ​

          Comment


            #6
            Originally posted by ingels View Post
            .I also found out that Steam seems to have problems with disk ownership so Im not sure if that's where the problem can be?
            ​​
            No,not really.

            NTFS is not 100 % solid on Linux imo. With ext4, or any other Linux file system, you do need to know just a little about ownership and permissions.

            NTFS doesn't follow unix standards for this.

            Basically, by default, new partitions will be owned by "root".
            But you can easily change this for the mount point.
            You can use Dolphin, if Admin mode is available on the right - click (can't remember if kio-admin is installed by default or available to be installed or not). You change the ownership of the directory (/mnf/Stuff or wherever you have it mounted) and it's contents to your user name.

            Or super quickly in a terminal

            sudo chown -R your-username: your-username /mnt/Stuff

            So you can create a new ext4 partition, mount it, then change ownership of the mount point. Then copy your backed up steam library.

            Its what I've been doing for almost as long as my 18 year old steam account has existed - it's never been used on Windows

            Comment


              #7
              Things now work and I'd like to say thank you for helping me out, I've finally sorted things and got things working. Here is what I did.

              1. I formated the m.2 stick and went with EXT4 filesystem.
              2. Created folders and fixed ownership with chown.
              3. Added the line
              UUID=3cd63312-fbd9-492c-bbe0-277c8d4b07e0 /mnt/Stuff/Games/Steam ext4
              to fstab for mounting the drive/folder.
              4. I uninstalled the old version of Steam since Im not sure if it was the flatpack installation package which some have had problems with.
              5. Installed steam via console and used
              sudo snap install steam
              .

              When Steam was installed I did the usuall things in Steam

              6. Enter Steam Settings.
              7. Storage and added the location of where I want the games installed (and it worked this time)
              8. Compability / Enable Steam for all other titles.

              Not sure what the source of the problem really was, if I had the wrong version of Steam installed, NTFS filesystem (which I will avoid from now on as long as Im running Linux) or if I did anything wrong using chown.

              Once again, kudos for being helpful towards a new Linux user

              Moderator can now close this topic or marknit as solved
              Last edited by ingels; Jul 27, 2024, 05:47 PM.

              Comment


                #8
                Well, probably why you had issues. I installed steam by downloading the .deb file from their website then
                Code:
                sudo dpkgi -i /home/username/Downloads/steam +tab key
                . Of course, some packages will be missing and easily fixed with
                Code:
                sudo apt install --fix-missing
                . That was all and I had steam up and running.

                P.S. Do edit your original post and mark it as "solved" or "resolved".
                Challenges are what that keeps us from the borderline of boredom in life's journey. Linux user no. 419401 currently running Kubuntu 24.04
                _______________________________________________
                Current System: Beelink Mini PC, AMD Ryzen 7 5800H 8 Core(Up to 4.4GHz), 32GB DDR4 RAM 1TB NVME M.2 SSD, SER5 MAX Mini Desktop Computer with TCL BeyondTV5 serving as my monitor. ​

                Comment

                Working...
                X