I'm trying to access HDD

sparks32

New Member
Joined
Nov 12, 2025
Messages
2
Reaction score
1
Credits
25
I have a second HDD I'm trying to look at in a file explorer in the tower if you can call a HP elitedesk box a tower. I'm using Linux Mint cinnanon.
I don't know if I need to mount it then change permissions
I don't know how to use cd in terminal to find the drive directory

In System settings using the program disks I can see the drive:
Assessment Disk is OK
Partitioning GUID Partition Table
7 Partitions /dev/sda1 to dev/sda7
Contents unknown
I might be able to delete partitions but i want to see what on it first

in the Home folder i click on file system then I go to dev folder and right click on sda1 then goto properties/basic and i see
Name: sda1
Type: Block device (inode/blockdevice)
Location: /dev
Volume: unknown

Under Permissions tab
everthing is grayed out with the message
"You are not the owner. so you can not change these permissions"
if I double click on the file Itself asks me to choose a file to open it with.
any insight into this problem is appreciated
 


This is how i access my home folder/bulk picture/music files on a second drive
connect your drive [if external]
click on files [orange folder, bottom left of screen]
look for your drive [this will take some getting use to as you need to recognise it by volume]
double click to open find your home file [or other storage file] right click and open
if the second drive is Windows you can only access your files and downloads, you can not run any programs/apps from there
 
Looks like your HDD is NTFS formatted?
You'll first need ntfs-3g package installed and set your fstab to use it for that drive.
Permissions for ntfs and vfat file systems must be set with the dmask, fmask and umask options.
dmask controls permissions for directories, fmask controls permissions for files, and umask controls both.
Since these options set masks, they should be the complement of the permissions you want.
For example, rwx for the owner and rx for others is 022 rather than 755.
I don't have a source for this quote.

To open fstab run sudo nano /etc/fstab:

Bash:
UUID=85265f87-225d-4c7d-8b77-39a0cdeced38 /media/USER/MountDir ntfs-3g defaults,nls=utf8,dmask=027,fmask=137,uid=1000,gid=1000,windows_names 0 0

Update the above line in /etc/fstab with correct UUID and uid.
To learn UUID run sudo blkid and identify your HDD
To learn uid and gid run id -un
Also set correct mount point for your HDD.

Save/close and then apply with:
Bash:
sudo systemctl daemon-reload
sudo mount -a

If error mounting run (replace sdXN with your drive, see output of lsblk):
Bash:
sudo ntfsfix /dev/sdXN
 
Thanks I will have to contine this later. I remember some older Distros that just looked at the drives and ignored permissions. What distros are good straight out of the box for this? Just want to cut and paste then delete partitions, reformat and go again.
 
What distros are good straight out of the box for this?
The Linux Mint you use is perfectly fine for the commands.

Edit: But the used UUID in the command is unique and different for every partition, i.e. you must find out the correct one first by the quoted "sudo blkid" command. An alternative is to execute "lsblk -f", it gives a little more structured display for the drives/partitions.
 
Last edited:
I had [it died last week] a HP Pro-desk 400 G1 [Intel 4th gen] I ran Mint LMDE7, on NVMe, I also had Mint 21 as back up on the old plate spinner, then sitting in the rack for use when needed Parrot, MX, Debian stable, and for testing when, no If i have time..another 4 SATA HDD's, anything i could run on this machine would run on the HP tower
I was awaiting delivery of the replacement today,[another Pro-desk 400 but 3rd gen intel 6th gen] but British postal service have decided to put it off till tomorrow
 
Last edited:
Welcome to the Forum.
1762984364379.gif


I have an old internal HDD that I used in windoze 7 and NTFS...it auto-mounts and works just fine.

I also have an old External HDD USB 2 which also auto-mounts and works just fine...yours should too unless it has failed.

You do have this box ticked...go to System Settings...Desktop.
1762984760554.png


1762984933756.gif
 


Follow Linux.org

Members online


Top