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.
-
AuthorPosts
-
August 20, 2022 at 7:00 am #87471Member
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, 3 weeks ago by PenguinGuy.
- This topic was modified 8 months, 3 weeks ago by PenguinGuy.
- This topic was modified 8 months, 3 weeks ago by PenguinGuy.
August 20, 2022 at 6:38 pm #87502Member
iznit
::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/fstabAugust 21, 2022 at 11:49 pm #87560Member
PenguinGuy
::The
auto/execpattern was correct since I just copy & pasted another setting in fstab & changed thenoexectoexec.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.
August 22, 2022 at 2:46 am #87573Member
iznit
::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-uuidAugust 24, 2022 at 4:54 pm #87652Member
PenguinGuy
::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, 2 weeks ago by PenguinGuy.
- This reply was modified 8 months, 2 weeks ago by PenguinGuy.
-
AuthorPosts
- You must be logged in to reply to this topic.