• joelfromaus@aussie.zone
    link
    fedilink
    English
    arrow-up
    6
    ·
    5 days ago

    Since all of the “Linux is easy” folk are here I’ll ask a question even though I’m not near my PC:

    I’m dual booting W11 and ZorinOS, I have 3 drives and only the OS drive mounts at boot. The other 2, games SSD and a storage HDD, have to mounted manually. An online search yielded that this was “expected behaviour” and “how it’s designed to work” but unfortunately it confuses Steam each time I boot because as far as Steam is concerned the drive ceases to exist.

    Has anyone else had the same issue? I think I could use crontab to mount the drives at boot but it seems like something that shouldn’t be happening at all.

    • the_riviera_kid@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      2 days ago

      I mentioned previously the I had a little document written up, keep in mind this is how I did it on Bazzite so your mileage may vary but here it is.

      To auto mount drives on Bazzite with KDE open terminal and type

      (if you are using Gnome or already have Gnome disks installed you can skip to “open disks”)

      sudo rpm-ostree install gnome-disk-utility

      Wait for-ev-er…

      Reboot

      Open “disks”

      Select your disk you want to auto mount

      You’ll see an icon that looks like a window with a play symbol in it that is “Additionaal Partition Options”

      Click on it and select “Edit Mount Options”

      You may or may not have to toggle user session defaults

      Check the box that says mount on startup

      Enter your password if asked and reboot to verify.

    • dknelson@lemmings.world
      link
      fedilink
      English
      arrow-up
      15
      ·
      5 days ago

      Not sure what you searched for to get those answers, all I had to search was “Linux mount at boot” to get this answer with directions for editing /etc/fstab or using the gnome disk utility gui based on your preference

      • uniquethrowagay@feddit.org
        link
        fedilink
        English
        arrow-up
        4
        ·
        5 days ago

        It’s absolutely bananas that internal drives are not mounted automatically by standard. It’s even more bananas that it’s not easily customizable via GUI. Gnomes partitioning app can somewhat do it I believe, in KDE’s partitioning app, it was completely broken last time I tried. Either way I lost two people back to Windows because of this

        • 1984@lemmy.today
          link
          fedilink
          English
          arrow-up
          3
          ·
          5 days ago

          Yeah its not a perfect system, has some flaws, but its actual freedom from surveillance and late stage capitalism on the plus side.

          Not bad for a free, modern desktop that looks stunning.

          • uniquethrowagay@feddit.org
            link
            fedilink
            English
            arrow-up
            2
            ·
            5 days ago

            Absolutely! I’ve been on Linux since 2017 and KDE Plasma since 2019-ish. It outperforms Windows even in terms of usability/ease of use in most cases. My 70+ years old, tech-illiterate parents happily use it.

            But things like mounting and partitioning make me scratch my head. KDEs partitioner requires sudo rights to even start and then formats partitions in a way that you need sudo rights to access it. It’s annoying and would be very easy to fix.

            • 1984@lemmy.today
              link
              fedilink
              English
              arrow-up
              1
              ·
              5 days ago

              You can fix it yourself also, just add the command being run to the sudoers file and it will always run as root without needing your input.

              Im sure chat gpt can give you the exact command to put in.

        • Narauko@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          1
          ·
          5 days ago

          While I do agree with you on principle, keep in mind that while NTFS is technically supported in Linux there can still be issues. Reading is fine, but write can still be suspect. Someone a lot more experienced than I can correct this if I’m wrong, but it is not recommended to share a drive actively between Windows and Linux due to NTFS quirks.

          I mount my Windows NTFS data disk as needed in CachyOS, and will build the NAS I keep putting off for active file sharing as I spend more time on the Linux partition.

          • uniquethrowagay@feddit.org
            link
            fedilink
            English
            arrow-up
            1
            ·
            5 days ago

            Yeah NTFS is not a great experience indeed. You can only do so much without it being open source. But I also experienced issues with mounting ext4 or btrfs. It’s not a dealbreaker for me, but it tends to irritate new users while it seems easy to fix.

            • Narauko@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              4 days ago

              Very true, not a user friendly experience at all. My only experience with setting up automatic mounting was looking into mounting my “user drive” (separate SSD that I redirect all Windows stock folder structure like Documents or Downloads to) into at the time Manjaro, and abandoning the idea after reading about NTFS write concerns and experiencing chkdsk actions in Windows every time I even just mounted it. All my ext4 or btrfs drives were created during Linux installation and mapped automatically.

              Admittedly in CachyOS now I have yet to generate a chkdsk after mounting, browsing or copying data out of my NTFS user drive, so that may have been a Manjaro thing (along with breaking either itself or the bootloader ever single update). Still not risking the drive by auto mounting it or writing to it.

      • joelfromaus@aussie.zone
        link
        fedilink
        English
        arrow-up
        4
        ·
        5 days ago

        Not sure, but I’ll give that a go this weekend when I have some time to play around with it. Many thanks!

      • imjustmsk@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 days ago

        this was the only confusing thing I found withWheb I started using Linux, but once I got my drive mounting at boot at startup.

        I don’t have any problem with doing it anymore but why don’t beginner friendly distros have like a gui version or something easier to do that with for new users?

    • dual_sport_dork 🐧🗡️@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 days ago

      You can mount your drives on boot in fstab (/etc/fstab). This is only a low-key pain in the ass, and it’s probably a good thing your internally installed drives won’t change very often.

      If whatever method you use to mount them outright requires using the full mount command, possibly with a shitload of parameters attached, you can also do it on boot as a cron job that fires on boot (crontab -e) by prefacing the command with @reboot rather than the usual set of time parameters. This is how I handle e.g. mounting complicated network shares on my servers. This will fire before you even get to your login screen, so the drives ought to be accessible by the time Steam has to do whatever it does.

    • the_riviera_kid@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      5 days ago

      I had to figure this out the hard way because everywhere I asked the question I’d get told how I was wrong and it’s good actually. So good luck finding anything helpful for your specific install. I will share with you some links that kinda got me there. I had to figure out most of the steps individually and piece them together from multiple sources.

      https://discussion.fedoraproject.org/t/mounting-permanently-a-storage-unit-in-fedora-kde-automount-at-boot-no-password-all-users-can-see-and-edit-files/148030/15?replies_to_post_number=16

      https://www.youtube.com/watch?v=Eoq_cgAWMmQ

      https://universal-blue.discourse.group/t/auto-mounting-secondary-drives/970

      I’m not sure sure how relevant those links will be as I was trying to do the same on bazzite and not zorin but hopefully they help. If you are able to install gnome disks (if you haven’t already) there is a checkbox to do it for you but I forget where it is. I have a little document typed up on my PC at home that I can share with you as well when I get there later on the off chance that it is helpful. If you have questions, ask away I’m not sure I will be helpful but I’ll do what I can.

      FYI, linux seems to hate NTFS partitions and that may be a contributing factor here.