this post was submitted on 25 Mar 2024
197 points (95.4% liked)

Linux

54425 readers
921 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

I'll start with mine. yes part of this was to brag about my somewhat but not too unusual setup. But I also wanna learn from your setups!

Anyways: I primarily use Gentoo Linux.

I have two headless servers: a Raspberry Pi 4B and a Oracle cloud VM (free tier). Both running OpenRC, and both were running mainline kernel with custom config (I recently switched the Pi to PiFoundation kernel due to some issues). The raspberry pi boots from SSD and has no sd card inserted.

Both servers were running musl libc instead of glibc for a while. This gave me a couple of random issues, but eventually I got tired and switched back to glibc.

I have a desktop running gentoo and a laptop running arch, but hoping to switch the laptop to gentoo soon.

Both are daily driving wayland (the desktop had nvidia card and used for gaming). The desktop is running a kernel with a minimal config that compiles in 2-3 minutes.

What's your unusual setup like?

(page 2) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 year ago

Well my unusual setup I spent years thinking about it before I was even able to have the money to achieve it. It's based on portability and versatility and since I'm now working remotely now it makes even more sense. The plan was to run something portable with less power and smaller when outside, and leave the powerhouse to be accessed remotely. So for that reason I have a dualboot Oneplus 6 with LineageOS and Droidian, Waydroid container on Droidian and Debian proot-distro on LineageOS. That so i dont have to totally reboot for some tasks i might need on android or linux. 4 media folders shared between both of them as well as their containers. This makes sense now cause i long thought of running a Lapdock with it even if only wireless, and I got it recently! It works really nice on android but cant transmit over miracast on linux yet, still figuring that out. Nevertheless thats not the main device that is on my mind. A pinephone pro is a good fit too, but im leaning towards something like the gpd pocket 3, a real portable and modular mini pc that could be connected with just a cable to work better on the lapdock (also can be used as a tablet which is dope).

The powerhouse itself is a server with 16 threads of cpu and 64gb of ram and 2 gtx 1060s for graphics that i plan on configuring with vgpu to split graphical load between the vms with. It is also my remote gaming server :D with moonlight and sunshine, and i spent quite some time configuring all of it to be easily almost plug and play with controllers to have no issues if i disconnect or using multiple different controllers, with a good game launcher (Playnite) to host all games from it.

All of this just to someday achieve my dream of working wherever I want with a camper van to explore the world!

[–] [email protected] 6 points 1 year ago (1 children)

i have a single box i use for data storage; backup; wifi; router; and switch.

it runs ubuntu on the bare iron with

  • a windows 10 kvm/qemu vm with pci pass through on wifi to get 1 gig wifi speeds on intel in ap mode (intel won't allow it using linux drivers)
  • a pfsense kvm/qemu vm for router & firewall to internet and with pci pass through on a 1 gig nic to gap the internet from the base ubuntu
  • dns & ip masquerade along with kvm/qemu based sofware defined networking for windows, pfsense and ubuntu to forward all wifi and cabled network through to internet and
  • connected via 3 gig nic and switch for much faster local data storage and backup on the ubuntu install.
  • vpn and remote backup using pfsense for access to my setup from anywhere else in the world. (eg routing traffic from the office to my home connection for personal use and access to my data)

topographically, it looks like this, but in reality it's all one box:

                              ┌────┐                    ┌─────────────┐                             
          ┌───────────────────┤vpn │ ┌──────────────────┤windows (wifi│                             
          ▼                   └────┘ │                  └─────────────┘                             
┌──────────┐                         │                                                              
│ internet │                         │                                                              
└──────────┘                         ▼                  ┌───────┐        ┌──────┐      ┌───────────┐
          ▲                ┌─────────┐                  │ubuntu │◄───────┤switch│◄─────┤  backups  │
          └────────────────┤ pfsense │◄─────────────────┴───────┘        └──────┘      └───────────┘
                           └─────────┘                                                              
[–] [email protected] 3 points 1 year ago (2 children)

That's very interesting. I thought that intel Wi-Fi cards can't do AP mode anywhere. I had no luck on ubuntu and openwrt. Didn't know Windows could help. I'll try to build a Windows VM with passthrough.

load more comments (2 replies)
[–] [email protected] 3 points 1 year ago

Not mine but my partner’s machine (which I build and largely maintain for her) is a custom Debian install on ZFS root using ZFS boot menu and running a custom minimal i3 desktop environment.

[–] [email protected] 6 points 1 year ago

Both servers were running musl libc instead of glibc for a while. This gave me a couple of random issues, but eventually I got tired and switched back to glibc.

musl in a nutshell

[–] [email protected] 4 points 1 year ago

Gentoo gaming and music production rig working through mostly tty with dwm as a graphical display. I typically stay on tty until I want to play a game, use modern web, or record a song. Otherwise tty with Links browser.

[–] [email protected] 4 points 1 year ago

My desktop is a VM with vfio passthough

[–] [email protected] 12 points 1 year ago* (last edited 1 year ago) (1 children)

Lenovo support seems to think I have an unusual setup since I run Linux on their Thinkpad & while the NVMe even after an RMA fails under heavy IO despite their partner WD, who sent me an email response saying they never test or certify drives for Linux or BSD. Many users have been experiencing similar failures with their controllers WD proudly boasts as in-house. Note that Lenovo also has a support PDF about running the device on Linux, but the support is ran by a bunch of clowns. Also not that when you purchase, the hardware brand is never mentioned so there is na room for due diligence.

Tl;dr: if you want a working Linux system, don’t purchase Western Digital or Sandisk drives.

[–] [email protected] 4 points 1 year ago (3 children)

I have been running my linux installs off of wd drives for years without any issues. Most of the devices I run are Asus laptops, maybe it is a Lenovo issue?

load more comments (3 replies)
[–] [email protected] 2 points 1 year ago (1 children)

I have a stateless and immutable system based on arch images that get built every night. I also have two different images for the same machine: one for general use and one optimised for music production. I just rebooted into the other image and I'm set.

load more comments (1 replies)
[–] [email protected] 8 points 1 year ago (2 children)

Not my main rig, but my most unusual is 32-bit Yocto Linux on an Intel Edison that I got for free from a college professor that worked for Intel.

Yocto is awful. I mean it has a niche I guess, but there is basically no package manager. Somehow I managed to install a Rust toolchain on it, but it couldn't build the web server I wanted to run on it.

I'd much rather have a Pi running a sane distro.

[–] [email protected] 1 points 1 year ago

It isn't built to be changed after the image is created. I would either just go straight builtroot or Debian.

[–] [email protected] 3 points 1 year ago (2 children)

Oh, I remember having to use Yocto when I started experimenting with the BeagleBone Black SBC back in 2015. Yes I remember it being very hard to use. I remember I had need to rebuild the kernel to include a disabled kernel module. The cross compilation on my desktop PC didn't work, so I had to build it on the BeagleBone. That was an awful process, it took about 6 hours.

For anyone not familiar, the BeagleBone Black was an SBC that came out as competitor to the Raspberry Pi 2. The main difference was the BeagleBone used an open source design, based on a non-NDA CPU unlike the RPI, so it meant they published full kernel sources. But in my experiments I found the BeagleBone CPU was much slower than the RPI, and it's graphics hardware was almost non-existent compared to RPIs integrated graphics.

[–] [email protected] 2 points 1 year ago

BBB is actually really good nowadays compared to where it started. I've got quite a few deployed hardware appliance designs with them baked in. The real time IO and subprocessor was a nice quick and dirty way to get a little psuedo FPGA

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Yah, BBB was horrendously slow. Lots of neat features like realtime PDU and tons of IO, but the only way to use it was Debian headless because a full DE was painful. I bought a 7" touch display to use as an HMI that the BBB mounted on the back of and it duplicated the pins so you could put a cape on it (that didn't conflict with the HDMI pins it used), but I never used it because it was so slow.

[–] [email protected] 5 points 1 year ago (1 children)

Wellll, so I practically used to write my own WM

[–] [email protected] 1 points 1 year ago (1 children)
load more comments (1 replies)
load more comments
view more: ‹ prev next ›