Forum › Forums › Official Releases › antiX-19 “Marielle Franco, Hannie Schaft, Manolis Glezos, Grup Yorum, Wobblies” › [SOLVED] Cannot mount some partitions
- This topic has 6 replies, 4 voices, and was last updated Mar 15-10:14 am by ModdIt.
-
AuthorPosts
-
February 27, 2020 at 5:50 am #33122Member
kaye
Hello Friends
I’ve already uninstalled antiX 17 but I think this was how I accessed ntfs partitions and other ext4 partitions:
Press Ctrl+Alt+Space , type ‘gksu spacefm’, then on the left panel of the spacefm file explorer, I click on the partitions that I want to have access to for the duration of my session.
I would then open spacefm but this time not as root. The ntfs and other ext4 partitions are now accessible.
Now I’m using antiX19. I have these in /etc/fstab :
UUID=103e56a5-788d-4b7b-9aed-9661e7549b28 / ext4 defaults,noatime 1 1 UUID=097873ed-558c-4bff-9c69-64a74565c510 /home ext4 defaults,noatime 1 2 UUID=31e1752b-f976-4c90-bbed-0e3193ae6009 swap swap defaults 0 0 #-> /dev/sda2 label=windows UUID=03DDC9276CCDAAB7 /media/windows ntfs-3g noauto,noexec,uid=1000,gid=users,dmask=002,fmask=113,users 0 0 #-> /dev/sda5 label=data UUID=1592F30A2BBAB661 /media/data ntfs-3g auto,exec,uid=1000,gid=users,dmask=002,fmask=113,users 0 0 #-> /dev/sda7 label=debian_home UUID=6acf2243-4d9c-4d5f-865f-9421a15fae6e /media/debian_home ext4 noauto,exec,users 0 0 #-> /dev/sda8 label=debian_root UUID=d9cca0e2-b2b0-4d4b-b85e-a326829f92b5 /media/debian_root ext4 noauto,exec,users 0 0Opening the spacefm file explorer as non-root, I click on my data partition, which is shown above as /media/data , I get this:
udevil: denied 88: device /dev/sda5 is an internal device and you're not rootI open spacefm as root, I click on my data partition again, it opens, but now it’s mounted in /media/root/data , NOT /media/data as shown in /etc/fstab
While spacefm is still open as root, I click on the ext4 partitions, I get this:
udevil: /dev/sda7 is known to mount - running mount as current user udevil: warning 45: options ignored for device in fstab (or specify mount point) mount: /media/debian_home: mount point does not exist.I open another spacefm but this time not as root, I click my data partition, it says:
Directory doesn't exist /media/root/dataI click on my other ext4 partitions, I get this:
udevil: /dev/sda7 is known to mount - running mount as current user udevil: warning 45: options ignored for device in fstab (or specify mount point) mount: /media/debian_home: mount point does not exist.Thank you for your time!
- This topic was modified 3 years, 2 months ago by kaye.
- This topic was modified 3 years, 1 month ago by kaye.
February 27, 2020 at 7:10 am #33126Member
dirkd
::Have you checked that the UUID’s in fstab are actually correct? Run blkid (preferably as root) to get a list of the UUID’s of all your partitions. I have had problems with incorrect UUID’s before. I trust you have checked that the intended mount points are present in your file system.
Here is (part of) my own fstab file. I’m using some old windows partitions in NTFS format too.
# /etc/fstab: static file system information
#
# Created by make-fstab on Sat Jul 11 08:52:37 EDT 2015# <file system> <mount point> <type> <options> <dump/pass>
UUID=42a54b16-25e0-4a4c-bfcd-7ff3b2fb8301 / ext4 defaults 1 1
UUID=0841d91d-5dcc-4fc1-99ee-11257a2b9855 swap swap defaults 0 0
UUID=9e72bdbb-b308-4d0c-adf8-95bf7cca9544 /mnt/sys/Antix-17 ext4 auto,exec,users,rw 0 0UUID=94880C14880BF410 /mnt/sys/Sata2 ntfs-3g auto,exec,users,rw 0 0
/dev/sdc6 /mnt/data ntfs-3g auto,exec,users,rw 0 0
/dev/sdc5 /mnt/apps ntfs-3g auto,exec,users,rw 0 0As you can see, you can use /dev/sdxx references to your partitions in stead of UUID’s, or even label=xyz style references.
February 27, 2020 at 9:06 am #33136Member
armando
::I had the same problem.
I solved by just mounting always the internal drives.for example, change this:
UUID=03DDC9276CCDAAB7 /media/windows ntfs-3g noauto,noexec,uid=1000,gid=users,dmask=002,fmask=113,users 0 0 UUID=1592F30A2BBAB661 /media/data ntfs-3g auto,exec,uid=1000,gid=users,dmask=002,fmask=113,users 0 0to this:
UUID=03DDC9276CCDAAB7 /media/windows ntfs-3g defaults 0 0 UUID=1592F30A2BBAB661 /media/data ntfs-3g defaults 0 0just make sure you backup your fstab file before editing it.
—
if you want to know how to edit the fstab file, its easy, but be careful:sudo cp /etc/fstab /etc/fstab.backup #for backup if something goes wrong sudo nano /etc/fstab #to edit the file- This reply was modified 3 years, 2 months ago by armando.
March 14, 2020 at 5:33 am #33508Memberkaye
::Thanks guys. I forgot I already have a solution and had done it in antiX 17.
In /etc/fstab file, if I have a partition there that has a mount point of /media/data, I should create a folder in /media called ‘data’.
Then I execute this command in terminal:
sudo mount /dev/sdxX /media/ata
I would then be able to access my ‘data’ partition every time I log into antiX.
Thank you.
March 14, 2020 at 1:22 pm #33512MemberModdIt
::Hi guys,
in most cases it is the easiest to go in to the Antix control center, find “Manage Disks”, the exact
names depend on your default language.
This tool gives an easy graphical interface to remove or add entrys to fstab.
Edit mount points, set filesystem check after every 30 boots as well as enable or disable automounting.
You can unmount selected partitions too.
If you click the information tab bottom right you get information on drive, Partition, mountpoint and name as well as total size, free space, available space, used space.After changing a disk this tool solved my FStab setup problem quickly from the gui. Excellent tool.
The Antix control centre has several tabs. Tools and function is excellent, it takes a while to get familiar with what is available though.
Edited in the hope of making the post more useful to others.
- This reply was modified 3 years, 1 month ago by ModdIt. Reason: Additional information-correct spelling error
March 15, 2020 at 8:47 am #33522Memberkaye
March 15, 2020 at 10:14 am #33527MemberModdIt
::@kaye hope your problem is fixed. I edited to make the post more useful for other readers. I hope anyway.
If you have the solution you needed pls mark as solved.
-
AuthorPosts
- You must be logged in to reply to this topic.