Forum › Forums › New users › New Users and General Questions › I can’t install fstab
- This topic has 6 replies, 4 voices, and was last updated Nov 9-9:08 pm by Brian Masinick.
-
AuthorPosts
-
November 9, 2020 at 12:34 pm #44670Member
kouroukinos77
Hi everyone,
I want to install fstab but it’s not on the repo, because I don’t have automount on my usb external hard drive, and sometime I need to reboot my computer; when I try
sudo mount /dev/sda*# fstab bash: fstab : commande introuvableHe don’t found my hard drive, so I don’t know how to don’t reboot my computer for have mount external support, like hard drive USB, or CDROM …
Thank you for your help.
$ uname -r
4.9.212-antix.1-amd64-smp
Mon retour de inxi -Fxz : https://pastebin.com/kqRMrRZZ
my xmpp : weerbor@jabber.frNovember 9, 2020 at 12:43 pm #44672Member
Xecure
::fstab IS included in antiX. You can see its configuration in /etc/fstab
To see a list of all devices available, run
sudo lsblkIf you are still running a hybrid antiX+systemd, it is possible that mounting works differently than how it was intended in antiX, but mounting works for me even starting from antiX core.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.November 9, 2020 at 1:00 pm #44674Member
Xecure
::Also, fstab is NOT a command.
To mount a drive in antiX, there are 2 ways:
1. Graphical way: Mount Connected Devices (Control Centre > Disks > Mount Connected Devices)
If you click the “List” button, it will display the devices and possible mounting point.
Fill out the Device and Mount point and try to mount (Mount button).2. The terminal way.
See list of available devices
sudo lsblk
Create mounting point (if it doesn’t exist)
sudo mkdir /media/my-mount-point
where /media/my-mount-point should be replaced with your preferred mounting point
Then mount the device
sudo mount /dev/sdb1 /media/my-mount-point
where I want to mount the device sdb2 to /media/my-mount-pointIt is easier if you use a File manager (like SpaceFM) or if you enable automount (you can enable it from the COntrol Centre > Disks > Configure automount)
antiX Live system enthusiast.
General Live Boot Parameters for antiX.November 9, 2020 at 3:02 pm #44691Moderator
Brian Masinick
::The fstab is in /etc/fstab. It is a system file which is the file system table.
The command man fstab provides a description.
--
Brian MasinickNovember 9, 2020 at 6:31 pm #44699Member
fungalnet
::# dpkg-query -S /usr/sbin/dev2uuid_fstab
antix-libs: /usr/sbin/dev2uuid_fstab
# dpkg-query -S /sbin/make-fstab
antix-libs: /sbin/make-fstabThe one just shows you what your current fstab looks like and the other creates and replaces fstab based on what is currently available that can be mounted. Marks the perceived removable ones in the bottom from the perceived fixed above.
So make a bkup of your fstab and play with it to see if it helps. antix-libs is the pkg that contains them, I believe.
- This reply was modified 2 years, 6 months ago by fungalnet.
anti-X - Adélie - obarun - systemd Free Space
November 9, 2020 at 9:05 pm #44711Moderator
Brian Masinick
::# dpkg-query -S /usr/sbin/dev2uuid_fstab
antix-libs: /usr/sbin/dev2uuid_fstab
# dpkg-query -S /sbin/make-fstab
antix-libs: /sbin/make-fstabThe one just shows you what your current fstab looks like and the other creates and replaces fstab based on what is currently available that can be mounted. Marks the perceived removable ones in the bottom from the perceived fixed above.
So make a bkup of your fstab and play with it to see if it helps. antix-libs is the pkg that contains them, I believe.
I suppose that these tools could be useful to some people as long as they work 100% correctly. The file, /etc/fstab is usually generated properly by most systems and is certainly generated by our system. The addition or removal of entries to /etc/fstab is not very difficult either, though it does require an understanding of the arguments and syntax within the file. I realize that as a retired software professional with decades of Linux experience and UNIX experience that dates back to my the early days of my career. To someone with a software background, managing the file system table is one of the easiest system administration tasks to perform. There is plenty of documentation about it, beginning with the online manual – man fstab has information.
Wikipedia has a decent online introduction: https://en.wikipedia.org/wiki/Fstab
Any of the terms used in the article can also be found, many on Wikipedia.What Is the Linux fstab File, and How Does It Work?
https://www.howtogeek.com/howto/38125/htg-explains-what-is-the-linux-fstab-and-how-does-it-work/
HOWTO Geek has a lot of good articles about various system administration tasks, so if you are an online learner, you can become familiar with Linux system administration through their many articles. If not, the Linux For Dummies series and the Linux Bible may have enough details to get you going, and you can purchase them and keep them by your side if that method works better for you. I used to have a lot of books but I rarely read them anymore; I can find just about anything with a Web-based search; each person can find the best method to suit themselves; information is plentiful and either a bookstore or a decent Internet connection and time to read is all that even the novice should need. I hope that this helps.--
Brian MasinickNovember 9, 2020 at 9:08 pm #44712Moderator
Brian Masinick
::https://linuxconfig.org/how-fstab-works-introduction-to-the-etc-fstab-file-on-linux is another easy to digest article that may be helpful.
--
Brian Masinick -
AuthorPosts
- You must be logged in to reply to this topic.