The Linux Thread - The Autist's OS of Choice

  • 🐕 I am attempting to get the site runnning as fast as possible. If you are experiencing slow page load times, please report it.
I am out of space for drives. So I would want to setup a second pc for backups with like multiple 4TB+ drives. Just 1 for now since my entire linux drive is 2TB.


I run yay 99% of the time but sometimes I run pacman. Usually just to be redundant and make sure nothing got missed. IDK.

How would I access the drives after mounting if they are not in dolphin? And what is a good mount point? Can I set anything? Or is there a best practice?

I need to go to bed so I wont be fucking with it anymore tonight. But tomorrow I am going to try and fix this. If I can't get it working I am going to reinstall and start over I guess. All I would like to save from my linux drive rn are my godot projects. So I will need to get those transferred over somehow.
open a terminal.


you can run the command

lsblk

that will output all the drives and partitions it detects.

when you see the name of the one you want to mount. run

sudo mount /dev/(whatever the drive name is) /mnt (or whereever you want to mount it)

then you can open that up in dolphin, or move there in the terminal.
 
if you are talking about the fstab in the livecd it won't have anything until you mount the drive arch is installed on (the /etc/fstab on the liveiso).

it depends what you are trying to actually do from the iso.

you can mount those drive you had with the arch iso on it from anything else. like an ubuntu live iso. and copy files off to another usb, or edit them from the liveiso. then boot the fixed system.

Hard to give proper advice in a thread like this. Without knowing everything else going on, and your plan, or what you are wanting to do from here.
basically dolphin used to show my partitions. I would mount them from there and use my other drives. After the update dolphin doesnt show partitions at all. Also the mount command does not work and kicks out an fstab error. Whatever automated process the install did to make drives mountable has been completely nuked.

The error is like "/dev/sdb2 not in fstab" or something

I might have used the mount command wrong. I will try again tomorrow.
 
Code:
# /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).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme1n1p2 during curtin installation
/dev/disk/by-uuid/0a7abf##REDACTED## / ext4 defaults 0 1
# /boot/efi was on /dev/nvme1n1p1 during curtin installation
/dev/disk/by-uuid/##REDACTED## /boot/efi vfat defaults 0 1
/swap.img       none    swap    sw      0       0

UUID=e5d##REDACTED## /mnt/dsk/1 auto defaults 0 0
UUID=f28##REDACTED## /mnt/dsk/2 auto defaults 0 0
UUID=22b##REDACTED## /mnt/dsk/3 auto defaults 0 0
UUID=fbf##REDACTED## /mnt/dsk/4 auto defaults 0 0
/mnt/dsk/*/ /mnt/pool fuse.mergerfs func.readdir=cor,func.getattr=newest,lazy-umount-mountpoint=true,cache.files=off,moveonenospc=true,dropcacheonclose=true,minfreespace=10G,category.create=pfrd,fsname=mergerfs 0 0

UUID=6d6##REDACTED## /mnt/wrk auto nofail 0 0
UUID=cf1##REDACTED## /mnt/dsk/5 auto defaults 0 0
UUID=866##REDACTED## /mnt/dsk/6 auto defaults 0 0
UUID=8e3##REDACTED## /mnt/etc auto nofail 0 0
if it helps here's what a normal /etc/fstab should look like

Sounds like you're running KDE so KDE Partition Manager would be a GUI way to look at what's going on with your partitions, but it isn't as straightforward as gnome-disks so you might as well install that.
 
Last edited:
basically dolphin used to show my partitions. I would mount them from there and use my other drives. After the update dolphin doesnt show partitions at all. Also the mount command does not work and kicks out an fstab error. Whatever automated process the install did to make drives mountable has been completely nuked.

The error is like "/dev/sdb2 not in fstab" or something

I might have used the mount command wrong. I will try again tomorrow.
If these are windows . You might need to install the n2fs tools needed to mount it. I don't use any windows stuff so I don't know what's required for it. But there is likely a package. You will need to find the name for it. Or maybe someone here knows.

Then you might need to specify the partition type.

Though with that error. You might have just not specified the mount location. Or something. Or not typed a full path. Something like that. If the partition is /dev/sdb2

The exact command will be.

sudo mount /dev/sdb2 /mnt

That will mount it on /mnt

Definitely don't mess around with your fstab to mount your other drives. That's just for automounting. Usually used on boot up. But for removable drives you are probably better off using another tool. And not messing with it at all for a one time thing.
 
I am out of space for drives. So I would want to setup a second pc for backups with like multiple 4TB+ drives. Just 1 for now since my entire linux drive is 2TB.
I usually recommend externals for a cheap and usually "good enough" backup, 2TB is easy to manage with that. If you want to set up a dedicated computer, look into setting up a NAS. You can continue the free route and do TrueNAS (FreeBSD) or OpenMediaVault (Debian) and set it up yourself, it isn't that hard since they have tools to do most of the heavy lifting and good web interfaces. You don't need fancy hardware but they support it. Definitely better than an external since you get redundancy and flexibility but steeper barrier to entry and some setup time versus using a drive you plug in sometimes.
If you set up a NAS, plan it out, try to get a cheap case or reuse an old one lying around, at least to start. Label your drives with stickers or tape as well, it might help down the road if one of them goes bad, it's easier to identify and swap out.
I run yay 99% of the time but sometimes I run pacman. Usually just to be redundant and make sure nothing got missed. IDK.
Don't do that. Use whichever on you prefer and stick with it. I don't see why it would mess things up here but it's redundant at best.
How would I access the drives after mounting if they are not in dolphin? And what is a good mount point? Can I set anything? Or is there a best practice?
I don't know about "best practice," I use lsblk to get the UUIDs.
lsblk -o NAME,SIZE,UUID,FSTYPE
You need to mount them to see that though, so boot into whatever and mount them and take a picture or write it down. If you can boot normally, then all the better.
sudo mount /dev/sdx1 /mnt/mountdir
Make sure /mnt/mountdir exists before mounting. After this and fixing fstab you should backup fstab somewhere. I've copied and pasted mine into a dm to myself before.
 
Last edited:
use /dev/sdX only for temporary mounts, as there's no guarantee the same drives will have the same order next time (so one drive could be /dev/sdb one boot but be /dev/sda the next time you restart, messing everything up)
 
I run yay 99% of the time but sometimes I run pacman. Usually just to be redundant and make sure nothing got missed. IDK.
yay just uses pacman behind the scenes. There's zero reason you should be using both. Please do not use both.

Post your lsblk and some description about your filesystem layout and someone here will probably be able to write you an fstab.
 
Do you have any .pacnew files? People don't always merge those which can lead to problems. When I started out way back when I forgot to merge them and it eventually led to issues. I now just run a hook to check them after every update.
 
There's been over an hour or so with no mysterious ~20 MB writes (they usually strike every half hour or so). During that time there's no tabs left open on YouTube or GMail.

(sudo maybe) fatrace -ct -f "CW+" | grep ".mozilla"
Tried that and Terminal output was fatrace wasn't found. Is that a package I have to install?

bash: fatrace: command not found
 
I have a hypothesis what could be causing the mystery 20 MB writes: sites with Google site metrics?

:thinking:
 
Dude, just tell newbies to fuck off and use Windows at this point, because by pulling this shit you're actively maintaining the zeitgeist that all Linux users are egotistical, narcissistic dickheads.
Did you even read my post? I explicitly outlined that MX or Devuan should be the newbie choice because they are so simple and intuitive, but also happen to lack systemd. Why should I suggest something does the same exact thing but comes with pottering shovelware?
Everything is made around systemd on Linux now. That's just the reality, and for people to have the most seamless move to Linux possible. They will almost always want to just go with something systemd. And if it's mx getting recommended.
See, that's the problem. I suggested MX explicitly because it is just as easy to use as Mint sans systmed. Say what you will, but I see the widespread adoption of systemd as a problem, and so naturally, I wouldn't recommend a newbie get hooked on it from the get go.
I am out of space for drives. So I would want to setup a second pc for backups with like multiple 4TB+ drives. Just 1 for now since my entire linux drive is 2TB.
Would highly recommend running a super simple RAID or ZFS. Not to go into too much detail, but if you've got more than one 1/2 TB drives, I'd look into mirroring your sensitive files to keep them safe in case of drive failure. Like @Aidan said, you can jam them in either a simple case or an old PC. Just be aware that if you buy refurbished server drives, they can get very loud and run very hot.
 
yay just uses pacman behind the scenes. There's zero reason you should be using both. Please do not use both.

Post your lsblk and some description about your filesystem layout and someone here will probably be able to write you an fstab.
What do you mean by filesystem layout?

Also where should I mount drives to? Just anywhere? In my home folder?
 
Last edited:
under /mnt/ or /media/$user/ is pretty good
This whole time I thought /mnt was a placeholder for a mount location.... I didn't realize y'all were referring to an actual thing

After work ima see if I can get a drive mounted and working. If I can I will add the drives I want to my fstab
 
This whole time I thought /mnt was a placeholder for a mount location.... I didn't realize y'all were referring to an actual thing

After work ima see if I can get a drive mounted and working. If I can I will add the drives I want to my fstab
Didn't you use /mnt during the arch install process? It's been a while since I've done one but back in like 2022 that was the default place you mounted your root to prior to pacstrap
 
Oh. Then never mind. I think everyone knows Israel is our greatest ally. We can't stand for someone speaking ill of our best menches.
It's less he opposes Israel and more that he supports the palestinians. His reasoning is that Israel is an oppressive fascist coloniser state that slaughters innocent brown people, rather than "Israel is run by da jooos". It's the same retarded "palestinian solidarity" bullshit that leads to people importing masses of muslims into the west, in order to stick it to the oppressors and the colonisers, whoever they may be. Anyone who disagrees with his belief that the palestinians are entirely innocent in every circumstance is a nazi and should stop using Mint entirely. Not a rational position.

However, he doesn't include any of that shit in the distro, so to use it or not, because of your view of his stance, is purely an ideological decision.
 
I'm using endeavourOS. Still arch. But not like arch arch
No neofetch street cred for you
1689610710323440.webp
 
Back