Forum › Forums › Official Releases › antiX-21/22 “Grup Yorum” › Cannot mount internal drive [SOLVED]
- This topic has 9 replies, 5 voices, and was last updated Aug 14-5:17 pm by Aleph_Sev.
-
AuthorPosts
-
August 14, 2022 at 8:25 am #87202Member
Aleph_Sev
I inherited my son’s laptop. A good toy 🙂
It has a 500Mb ssd disk, where I have installed Antix and another 1Gb internal hard disk, but I am not able to access it.
I have tried several options, from Control Center – configure automount. Changing the zzzFM options and following the instructions in this thread:
https://www.antixforum.com/forums/topic/cannot-mount-internal-ntfs-partitions-only-as-root/but I must be doing something wrong, I can’t access it.
Can you help me?
- This topic was modified 8 months, 4 weeks ago by Aleph_Sev.
August 14, 2022 at 9:39 am #87206MemberModdIt
::What is the filesystem. Does the BIOS recognize the drive. If yes and not NTFS can you access the drive as root.
If yes it is a permissions problem. As sudoed user or root do a recursive ownership change to username:username.
Easy to find the howtos for chown.If you are unable to see the drive at all check if it is has a mount point, an entry in etc fstab and is mounted.
again a quick search shows loads of howtos.August 14, 2022 at 10:04 am #87207Member
Aleph_Sev
::The disk is formatted in NTFS, it was used from Windows. The BIOS recognizes it and I can see it in zzzFM, but I can’t mount it as administrator.
These are the disk properties according to zzzFM:
DEVICE /dev/sda3 internal mountable USAGE /dev/sda3 931,4 G ( not mounted ) FSTAB ( not found ) INFO Showing information for /dev/sda3 native-path: /sys/devices/pci0000:00/0000:00:17.0/ata6/host5/target5:0:0/5:0:0:0/block/sda/sda3 device: 8:3 device-file: /dev/sda3 presentation: /dev/sda3 by-id: /dev/disk/by-id/ata-HGST_HTS721010A9E630_JR100XBNJUHBXE-part3 system internal: 1 removable: 0 has media: 1 is read only: 0 is mounted: 0 mount paths: presentation hide: 0 presentation nopolicy: 0 presentation name: presentation icon: automount hint: size: 1000070633984 block size: 512 usage: type: version: uuid: label: partition: scheme: number: 3 type: flags: offset: 134235136 alignment offset: 3072 size: 1000070633984 label: uuid:August 14, 2022 at 10:21 am #87208Member
Aleph_Sev
::From Gparted I can see that the file system of the disk appears as unknown. Should I reformat it?
- This reply was modified 8 months, 4 weeks ago by Aleph_Sev.
August 14, 2022 at 11:45 am #87212Member
silvioto
::I have a ntfs internal drive that is mounted correctly by antix (read and write). Follow my fstab, hoping useful for you.
# storage /dev/sdb1 /media/storage ntfs-3g uid=Silvio,gid=users 0 0 # Windows partition /dev/sdb2 /media/windows ntfs-3g uid=Silvio,gid=users 0 0August 14, 2022 at 12:15 pm #87213Member
silvioto
::From Gparted I can see that the file system of the disk appears as unknown. Should I reformat it?
Yes @Aleph_Sev, you must format it as NTFS or other as you prefer.
- This reply was modified 8 months, 4 weeks ago by silvioto.
- This reply was modified 8 months, 4 weeks ago by silvioto.
August 14, 2022 at 12:17 pm #87216ModeratorBobC
::If you are SURE that you don’t want the data and programs on the drive (which will be erased), you could reformat it to whatever format you want. Mounting it is separate from formatting it.
August 14, 2022 at 3:42 pm #87231Member
iznit
::Aleph_Sev, read the manpage for the “ntfsfix” command. That utility may be able to detect and correct the problem.
This ntfsfix command line option gives a “safe” or “simulation” dry run
--no-actionBefore the drive was pulled, was the windows machine shut down….. or hibernated? If ntfs-3g detects “hiberfil.sys” on a partition, it may [[[probably will]]] refuse to mount it unless ro [[[read-only]]] is explicitly requested. Refer to the ntfs-3g manpage for details on the “remove_hiberfile” option.
August 14, 2022 at 5:09 pm #87235Member
Aleph_Sev
::Sorry, I haven’t found the solution yet.
I have formatted the partition.
I have also followed all the directions in this thread but none of them work for me.
https://www.antixforum.com/forums/topic/how-to-mount-automatically-a-partition/#post-34723I think it’s a permissions problem, but I don’t know how to solve it.
Now it can be opened from zzzFM as root, but not as user. I was even able to add several files as root.The disk appears inside the partition table that zzzFM shows inside /root
- This reply was modified 8 months, 4 weeks ago by Aleph_Sev.
- This reply was modified 8 months, 4 weeks ago by Aleph_Sev.
Attachments:
August 14, 2022 at 5:17 pm #87239Member
Aleph_Sev
::Solved!!
I did
sudo geany /etc/udevil/udevil.confallowed_internal_devices = * -
AuthorPosts
- You must be logged in to reply to this topic.
