Add new hard drive

Hi! im migrating from windows and give EndeavourOS a try, all works fine (for now) but i got a problem with a hard drive. I install the OS in a SSD 512GB BUT now i got a 1TB hard drive for steam games and some other things because… storage. I format it, give it an ext4 partition, and mount it.

The problem i forgot is that for linux you need permits for anything, and i cant do anything with the 1TB hard drive, cant create folders or have access to anything. I follow some tutorials but with no progress, im a complete newbie.

I want to use it has a /home diretory (if that make any sense) store my games and some photos/music and of course not to mount it manually everytime i start the system. Any help? (btw sorry for my broken english)

Welcome to the community! :vulcan_salute: :enos_flag:

Since you’re a newbie, you could try the GUI option of using gnome-disks.

sudo pacman -Syu gnome-disk-utility

I am not sure if it is already installed, and you may already have another tool that can do this. But I think this is easier to work with.

If you choose to install it, then once you open the app, see the images below for visual instructions after selecting the drive/partition you would like to gain access to:



and



Then follow the prompts.

2 Likes

Im literally laughing of myself right now, one command and just a click… i try gparted, partion manager, a looot of commands and nothing, you good sir make my day. Thank you so much, but how i made to auto mount this hard drive and not do it manually?

1 Like

You’re welcome. :wink:

NOTE: Do this first in a terminal since you probably want this drive to be permanently mounted:

sudo mkdir /mnt/driveName
sudo mount -U UUID /mnt/driveName
sudo mount -o gid=users,fmask=113,dmask=002 /dev/sdX /mnt/driveName

sudo systemctl daemon-reload *reloads fstab file*

Same app.




You can mimic my settings.

It should end up looking like this in fstab:

LABEL=SG-BKP /mnt/SG-BKP auto nosuid,nodev,nofail,x-gvfs-show 0 0

You can verify it by running this command in a terminal:

cat /etc/fstab
1 Like

Thank you again, I will try as soon as I return home, you are a life saver.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.