-
4 votes
-
Linux noob question regarding full / partition
Background: I started daily driving Linux (specifically Mint) several months ago and for the most part it's been great. Some weird hiccups occasionally but nothing I can't handle/deal with. When...
Background: I started daily driving Linux (specifically Mint) several months ago and for the most part it's been great. Some weird hiccups occasionally but nothing I can't handle/deal with. When doing my research to set the system up for the first time, I decided to go with 30GB for the
/
partition and ~220GB for the/home
partition (the other half of the drive is for Windows 11 and the various essential tiny partitions). For a while this seemed to be fine, but lately I've been starting to get warnings when performing software updates via the Update Manager that the/
partition is running out of space. I think it peaked at maybe 90-95% full a few weeks ago, at which point I started doing some research and cleaning up a bit (apt autoremove
, deleting old logs and kernels, etc). I was able to claw back ~4GB and kick the can down the road, but now the warnings have returned and I'd like to handle this properly. I'm working from the assumption that I simply made the/
partition too small and intend to double it by giving it some of the Windows space.My question: How do I know if this is expected or if I've been doing something wrong? Is 30GB indeed too small on modern Mint, or should that have been enough? I know it partially depends on what all I actually do with the computer, but I really don't have very many applications installed (aside from defaults of course) and only four of them are Flatpaks, which I read tend to be larger. If it helps, the Disk Usage Analyzer reports that within
/
,/usr
is taking up 13.2GB (55%),/var
accounts for 9.1GB (38%),/opt
is 1GB (4%), and everything else is <1% each.Thanks in advance!
18 votes -
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
8 votes -
KeenWrite 3.6.3
24 votes -
Anyone have advice (or horror stories) on setting up a 100GbE NAS with RDMA / SMB Direct?
Pretty much what the title says - I'm building out a smallish compute cluster and hoping to set up some centralised storage that won't be a bottleneck, but I'm very much not a networking...
Pretty much what the title says - I'm building out a smallish compute cluster and hoping to set up some centralised storage that won't be a bottleneck, but I'm very much not a networking specialist. Most of the load will be random reads from compute nodes pulling in the bits of various datasets they need to work on.
Is it plausible to throw a 100GbE ConnectX-5 card and 256GB RAM into a consumer AM5 machine, format everything in ZFS, and set up a network share with KSMBD? My understanding is that I want to ensure everything's using mirroring rather than worrying about RAIDZ parity if I'm optimising for speed, which is fine, and I know that I'll only get full throughput as far as things can be cached in RAM - but is it reasonable to expect ZFS ARC to do that caching for me? Dare I hope that the SMB driver will just work if I drop it in there between the filesystem and the NIC? Or have I crossed the line into enterprisey-enough requirements that it's going to be an uphill battle to get this working anywhere near line speed?
15 votes -
How is Linux these days?
How is Linux these days for everyday desktop use? I'm looking to reformat soon and I'm kind of sick of all the junk the comes alone with Windows. I've used Linux briefly, back in the early 2000's...
How is Linux these days for everyday desktop use? I'm looking to reformat soon and I'm kind of sick of all the junk the comes alone with Windows.
I've used Linux briefly, back in the early 2000's but..not at all since really. I'm also learning web dev so I thought it could be fun to use to get used to it.
Do you use it for everyday use?
If your unfamiliar with Linux, how difficult is it to get things "done" on it?
Do most modern apps work these days?
As someone that's been using Windows for most of their life, do you think it's difficult to pick up and get running?
Do games work?
Edit I'm going to test out mint tonight on a thumb drive, thanks everyone!
52 votes -
New linux user: dual boot Mint install fatal error
Following this guide (linuxtechi) and got Mint Cinnamon 22.2 (Zara) - yes the iso is verified, created bootable USB with Etcher, and after the screen where I input user details and password, well...
Following this guide (linuxtechi) and got Mint Cinnamon 22.2 (Zara) - yes the iso is verified, created bootable USB with Etcher, and after the screen where I input user details and password, well along the install process, got a fatal error (screenshot) :
Unable to install GRUB in /dev/sda
Executing 'grub-install/dev/sda' failed
This is a fatal error
Here is a screenshot of the GParted, fdisk, df, lsblk and what re-running the install now looks like.Restarting (after pulling out USB) , instead of going to Windows 10, goes to a black screen that says
This is not a bootable disk. Please insert a bootable floppy and press any key to try again ...
Turn it off, back on with USB, at least I can still boot from there into USB-space mint for now.I'm guessing this has something to do with some peculiar hardware/BIOS settings than the fault of Mint. Worth mentioning that this is a refurbished 2013 HP box (order excerpt) , with a windows 10 digital key license, and that upon every fresh boot up (first time ever to now) it shows a black-background screen that says
The preboot authentication application cannot be found.
Press any key to attempt boot without authenticating.
so it's very possible something is bork'd from the get go or else it has some very unorthodox settings to begin with.Can confirm running Mint off the USB is fine. The screencaps are sent from Firefox within, and I'm super happy with how clean everything is. Just not sure what to do now. If it's complicated, I can try sending the box back for refund and try again with another brand new box. But now I'm shy about trying dual boot on my regular desktop.
Questions after looking around for help:
- am I booting from UEFI or Legacy? I don't know -- how do I check ?
- Fatal error installation hard stop: is there a way to access a log of what happened ?
- How do I boot back into Windows 10 for now ? use GParted to delete all the "new" partitions and try booting again?
Edit: gave up . It's now a Mint box. Goodbye Windows you can kiss my dust
17 votes -
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
16 votes -
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
15 votes -
Where's the Shovelware?
53 votes -
Home network help part 2, SSH and Server
Edit: I've made some progress if you want to read the edits at the end. Last year I started slowly planning out a home server setup with help from Tildes. I've gotten a few things up and running,...
Edit: I've made some progress if you want to read the edits at the end.
Last year I started slowly planning out a home server setup with help from Tildes. I've gotten a few things up and running, but have been bouncing off a variety of walls trying to get to the next step.
The first goal was-
"Ok i've got Cosmos up and running for local access using self signed certs. I'd like to get it up and running using lets encrypt and a domain so I can eventually start giving a few family and friends proper logins and external access". Of note, ideally,This led to a second goal of-
"Gosh it sure would be nice if I didn't have to be sitting at the physical server to do testing and could instead be at another computer in my house. I should probably configure ssh locally (working) and get it to forward windows so I can work in other rooms (not working...)""The stack":
Server - MS01 running LTS Ubuntu with Cosmos Cloud installed (well it was, but is currently not)
Router - Ubiquiti Dream Machine Pro (of note i've done some minimal guided config of this to try and harden it at a basic level so my cameras and IoT devices are better isolated. Not fully default, but the server is, for now, in the same network/vlan as the rest of my main computers so don't think this should matter.)
Clients - All local windows 10/11 machines for now, although in the off off chance it matters, i'm running nushell in the terminal
Domain Provider - Cloudflare
The SSH Problems:
I have a friend who's set SSH up for themselves with their home server, however they haven't had time to come over and troubleshoot. My rough understanding is "setup VcXsrv, change some configs, then it just works.". Windows these days has ssh built in, and I can SSH to the machine just fine with my key.
ssh -X...less so. I've read some docs, followed some guides, tried copilot, and it all leads to "yeah should work" and it just doesn't. I have configured a ssh config on both machines to allow X11 forwarding, i've started the XLaunch making sure I disable access control, made sure my unbuntu login isn't on wayland and so on. So far, no dice.
If someone has an end to end guide they trust to link, i'll gladly read and start from scratch. I've been cobbling together so many sources at this point i'm very lost. Lots of things jump quickly to "well just use WSL", which yeah ok i probably should test that next, but I was hoping I wouldn't need to (and am unclear if that'll even help).
The HTTPS/Domain Problems:
So..cosmos cloud.
I like the theory behind this software in that it helps enforce best practices so you don't blow your own head off when you screw something up. Maybe it's not the absolute best starting place, but getting it running without a domain was trivial, and more importantly, shockingly well documented. Not perfect, but for what I understand is mostly a one man show it's better than a lot of professional grade stuff i've dealt with.
And so I figured it'd be easy to just do the setup from scratch but choose https and point to my domain. There's been two attempts here, no DNS challenge and DNS challenge
No DNS Challenge Method
Per their docs it seemed easy enough. I'd never touched a DNS screen before but I configured an A record pointing at my WAN IP (eventually...) and disabled the cloudflare proxy.
Well going to that domain took me to my router login. Hmm. After screwing around with port forwarding and router DNS records I never got it to work and felt like I was playing with fire, so undid everything I'd done and decided I'd try the DNS challenge. Of note I could still access the cosmos cloud page from http directly to the IP, where it confirmed it failed to get the TLS cert, but https to the domain wasn't having it.
DNS Challenge Method
This seemed like I was close, and then nothing. I have no idea if i need to do internal routing on the router for this, it just sorta says "Do the DNS challenge, here's a form, you don't need to fill out all of it" which uh...ok.
I filled out what I think I needed to after setting up a token(not an API key) in cloudflare. I'm pretty certain I got that correct as I saw text files with keys created on cloudflare's DNS page and had I screwed that I'm guessing it couldn't have.
However from what I can tell, that's as far as it got. The files nuked themselves 2 minutes later when the TTL expired, and going to the domain locally gave me the cloudflare "our shit's fine, the server is timing out" page. From what I could tell diving into logs, cosmos had the same error, and I couldn't hit cosmos at all, even using the IP and http.
I do however wonder if maybe it did work BUT since I undid the router DNS record before trying this maybe that killed it? dunno.
Any ideas?
That's basically my situation. Figured i'd throw it here and see if anyone has some guidance or troubleshooting they'd recommend. Aforementioned friend who's done some of this before should be free one of these weekends and can probably help, and I haven't tried again since the second attempt. I've thrown some of the questions i've had on the discord and gotten minimal response(although I'm kinda using the thread as a rubber ducking spot as well). Next attempt is probably just DNS challenge again after more research on it and seeing if that works if I put back on the router DNS record, but i feel like logically that shouldn't work.
Oh also if anyone has some general recommended reading so that I can really understand what the hell it is I'm doing I'd love that. There's a ton of networking books/articles/etc, and in general I'd like to learn more about the subject, but I'm curious if there's a go to for people who are techy and trying to dip their toe in all of it the same way I am and setting up a proper home network and server.
Edit:
So after lots of testing, doc reading, and help from the cosmos discord I:- Got the DNS challenge to work according to the cosmos logs.
- narrowed down that the main issue was my UDM pro router policies. Needed a firewall rule and a port forward, and had only done one of those at a time in my various attempts and not realized they were really different.
Now once that was all working and I could hit the site i was getting "likely a false cert" errors, but since i've got all the pieces I'm probably going to try another clean install later and see what we get. Hurrah for troubleshooting, good docs, rubber ducking, and helpful humans.
Edit 2:
Eventually required:
- Port forward rule in UDM pro
- Firewall rule in UDM pro
- Static IP and DNS entry in UDM pro.
One I’d done those things started working. Killed it after that as now I need to think about architecture
14 votes -
Blocky Planet — Making Minecraft Spherical
21 votes -
Should C be mandatory learning for career developers?
The year is 2025. The C programming language is something like 50 years old now - a dinosaur within the fast-moving environment of software development. Dozens of new languages have cropped up...
The year is 2025. The C programming language is something like 50 years old now - a dinosaur within the fast-moving environment of software development. Dozens of new languages have cropped up through the years, with languages like Rust and Go as prime contenders for systems-level programming. Bootstrapping a project in C these days will often raise eyebrows or encourage people to dismiss you out of hand. Personally, I've barely touched the language since I graduated.
Now, with all that said: I still consider learning and understanding C to be key for having an integrated, in-depth understanding of how computers and programming really works. When I am getting a project up and running, I frequently end up running commands like "sudo apt install libopenssl-dev" without really giving it much thought about what's going on there. I know that it pulls some libraries onto my computer so that another program can use them, but without the requisite experience of building and compiliing a library then it's kind of difficult to understand what it's all about. I know that other languages will introduce this concept, but realistically everything is built to bind to C libraries.
System libraries are only one instance of my argument though. To take a more general view, I would say that learning C helps you better understand computers and programming. It might be a pain to consider stuff like memory allocation and pointers on a regular basis, but I also think that not understanding these subjects can open up avenues for a poorly formed understanding about how computers work. Adding new layers of abstraction does not make the foundation less relevant, and I think that learning C is the best avenue toward an in-depth understanding of how computers actually work. This sort of baseline understanding, even if the language isn't used on a regular basis, goes a long way to improving one's skills as a developer. It also gives people the skills to apply their skills in a wide variety of contexts.
I'm no expert, though: most of the programming I do is very high-level and abstracted from the machine (Python, Haskell, BASH). I'm sure there are plenty of folks here who are better qualified to chime in, so what do you think?
39 votes -
Finding cool custom vanity CA license plates
10 votes -
Looking for advice on setting up computer case fans
I've never actually put in more fans than what a case comes with, but I have an unraid server that is running hot so I got a pack of 5 fans to put in it. From what I understand, you want them set...
I've never actually put in more fans than what a case comes with, but I have an unraid server that is running hot so I got a pack of 5 fans to put in it.
From what I understand, you want them set up so that there is a solid airflow throughout the case; ie I'm planning to set it up so that the front and bottom fans are intake and the top and back fans are exhaust, so that cool air enters from the front/bottom and exits out the back/top.
However, one of the fans will be going on the side door. I'm assuming this wants to be intake as well (so that the airflow goes through the entire case, as I assume it would disrupt the airflow as exhaust). Or would it be better to not have one on the side and just have an extra fan laying about?
This is how I plan to set it up (shout out to MS Paint): https://ibb.co/KcXx5cgW
Note: The X's are because the installed chassis block being able to put fans there; the bottom one is especially disappointing as it's the HDDs that are mostly getting hot
Just wanted to confirm that that set up looks good and that intake for the side one (where the ? is) is the proper choice
10 votes -
Retro Recipes: Watch us acquire Commodore + C64 Ultimate production update
13 votes -
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
18 votes -
Adventures in state space
10 votes -
Google is killing the open web
35 votes -
AI is creeping into the Linux kernel - and official policy is needed ASAP
29 votes -
Copilot broke your audit log, but Microsoft won’t tell you
38 votes -
A friendly introduction to SVG
50 votes -
Public domain technical books published before 1964
16 votes -
What programming/technical projects have you been working on?
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's...
This is a recurring post to discuss programming or other technical projects that we've been working on. Tell us about one of your recent projects, either at work or personal projects. What's interesting about it? Are you having trouble with anything?
14 votes -
NGINX introduces native support for ACME protocol for obtaining TLS certificates (Preview release)
26 votes