limelight79

joined 1 year ago
[–] limelight79@lemm.ee 0 points 7 months ago

I am not familiar with that. From a quick glance it looks like the new HURD. But I think even there you're relying on the work of others.

[–] limelight79@lemm.ee 6 points 7 months ago (3 children)

The xz issue might not directly affect an anti-virus, so maybe in this specific case, it would work fine. But it wouldn't be hard to come up with another library that would make the anti-virus moot. And even in the xz situation, doesn't it affect systemd?

All bets are off when you can no longer trust low level software like this.

Also, the Ken Thompson Hack comes to mind.

[–] limelight79@lemm.ee 22 points 7 months ago (5 children)

I'd add that if one of the basic libraries is compromised, you can't trust the anti-virus or really any other program on that system.

[–] limelight79@lemm.ee 20 points 7 months ago

Well said. I originally compiled my own kernels because I thought it was something you just did to use Linux. I also compiled hundreds of them, probably. Now it's stock kernel all the way. Not worth the effort and time and headache.

[–] limelight79@lemm.ee 10 points 7 months ago

Slackware in the late 90s. 3.x version. "If you want to know how Linux works, ask a Slackware user" used to be the mantra back in the day.

I've been using Kubuntu on my desktop machines for at least a decade now. So, I've completely lost track of some of the things going on, like docker, flatpak, and so on. Which is actually a good thing: Linux has gotten so good, I no longer need to know how to administer my Linux system. I can just use it.

I currently run Debian on my server and intend to switch my desktop to Debian as well. Haven't gotten around to it...been busy. I also have to figure out how best to set up the nvme drive I have for it - GPT partition tables? Do I need a FAT32 partition? Etc.

[–] limelight79@lemm.ee 2 points 8 months ago* (last edited 8 months ago) (1 children)

I don't buy vinyl, but I do buy CDs for albums I want. I have (what I believe are well-founded) trust issues with services supplying digital copies.

I will say I have bought some nice, normal mp3s in the past from Amazon. Those are fine. But generally I want the discs. I'm going to rip them immediately to mp3, and store the discs away, but I still want them.

[–] limelight79@lemm.ee 2 points 8 months ago

Basically you need the mdtools package. I use Debian, but Ubuntu is based on Debian, so it should be pretty similar. It's likely mdtools will be installed, but if not, apt install mdtools as root should do it.

The one thing I strongly, strongly, strongly recommend, after a harrowing week or so a few months back: Do not use the entire disc for the raid arrays. Partition each disk with a single Linux partition, then use those partitions as the array. If you use the entire disc, you run the risk of losing the array if the BIOS thinks those drives are messed up, which is what happened to me. I was able to recover, fortunately, but it was EXTREMELY stressful, and I was to the point where I was starting to figure out what I had lost.

When you issue the command to build the array, such as:

mdadm --create --verbose /dev/md0 --level=5 --raid-devices=5 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 --spare-devices=1 /dev/sdf1

Keep a copy of that command somewhere so you know how you created it, in case you ever need to recreate it.

I also kept copies of the output of /dev/mdstat, blkid (for the RAID drives and partitions), and mdadm --examine for each drive, just in case. Doing this probably means I'll never need it, so that's a good tradeoff.

And, as always, RAID is not a backup. In my case, my array is small enough that a single drive can back it up (which wasn't the case when I original built it ~5 years ago), so I have a large drive in my desktop machine that backs up the array every night.

It's pretty straightforward though. Install Ubuntu on a drive that isn't part of the array and get that working, which should be pretty easy. Partition the array drives like I said above (use gparted or other tools, which will be installed with Ubuntu). Issue the mdadm command similar to what I wrote above, note your partitions will very likely be different. Do not overwrite your Ubuntu partitions with it. That is Bad.

mdadm will create a /dev/md0 or /dev/md127. Some versions do one or the other. It'll tell you.

After mdadm finishes, do a mkfs.ext4 /dev/md0 (or md127) to create the array assuming you want to use ext4.

Add a line like this to your fstab: /dev/md0 /mnt/media ext4 defaults 0 1

Reboot and go.

There are a bunch of more detailed guides out there, I've just given the high level steps.

[–] limelight79@lemm.ee 2 points 8 months ago

LOL good reference there.

[–] limelight79@lemm.ee 30 points 8 months ago

And the critics of Columbus WERE RIGHT! He was vastly underestimating the size of the earth. If North America hadn't existed and it had just been one big ocean, he and the expedition would have perished in the middle of nowhere. Of course, the size had been calculated before his expedition (the actual values turned out be extremely close to what had been calculated), so he should have known better. There's a reason he had trouble getting funding for his expedition...

I'm still somewhat frustrated that our history classes taught (maybe still do, I've been out of high school a long time) that all the naysayers thought the earth was flat.

[–] limelight79@lemm.ee 4 points 8 months ago

In both directions...my employer would have a heart attack if I was doing work on my own machine like that (well, outside of a virtual desktop).

[–] limelight79@lemm.ee 18 points 8 months ago (1 children)

If you leave it alone, it's practically always fine. But the urge to tinker is strong!

[–] limelight79@lemm.ee 103 points 8 months ago (1 children)

For those, like me, who don't remember the significance of the lights on the Wii remote (the console has been out of production for a decade or something now), the third light blinking means he's player 3.

view more: ‹ prev next ›