• Diplomjodler@feddit.de
    link
    fedilink
    arrow-up
    16
    ·
    9 months ago

    Fixed a typo in my /etc/fstab that prevented the NAS from mounting. I am a bear of little brain. But I’m also proof that you don’t have to be some master hacker to successfully run Linux.

    • NaoPb@eviltoast.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 months ago

      This is something I’ve had to do a few times.

      Saved me from reinstalling. Made me realise that there really should be an alternative to typing into fstab by hand since us humans will make mistake. Either that or make fstab nog crash completly on an error but just skip it.

      • Jayjader@jlai.lu
        link
        fedilink
        arrow-up
        3
        ·
        9 months ago

        I have no idea how widespread it is among other distros, but ArchLinux’s bootable install disk/iso comes with a genfstab command that snapshots your current mount points and outputs it as a fstab.

        You still need to figure out where and how to mount everything yourself, but at least it saves you from most typos that could otherwise end up in the fstab file.

        • NaoPb@eviltoast.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          9 months ago

          That’s nice.

          I know that the disk utilty in Ubuntu gives you the option to automatically mount a (secondary) disk at boot. It adds it to fstab for you.