How to add second HDD for Lutris and Steam Games on existing EndeavourOS installation on SSD

Hi to all!

As the topic says I have to drives in my computer, one is SSD with EndeavourOS installation and second is HDD 1TB on which I wish to be for Lutris and Steam games only and my home directory and anything related to system to be on SSD.

How can I do that? I watched many videos on this and Im not sure is it right tutorial

Tnx in advance

You would need to create a new entry (or new entries) for the partition(s) of your second drive in /etc/fstab to tell your system to mount what and where. Please have a look at the following wiki page:

https://wiki.archlinux.org/title/Fstab

In case of any doubts, please post on the forum before running any commands or making any changes for forum members to have an opportunity to assist you.

1 Like

Thank you…I’ll read the wiki page and try to do it…
I will tnx if I stuck or not shure

Tnx…you all are S U P E R

1 Like

You could post here what you are thinking to do for people to have a look before actually doing it. That is, if you feel like to.

Also make sure to have your Live USB installer at hand in case you will need to fix something from the live session.

1 Like

I will post so that others who wish to do the same thing as me know how to do it.
I will first read all on wiki on archlinux wiki page.

I also find this two videos related to this…

Tnx

1 Like

Not shure why youtube video adress is not showing…
Here are the images so it can be searched

How_to_Use_Multiple_Drives_in_Linux
Linux Tip  How to Add a Hard Drive to a Linux System

Hi all!
Im here to say that I was successful in ading second drive for Games to EndeavourOS using a guide provided pebcak to who I wish to give a BIG TNX for pointing me to right direction.
I folowed a guide and some video tutorials…
Im using a KDE and used a KDE Partition Manager to do it although any Partition Manager should do the same thing.

Some guidelines for those who wish to add a second drive to linux…

→ Open partition manager of your choice…KDE Manager in my case
→ Select a drive you wish to add to linux and select all partitions you have on it if you have it and click Apply
→ After its partitioned or you have a new hdd click right mouse button and press New
→ Here you choose file system for new drive…I chosed ext4 because EndeavourOS is ext4 or you can choose btrfs…
→ Under Label you can add any name you want…I named it Games and press Apply
→ After it is finished select a new drive, click right mouse button and select Properties - this is needed to see a device UUID
→ Then open Terminal and type sudo nano /etc/fstab
You will see something like:

/etc/fstab: static file system information.

Use ‘blkid’ to print the universally unique identifier for a device; this may

be used with UUID= as a more robust way to name devices that works even if

disks are added and removed. See fstab(5).

UUID=9BAC-9D96 /boot/efi vfat defaults,noatime 0 2
UUID=d5ae32b8-9515-4f41-b8d9-80e553effff0 / ext4 defaults,noatime 0 1
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
Here you will add a new line*

→ Open another Terminal - here you will create new directory on the new drive you wish to add to the system
→ Write sudo mkdir -p /Drives/Games [The name of your device you gived name under Label I named it Games. The directory name and in fstab file must be the same.

→ Add a new line* UUID= copy device UUID from Device Properties under UUID: -
[example] UUID=d5ae32b8-9515-4f41-b8d9-80e553effff0 then space then path/to/your drive/ then space then name of the file system space write defaults, and here you write noatime if the drive is connected via SATA or write nofail if your drive is external USB drive space 0 space 0
Example for adding a new drive:
- For SATA drive like in my case:
UUID=d5ae32b8-9515-4f41-b8d9-80e553effff0 /Drives/Games ext4 defaults,noatime 0 0
- For External USB drive:
UUID=d5ae32b8-9515-4f41-b8d9-80e553effff0 /Drives/Games ext4 defaults,nofail 0 0
→ Save file in fstab and exit.
→ Now time sudo mount -a and if it shows no error massages you are good to go.
Now we need to add permissions to that file so it can be writeable
→ Write sudo chown -R user /Drives/Games

So now you can go to your drives with file manager and see that it is automatically mounted.
If your drive shows lost+found directory delete it through terminal with sudo.

Open the Games directory with your file manager and mouse right click and select Open Terminal.
Then type sudo rmdir lost+found, type your password and that’s it.

Hope this helps

2 Likes

You don’t need to bother removing, nor do I think you actually can remove the lost+found folder.

Hi!
After I added HDD to Endeavour on that same disk was locked lost+found directory witch had 634GB in size and I managed to remove it only with sudo command in terminal.
I made small error and that is after last step sudo mount -a I forgot to type in a password and I had an error output and that lost+found directory.

Now everything works great

Tnx for help

1 Like

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