Edited fstab = all apps stop working [SOLVED]

Forum Forums New users New Users and General Questions Edited fstab = all apps stop working [SOLVED]

  • This topic has 4 replies, 2 voices, and was last updated Aug 24-4:54 pm by PenguinGuy.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #87471
    Member
    PenguinGuy

      Update:

      Thumbdrive booted, found fstab & commented out the line, which seemed to fix it (glad nothing else got messed up).

      I suppose this can be considered solved, but still not quite sure how to exec a drive without exec applied all drives in udevil.

      If I use fstab to set the path as I did below it confuses the system even though the drive is correct (must do some weird append thing to the path).

      =============================================

      Nearly all the apps are not working & missing including the terminal. I can login, but I can’t logout.

      icewm seems to load, but none of the app links or buttons work other than showing a few items (like Hexchat & Browser — which don’t open or run).

      What I did was try to mount my sda5 drive to exec by setting it to something like…

      /dev/sd5 / /auto/exec

      This seemed to mount weird, so I unmounted it.

      I think the system became confused with the main sd1 or sd0 (whatever it is called).

      Any way to fix this by editing a config from the thumbdrive antix boot?

      • This topic was modified 8 months, 2 weeks ago by PenguinGuy.
      • This topic was modified 8 months, 2 weeks ago by PenguinGuy.
      • This topic was modified 8 months, 2 weeks ago by PenguinGuy.
      #87502
      Member
      iznit
        Helpful
        Up
        1
        ::

        PenguinGuy, better to use the UUID of the partition [[[ not /dev/sdX ]]] within fstab.
        (some BIOS’s [[[or the linux kernel itself]]] may occasionally change the numerical order of storage devices.)

        Also, fstab doesn’t understand “/auto/exec”
        To learn the expected syntax, read: https://wiki.debian.org/fstab

        #87560
        Member
        PenguinGuy
          Helpful
          Up
          0
          ::

          The auto/exec pattern was correct since I just copy & pasted another setting in fstab & changed the noexec to exec.

          I was able to mount folder within the drive correctly.

          However, when I changed the mounted path to just / (to try to mount the whole drive) the drive instead acted as an alias or link to the root drive’s /.

          Then I umounted it & noticed all iceWM & all my apps were screwed up.

          Rebooted & the whole system was still messed up.

          Thanks, I’ll look up UUID.

          Do you know the recommended way to configure it in antiX specifically?

          • This reply was modified 8 months, 2 weeks ago by PenguinGuy.
          #87573
          Member
          iznit
            Helpful
            Up
            0
            ::

            another learning resource page here https://help.ubuntu.com/community/Fstab

            The syntax of a fstab entry is :

            [Device] [Mount Point] [File System Type] [Options] [Dump] [Pass]

            You are insisting that “auto/exec” is correct, but the slash character is only valid for Device ans MountPoint fields…. and “auto” [[[aka autodetect]]] is typically used for the FileSystemType field… and “exec” [[[or “noexec”]]] is one of the available Options.

            If you have, literally, created a “/exec/auto” directory path it could be specified as the MountPoint location, but….. why? Directories intended for use as MountPoints are conventionally created under “/mnt” or under “/media”.

            To see a list of UUIDs:
            ls -lha /dev/disk/by-uuid

            #87652
            Member
            PenguinGuy
              Helpful
              Up
              0
              ::

              No here is the actual syntax I used:

              
              /dev/sr0                                   /media/sr0                                  auto       noauto,users,exec,ro            0 0
              
              #/dev/sda5                                  /home                                       auto       noauto,users,exec,ro            0 0
              • This reply was modified 8 months, 1 week ago by PenguinGuy.
              • This reply was modified 8 months, 1 week ago by PenguinGuy.
            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.