Access to an HDD on Linux Mint 20.0--SOLVED

MAK47

New Member
Joined
Dec 1, 2021
Messages
19
Reaction score
3
Credits
135
I have a new HP ProDesk G1 PC with a 256Gb SSD and a 1Tb HDD.
Mint is on the SSD where it belongs, but I cannot seem to get any 'pics' or 'docs' to reside on the HDD; they are also sitting on my SSD
D and I don't want that.
I am sure there has to be some command I didn't run or box I didn't check.
Can anyone provide me the 'silver bullet' to unlock access to my HDD?
Thank you!
 
Last edited:


how did partition the HDD? You have to tell the system to store you Data to that partition. or move them there manually.
If it were me I would may the HDD my /home partition. that way all downloads Pictures etc would be automatically store there.
 
Thanks for the quick reply.
1. I didn't know I had to partition the HDD; I didn't do anything to the SSD so I thought that the HDD also came 'set up'.
2. How do I make the HDD my 'home partition'?
 
I went into GParted and the SSD looks like it was formatted and it's working fine.
The HDD is 'invisible' showing the entire 951GB drive in a single block of 'gray' without any partitions of any kind.
I can only even see it via GParted.
I am, at best, an intermediate Linux user.
What I am trying to accomplish is to 'see' and then 'use' the HDD as the repository for my docs and pics, that's it.
How do I proceed to accomplish that, please?
 
Thank you!
I will try that and hope for the best.
At least I didn't have any files/data on the HDD yet!
And Mint is running well on the SSD!
I appreciate your help.
 
I don't use Mint, so I don't know if it auto-mounts the "other" hard drive ( non-OS drive ) automatically or not.

How to fix.
Open a terminal.

sudo fdisk -l

This will show you this disks you have. Likely /dev/sda and /dev/sdb is my guess.
It will show you the sizes of them. Probably the HDD drive is sdb.

Assuming this drive is sdb...
fdisk /dev/sdb
press "g" to create a gpt partition table.
press "w" to write this partition to the disk.
This will end fdisk.

fdisk /dev/sdb ( again )
press "n" to create a new partition.
Just press enter to accept the default values a few times.
Once the partition is created,
press "w" to write this partition to the disk.

This new partition will be called /dev/sdb1 ( the first partition on drive /dev/sdb )
This will probably kick you out of fdisk again, if not, press "q" to quit.

You can format this disk now.
mkfs.xfs or mkfs.ext4 or whatever filesystem you like. Likely ext4 is what Mint uses by default.
The syntax for this is...

mkfs.ext4 /dev/sdb1 ( don't forget the 1 )

When this is done.

blkid /dev/sdb1

You will see something like...

/dev/sdb1: UUID="a48485c1-57ae-49be-9b84-e89f8d9a34dd" BLOCK_SIZE="4096" TYPE="ext4"

Obviously the UUID string will be different.

edit your /etc/fstab file

add this line at the bottom

UUID=a48485c1-57ae-49be-9b84-e89f8d9a34dd /home ext4 defaults 0 0

(use your UUID, not the one I put here as an example )
When done editing this.

mount /home

df -h

You should now see /home as your 900GB partition.
 
LINK There's a link to a youtube video that should be able to help you the YouTuber is using mint like you so it should be a good tutorial.
I watched the youtube video and I followed it exactly and it worked exactly as was shown; so, thank you!
But, I am not able to either 'copy & paste' or 'move' any docs from the SSD to the newly accessible HDD.
Any ideas as to why not?
What do I need to do now?
Again, thank you in advance.
(Sorry to be such a PITA.)
 
BTW, under 'permissions' it says that I am not the 'owner' (?!) and that I cannot change the permissions to write; huh?
 
I am afraid that you are LEAGUES ahead of me.
How do I become the owner?
Or, if it is easier (for someone like ME) how would I change the mount position?
 
what is your user name? I will use elvisp as an example.

sudo chown -R elvisp:elvisp /home
 
Thank you, entered that (w/MY user name) but nothing changed; sorry.
 
If you are just trying to format your HDD to use it as storage - Mint has Disks installed by default - (AKA) gnome disk utility - here is step by step to format your drive using it - in this example I used a thumb drive but it works the same on any drive just highlight the drive you want to format first


2.png

3.png

4.png

5.png

6.png

7.png
 
HDD is now back to being there in GParted but INVISIBLE in 'Home.
 
HDD is now back to being there in GParted but INVISIBLE in 'Home.
Most likely it's mounted at /media or /mnt Not in home.
 
I you run in a terminal inxi -D it will tell you what drives you have and where they are mounted [but not partitions]
 


Top