• @[email protected]
    link
    fedilink
    English
    23 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.

    • @[email protected]
      link
      fedilink
      33 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.

      • @[email protected]
        link
        fedilink
        English
        13 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.