Significant Link Found Between Heme Iron, Found in Red Meat and Other Animal Products, and Type 2 Diabetes Risk
Significant link found between heme iron, found in red meat and other animal products, and type 2 diabetes risk
Higher intake of heme iron, the type found in red meat and other animal products—as opposed to non-heme iron, found mostly in plant-based foods—was associated with a higher risk of developing type …News
like this
Lasslinthar and 𝕽𝖆𝖉𝖎𝖈𝖆𝖑 𝕽𝖊𝖇𝖊𝖑 like this.
Under senare år har det dessutom tillkommit programvaror som istället för personer fokuserar på intressen, grupper eller gemenskaper.
blog.zaramis.se/2024/08/23/gru…
Grupper och diskussionsforum - Fediversums historia - Svenssons Nyheter
Grupper och diskussionsforum. Under senare år har det dessutom tillkommit programvaror som istället för personer fokuserarAnders_S (Svenssons Nyheter)
WINE / PlayOnLinux
Hello all,
In a previous installation I was able to successfully use PlayOnLinux to run a few Windows apps. My most recent system, though, is not liking it. Currently on Kubuntu 24.04
WINE is present and up to date. However, when I tried to install PON from either Discover, or using APT, the app crashes immediately. I never even get to the GUI. I read on the page for the app in Discover, numerous others complain about this exact problem.
Anyone know about this and how to resolve it?
I included the link to the app's website because there are numerous versions and it states you need to use the correct one. I don't know what those different variables mean, so could someone please advise? (deb files, Cosmic, Trusty, Bionic, Xenial.... etc. I don't understand these).
playonlinux.com/en/download.ht…
Thank you to anyone who can assist.
Downloads - PlayOnLinux - Run your Windows applications on Linux easily!
PlayOnLinux will allow you to play your favorite games on Linux easilywww.playonlinux.com
Another easier option might be to install lutris from the app store and install and run windows software with it.
I used PlayOnLinux for years.
Recently I migrated to Lutris. I have a Wine installation which are 15 Years old and Works fine on Lutris.
Thanks to Lutris and its modern Settings I could use modern technology for my 32bit games.
Flatpak 1.15.10 / 1.14.10 Released
Release 1.15.10 · flatpak/flatpak
Dependencies: In distributions that compile Flatpak to use a separate bubblewrap (bwrap) executable, version 0.10.0 is required. This version adds a new feature which is required by the security f...GitHub
Suggestions for a nice endnote encouraging use of libre software
In my field of work, it is common to add end notes such as "avoid printing this mail. Save paper" or "this mail was sent at a time convenient to me. Please respond only during your work hours".
I wanted to use this to encourage adoption of libre software. But I am not sure if this is a good way to do it.
Here are some options that I was thinking:
- Libre software is sustainable software.
- Make computing sustainable, use libre software.
- Make computing free and safer with libre software.
- The email sender pledges to use libre software where possible. Join the cause and help.
I have put the hyper-link for FSF in the first instance of Libre as an example. I am considering using GNU or other websites based on your suggestions.
What do you think?
I dunno what's most appropriate for email, but I often joke:
Isn't open source kinda like a cult?
It's a not a cult I swear! Just switch to free software, and free yourself!
I've also heard my friend say something along the lines of:
Free software, free culture, free people
Or maybe it was free world or free trade? I can't remember.
Although, for slogans like this, I might go with something that has more of an immediate effect, like shilling an adblocker.
- Install uBlock Origin. Blocking ads is one of the easiest ways to increase your security.
- Install uBlock Origin. It blocks more than just ads, but also tracker scripts that follow you around the net and collect your data.
Or the ever so simple:
- Free software means free as in freedom — not as in beer.
Anyway, I partially agree with the other poster, but I think a one sentence quip at the end of an email is unobtrusive enough that it gets a pass. Of course, it depends on your specific workplace and how strict they are, but I would assume most workplaces have a little space for humanity.
uBlock Origin - Free, open-source ad content blocker.
uBlock Origin is not just an “ad blocker“, it's a wide-spectrum content blocker with CPU and memory efficiency as a primary feature. Developed by Raymond Hill.uBlock Origin
like this
RandomStickman likes this.
GitHub Profile Roast 🔥🔥🔥
cross-posted from: beehaw.org/post/15509445
Generates text after analyzing a profile. It's pretty funny. Mine:thingsiplay
Oh Tuncay, your GitHub bio proudly declares you're "just for fun" and unprofessional, which is ironic since it sounds like you’ve derived way too much fun from so many unremarkable scripts. With 46 public repositories, you must’ve thought quantity would mask the glaring mediocrity. The only thing more stale than your Bash scripts is your humor.Your "emojicherrypick" project? Really? The world needed another emoji picker like it needs more stale bread—there's a reason it's got more emojis than stars. And speaking of shadows, how does it feel to have just 9 followers? Maybe they were just passing by, or perhaps they clicked by accident while looking for actual developers.
You’ve got more forks than a family dinner, yet most of your repos look so uninspired that they might as well come with a disclaimer: “Do not expect much.” Word to the wise: if you're going for "just for fun," maybe consider an actual hobby or, dare I say, a personality. After all, your command line tools are more entertaining than your profile readme, which goes on like a bad self-help book— we get it, you like Linux and gaming, but what's next, a PowerPoint on your 9 followers? Spice it up a bit, bud.>
praise-me.fly.dev/
Praise my GitHub profile!
Use your GitHub profile as a way to get personalized messages of praise and encouragement.praise-me.fly.dev
If you look to play the upcoming "Spectre Divide" game, don't hold your breath this is from an interview with Mountaintop Games CEO via The Verge.
It’s only currently planned for PC, with no controller or console plans yet — and Mountaintop won’t necessarily allow Steam Deck to join. “Steam Deck is a concern as a cheating vector, and I think our anti-cheat systems may block it right now,” Mountaintop CEO and cofounder Nate Mitchell tells me.
store.steampowered.com/app/264…
Spectre Divide on Steam
Spectre Divide is the genre-evolving, competitive 3v3 tactical shooter driven by Duality. Use Duality to control two bodies in real-time, letting you defend two sites at once, cover your own cross, or even trade yourself.store.steampowered.com
Oh no. a game I haven't heard of isn't going to play nicely on the deck, I guess I'll go back to my mountain of compatible games...
Sounds like it has forced multiplayer components always /yuck
like this
osaerisxero likes this.
Eh, it's also much easier to slap a client-side detector on because you can use generic detection methods. When you're doing it server-side, you have to rely a lot on statistical analysis and it's all game specific.
In the end you can, of course, reduce it all to not shelling out money, but there is some nuance too.
- YouTube
Auf YouTube findest du die angesagtesten Videos und Tracks. Außerdem kannst du eigene Inhalte hochladen und mit Freunden oder gleich der ganzen Welt teilen.www.youtube.com
Flipboard Users Can Now Follow Anyone in the Fediverse
Flipboard Users Can Now Follow Anyone in the Fediverse
Starting today, Flipboard will let users search for and follow accounts from across the Fediverse from the comfort of their own dashboards. This is the next step in introducing Flipboard's wider userbAnuj Ahooja (We Distribute)
like this
jay likes this.
Cheatsheet script for displaying Linux command examples
You can use cheat sh web service to show cheatsheets for all kind of commands. Just replace the command name: curl -s cheat.sh/date. I also wrote a a simple script with filename being just a question mark to get a working command as ?, that shows all commands in fzf menu if no argument is given or shows the cheatsheet in the less pager if command name is given.
Usage:
?
? -l
? date
? grepScript ?:
\#!/bin/env bash
cheat='curl -s cheat.sh'
menu='fzf --reverse'
pager='less -R -c'
cachefile_max_age_hours=6
# Path to temporary cache file. If your Linux system does not support /dev/shm
# or if you are on MacOS, then change the path to your liking:
cachefile='/dev/shm/cheatlist' # GNU+LINUX
# cachefile="${TMPDIR}/cheatlist" # MacOS/Darwin
# Download list file and cache it.
listing () {
if [ -f "${cachefile}" ]
then
local filedate=$(stat -c %Y -- "${cachefile}")
local now=$(date +%s)
local age_hours=$(( (now - filedate) / 60 / 60 ))
if [[ "${age_hours}" > "${cachefile_max_age_hours}" ]]
then
${cheat}/:list > "${cachefile}"
fi
else
${cheat}/:list > "${cachefile}"
fi
cat -- "${cachefile}"
}
case "${1}" in
'')
if selection=$(listing | ${menu})
then
${cheat}/"${selection}" | ${pager}
fi
;;
'-h')
${cheat}/:help | ${pager}
;;
'-l')
listing
;;
*)
${cheat}/${@} | ${pager}
;;
esaccheat.sh - The only cheat sheet you need
cheat.sh - The only cheat sheet you need. GitHub Gist: instantly share code, notes, and snippets.Gist
like this
funbreaker likes this.
This looks great.
Suggestion: a step-by-step "howto" with an example or three to make it more useful for beginners.
? script or the output from the cheat.sh web service? Because I'm not the author of the web service itself, I just created this script to make use of it.
Basic examples for the Linux date command
I rarely ever use the date command, but when I need it I almost always struggle to get the right incantation. So, wrote a blog post for easy reference.
Do you use a cheatsheet as well?
Basic examples for the Linux date command
Examples and resource links for the Linux date command.learnbyexample.github.io
date is the command for setting the system date and time from the command line. Nothing to do with formatting, beyond the fact that it presumably applies system locale settings when echoing date-time info.
tldr which someone else suggested, there's also the cheat command. It's pretty easy to add to it's cheat sheets, if you have custom commands, or want to keep a specific example. I've never kept a physical cheat sheet... They're just too inconvenient and my fingers are probably already at the keyboard.
For all I know, new versions probably run fine in current OSs. But I don't own new versions. I could use open source stuff that has less features and less creature comforts, but then I also need to dedicate a newer laptop to the go box.
The whole point of that hobby is reliability and stability. Those old lenovos are tanks and I have spares for days.
A new way to develop on Linux - Part II
A new way to develop on Linux - Part II
In our last update, we shared how to improve the developer experience for building and testing software using system extensions with sysext-utils. This time, we want to share how to leverage that work to enhance end-to-end testing.www.codethink.co.uk
Article picture is of a mac and even better, touchbar controls are for photos.
I love those very real tech pics.
Andries Brouwer on the OOM killer
Via Andy Miller (2007), an amusing metaphor for Linux memory overcommit. Originally posted by Andries Brouwer to the linux-kernel mailing list, 2004-09-24, in the thread titled “oom_pardon, aka don’t kill my xlock”:An aircraft company discovered that it was cheaper to fly its planes with less fuel on board. The planes would be lighter and use less fuel and money was saved. On rare occasions however the amount of fuel was insufficient, and the plane would crash. This problem was solved by the engineers of the company by the development of a special OOF (out-of-fuel) mechanism. In emergency cases a passenger was selected and thrown out of the plane. (When necessary, the procedure was repeated.) A large body of theory was developed and many publications were devoted to the problem of properly selecting the victim to be ejected. Should the victim be chosen at random? Or should one choose the heaviest person? Or the oldest? Should passengers pay in order not to be ejected, so that the victim would be the poorest on board? And if for example the heaviest person was chosen, should there be a special exception in case that was the pilot? Should first class passengers be exempted? Now that the OOF mechanism existed, it would be activated every now and then, and eject passengers even when there was no fuel shortage. The engineers are still studying precisely how this malfunction is caused.
Twenty years later, as far as I know, the OOM killer is still going strong. In fact, if you don’t like the airline’s policy on what counts as an “emergency” (for example, that it might exhaust your swap partition too before killing any bad actor at all), you can hire your own hit man, in the form of the userspace daemon earlyoom.
Explanation of the OOM-Killer: Understanding Out of Memory Killer (OOM Killer) in Linux
What is Out of Memory Killer (OOM Killer) in Linux?
Learn about Linux kernel's out of memory management handling mechanism.Abhishek Prakash (Linux Handbook)
Can it not be disabled? I've heard so many horror stories about the OOM killer that I'm really not a fan at this point.
And might as well add one of my own.
I needed to do an unpacking of a very large file, which I kept running in the background, but it used a ton of memory and took a ton of time. So to ensure I'm not bored for 30 mins, I opened up the browser. Around 10 mins or so later, I go to check up on the window where the operation is running only to find out the operation.... stoppped? So after that, I just started the operation again, closed all other windows and background programs, and checked out stuff on my phone while I waited.
I mean, this is literally what someone in the original mailing list said:
How about a sysctl that does "for the love of kbaek, don't ever kill these processes when OOM. If nothing else can be killed, I'd rather you panic"?
Open Source extension that greatly increases streaming speeds
GitHub - Andrews54757/FastStream: Stream videos without buffering in the browser. An extension that replaces bad video players on the internet with a better, accessible video player designed for your convenience.
Stream videos without buffering in the browser. An extension that replaces bad video players on the internet with a better, accessible video player designed for your convenience. - Andrews54757/Fas...GitHub
like this
KaRunChiy likes this.
reshared this
Open Source reshared this.
Automatic fragmentation and parallel requests for up to 6x faster download speeds. Watch videos without interruptions by predownloading the video in the background.
Looks like it mostly just buffers the video more aggressively. If you have a good Internet connection it won't do anything useful other than peg the server's connection downloading the entire video file at gigabit speeds and make it worse for other viewers.
like this
DaGeek247 likes this.
"You're trying to be efficient and you use a computer too well, you must be a bot! You're banned."
My experience every time I try to use most ecommerce sites like amazon
like this
DaGeek247 likes this.
I get that its abnormal for me to open twenty tabs for a bunch of products and a bunch of different queries simultaneously. That's just being good at computers, and it should be encouraged.
Don't ban people who are abnormal. Machine learning anomaly detection is making the internet unusable.
like this
DaGeek247 likes this.
If you have good internet it could make it significantly better
Tcp transfers are limited by the product of window size and latency, if I am in Australia with gigabit internet downloading from Europe then I could be limited at mere megabits with a single connection!
I've pulled multi gigabit between Australia and Europe back when I worked at PIA, over OpenVPN over TCP. You just need the appropriately sized buffers and window sizes.
You need extra large buffers because you need to hold on to the packet until acknowledgement in case you need to retransmit it. At gigabit+ with some 300ms to deal with, it can be like some hundreds MB of packets, on top of the regular queue.
But fair enough, that will workaround the issue.
Bingo, that's the core issue. Big fat windows decrease operating efficiency at large scale and if most clients are nearbyish it's unnecessary.
I've noticed PIA do a good job, maybe that's your work at play!
Nope. Everything has been replaced by Kape's infrastructure, from what I've heard. I worked there 2016-2019, so 5 years ago already.
They did do an alright job with the app though vs what we had to deal with back then. I ran those kinds of speed tests between regions over OpenVPN in part to disprove speed complaints which, Windows + OpenVPN + TCP on Windows 7, yeah the speeds weren't amazing but nothing I could do about that.
It was kind of funny in retrospect though, everyone online was like PIA is faster, no AirVPN is faster, no ExpressVPN and flame wars of which one had the worst speeds. I measured it, it was all the fucking speed/latency curve on the client's side 😂
Default audio level and SponsorBlock integration · Issue #16 · Andrews54757/FastStream
it's 100% by default. i am deaf now. i dont want others to be deaf too. I missed the audio config option. Also if possible, maybe add sponsoreblock support. The extension is working great for me.GitHub
like this
TVA likes this.
Åklagare har väckt åtal i ett ärende där en man i 20-årsåldern sköts till döds i Sätra centrum i södra Stockholm den 7 augusti 2023. Sju personer har åtalats för inblandning i mordet. Utöver det åtalas även tre personer för grovt vapenbrott. Samtliga åtalade är häktade.
blog.zaramis.se/2024/08/22/sju…
Sju personer har åtalats för mord i Sätra, Stockholm - Svenssons Nyheter
Åklagare har väckt åtal i ett ärende där en man sköts till döds i Sätra centrum i södra Stockholm. Sju personer har åtalats för inblandningAnders_S (Svenssons Nyheter)
Why I Prefer Minetest To Minecraft - YouTube
- YouTube
Auf YouTube findest du die angesagtesten Videos und Tracks. Außerdem kannst du eigene Inhalte hochladen und mit Freunden oder gleich der ganzen Welt teilen.www.youtube.com
reshared this
Linux reshared this.
If you run your own server it's as simple as setting
Online-Mode: false
And installing an account management plugin if you open it to other players (so people can't just easily change names and impersonate someone)
I exclusively played on and ran cracked servers for 6 years (2011-2017), shit rules
I completely get where people are coming from with that opinion, but I've been playing MC for almost 15 years, and I'm having just as much if not more fun with the game now as I did at any other point in its development.
Minetest is super cool and can be very fun. I play a bit on it as well, but exclusively advertising for it on the platform of hur dur mineshit sucks, which isn't necessarily what you're doing, I just see that a lot, definitely isn't the best way to go.
Sounds super cool :o ... Am still kinda salty about M$ blocking my account and holding my copy of Minecraft (that I paid Mojang for, well before it was Microsoft's!) hostage because they want my phone number, though. 😠
... Also I kinda wanna know if it's got the moddage I love about Minecraft, but am afraid to ask because I'm stuck on a laptop that can't really run much without getting all melty 😅
Yep, I didn't convert either of my accounts over as well.
I would just try it and see what you think of it! It's completely free. Minetest is the program you install on your computer, and then there are lots of different games that you can download and try inside of Minetest. There's more besides Minecraft-likes that you can try, and there are definitely mods available. I never modded Minecraft though, so I'm not sure how they compare.
As to system requirements, it could run pretty well on a six year old Android phone the last I tried. It might be worth a shot on your laptop! Be aware that it'll probably be a somewhat different experience than Minecraft, but not necessarily in a bad way!
Haven't watched the video - just my thoughts...
Minetest (specifically Mineclone2) is an impressive feat, and a very faithful reproduction of the original. I pretty much used the Minecraft fandom wiki to progress through the game. Hours of fun was had without handing money to M$.
I only really stopped because the redstone functionality wasn't fully implemented.
Hats off to the devs on that project regardless
The redstone is a large feat indeed. I started working on that but had to stop due to time constraints. Its still in my head though.
All in all there is just too much great stuff someone with a little drive and a little coding knowledge can do in the foss ecosphere.
like this
TVA likes this.
Thanks :) it is a bit confusing
Irrlicht is discontinued but I think it is under a different name now
wayland.freedesktop.org/xserve…
It provides backwards compatibility for running X apps under Wayland.
Individual apps, particularly full-screen games, shouldn't need "Wayland support"(quotes because what that means will vary between implimentations).
Now, if you have to install xorg on a system that doesn't have it in order to play a game? Yeah that would suck, although games are on my personal shortlist of application categories that should always be run from a flat-pack/equivalent and/or containerized wherever possible.
Now I think about it, why don't (anti-cheat)games just run their own VM's and "calibrate" those versus any weird system variables? Seems like a better anti-cheat than hacking-my-kernel-to-make-sure-I'm-not-hacking-the-game...
Even if you use Flatpak, you need XOrg / XWayland on the host system.
Fedora Kinoite/KDE and the KDE Plasma desktop on its own are especially annoying, as I have no idea how to turn off those legacy support services from constantly running, like XWaylandVideoBridge (never used) or XWayland entirely.
I think Windows is just too bloated to also use Containers. With WSL they found a good way and apps should totally run in containers, but this is simply not yet done.
VMs would suck for efficiency as they rely on CPU virtualization and GPU passthrough. The former will never give native performance
Not all dependencies. Flatpak is an application, and a display server is outside of an application.
Closing an app should not result in a black screen XD
Not that hard to stop wayland or xorg at the launch of a given application and restart it at that application's exit. Of course, I only did it on the Raspberry Pi because the hardware lagged horribly running such apps with a gui/compositer/desktop the app wasn't using in the background, but it wasn't hard for me to get working, and its exactly how we did things with DOS apps and even some Windows games back in the WFWG 3.11 days.
Basically, there's no technical reason the host operating system should have to be providing say X, KDE, Plasma, Gnome, Gk, Wayland, whatever, to a flatpack app that needs those things. Yes, the result is a larger flatpack, but that's why flatpack's do dependency consolidation.
Unless ... Unless, you just really want to to run your games windowed with smooth window-resizing, minimization, maximization, etc.
like this
TVA likes this.
Does anyone know how to "fly" with double space?
And how to fly faster?
These were big issues I had with Mineclone2 or how it is now called
While in game, Escape>Change Keys> in the right corner checkbox called "Double tap 'jump' to toggle fly". For flying faster, you can press J (by default?) to enable fast mode, you can change how fast it is in the settings menu, in the main menu. This is all assuming that you have the 'fly' and 'fast' privileges.
All players should check the settings menu at least once, I changed many things in there, and you should too. One of them was enabling the crosshair in the Touchscreen menu on mobile , it enables a much smoother experience on mobile.
like this
TVA and SaltySalamander like this.
Thanks, friend! Also, are you saying the creator of Minecraft, the creator of Minetest, or the creator of the video?
Curse you, syntactic ambiguity!!! xD
So I tried VoxelLibre recently and I have three main papercuts:
* The lack of dual wielding (and perhaps crits and other Combat Update things).
* Shift clicking items doesn't do the same thing as Minecraft in a lot of cases. Shift clicking armour doesn't equip it, for example.
* I think sometimes there's a keyboard combination for opening the inventory (shift+I?) that I keep accidentally hitting when I try to move.
Still, it's an interesting project and Iook forward to how it continues.
It's open, it's free, and it's fun! It's got a ton of mods and custom games to make it whatever you want out of a voxel game. That's everything I need.
Shoutouts to the Asuna game.
I played quite a bit of solo mineclone2/voxelibre. Really good stuff with a surprisingly short wishlist on my part.
It's silly, but one of my favorite things is that it fires up the launcher in under a second. Reminds me of when software wasn't bloated halfway to hell. 😁
Played some Voxellibre for the first time after seeing this. I fell to the most classic of blunders: I tried to spam click to kill an enemy.
My Minecraft skill did not translate.
Pixel ImPerfection - ContentDB
Pixel Im(proved)Perfection aim to be close and familiar to Minecraft texture.content.minetest.net
Hell yeah.
Let's fucking goooooooo!
Replacing M.2 system drive (btrfs) on motherboard with single slot
I finally have the budget to build my first NAS and upgrade my desktop PC. I have used Linux for quite some time, but am far from an expert.
One of the steps is to move my M.2 NVME system drive (1TB) from my desktop to my NAS. I want to replace it with a bigger NVME drive (2TB). My current motherboard only has a single M.2 slot, that's why I bought a M.2 enclosure.
My goal is to put my new drive into the enclosure, clone my whole system disk onto it and then replace the old drive. At first I found several posts about using clonezilla to clone the whole drive, but some posts mentioned it not working well with btrfs (/ and /home subvolume), which is the bulk of my drive.
I have some ideas how I might to pull it off. My preliminary idea is:
1. clone my boot partition with clonezilla
2. use btrfs-clone or moving my butter to transfer the btrfs partition
3. resize the partitions with gparted (and add swap?)
The two aspects I'm uncertain about are:
1. UUIDs
2. fstab
I plan to replace the old drive, so the system will not have two drives with the same UUID. If the method results in a new UUID I need to edit fstab.
As you can see I'm not sure how to proceed. Maybe I can just use clonezilla or dd to clone my whole drive?
If someone has experience with such a switch or is just a lot for familiar with the procedures, I would love some tips and insight.
Thanks for reading.
////////////////////////////////////////////////////////////////////////////////////////////////////////////
EDIT: Thinking about how to do it, might have actually taken longer than the procedure itself.
For anyone in a similar situation, I was able to replace the drive with these steps:
- clone the whole drive (new drive has a bigger capacity) with clonezilla
- physically switch the drives
- boot into a live medium and resized the btrfs partition on the new drive with gparted
- boot into the main system and adjust the filesystem size with
sudo btrfs filesystem resize max /
With two NVME drives (even though one was in a USB M.2 enclosure) everything took about 30 minutes. About 300 gigs of data were transferred. I haven't found any problems with the btrfs partition thus far. Using dd like others recommended might work as well, but I didn't try that option.
GitHub - mwilck/btrfs-clone: A tool for copying a btrfs file system with all its subvolumes to another btrfs file system
A tool for copying a btrfs file system with all its subvolumes to another btrfs file system - mwilck/btrfs-cloneGitHub
reshared this
Linux reshared this.
Is your system drive really that: just a system drive? Then you'd better install it from scratch and have a clean, shiny and new system.
Backup a few settings maybe. Or maybe not.
Then you’d better install it from scratch and have a clean, shiny and new system.
You know how it is, I just got my system right. Of course lots of settings can just be duplicated, but I would prefer not to set up some systemd services, cron jobs, etc. again.
When you say system drive this will also have your efi system partition (usually FAT-formated as that's the only standard all UEFI implementations support), maybe also a swap partition (if not using a swap file instead) etc... so it's not just copiying the btrfs partition your system sits on.
Yes clonezilla will keep the same UUID when cloning (and I assume your fstab properly uses UUIDs to identify drivees). In fact clonezilla uses different tools depending on filesystem and data... on the lowest level (so for example on unlocked encrypted data it can't handle otherwise) clonezilla is really just using dd to clone everything. So cloning your disk with clonezilla, then later expanding the btrfs partition to use up the free space works is an option
But on the other hand just creating a few new partitions, then copying all data might be faster. And editing /etc/fstab with the new UUIDs while keeping everything else is no rocket science either.
The best thing: Just pick a method and do it. It's not like you can screw up it up as long if your are not stupid and accidently clone your empty new drive to your old one instead...
I had a similar case.
My minipc has a microSD card slot and I figured if it could be done for a RPI, why not for a mini PC? :P
After a few months I bought a new m2nvme but I didn't want to start from scratch (maybe I should've looked into nix?)
So what I did was sudo dd if=/dev/sda of=/dev/sdc bs=1024k status=progress
And that worked perfectly!
Things to note:
- both drives need to be unmounted, so you need a live OS or another machine.
- The new drive will have the same exact partitions, which means the same size, so you need to expand them after the copy.
- PS: this was for a drive with ext4 partitions, but in theory dd works with the bytes so it shouldn't be an issue what fs you use.
I would recommend using this as an opportunity to build out and use a backups system. Whenever I get a new laptop, for example, I just make a(nother) backup on the old laptop and restore whatever I want to the new one. If there are any files I want that are normally excluded from backups, I either tweak my rules to include those files/put them in a different directory and repeat the process or just make a new manual external backup copy temporarily.
If you have good backups then your new drive can be populated from them after creating new partitions. Optionally, you can also take this opportunity to reinstall the OS, which I personally prefer to do because it tends to clean up cruft.
Also, if you go this route, your data on your old drive is 100% intact throughout the process. You can verify and re-verify that all the files you want are backed up + restored properly before finally formatting the old drive for use in the NAS.
like this
TVA likes this.
Personally, if the NAS is up and running, I'd migrate the home directory and anything else important from the desktop to that, and intend to network host those folders; set aside the 1TB, install the 2 TB, and do a fresh install and see if I can still get to everything happily.
Alternatively--if you want to preserve stuff locally--new drive in an enclosure, attach to desktop, boot from an install USB, fresh install to 2TB, reboot from 2TB, mount 1TB, migrate data, install 2TB. I don't think there should be a UUID problem doing that, but even if there was you could still boot from the install stick and try manually fix it
rsync to copy everything over. Updating /etc/fstab with the new UUIDs isn't a big deal (though you can also manually specify the partition UUIDs at time of format - mkfs.btrfs --uuid ...) (you didn't say what file system your /boot partition was using, so I don't want to guess).
you didn’t say what file system your /boot partition was using, so I don’t want to guess
It's actually easy to guess. There is exactly one filesystem UEFI has to support by its specification, everything else is optional... so unless you produce for Apple -because they demand apfs support for their hardware- no vendor actually cares to implement anything but FAT.
Do you have pci-e slots?
I had to decide between a M.2 enclosure and a PCIe card. Since I plan to build a new system (with more M.2 slots) I will have more slots in the future. And maybe I will not like the M.2 enclosure and return it. wink
Clonezilla can clone BTRFS without issues
Afterwards on the system use sudo btrfs filesystem resize max / to make it use that space. Maybe add a balance.
If you're feeling adventurous:
- You can use a thumb drive to boot.
- Verify the device path for your normal boot disk and for your new drive using gnome disks or similar. In this example I'll call them /dev/olddisk0n1 and /dev/newdisksda
- really, really don't mix up the in file and out file. In file (if) is the source. Out file (of) is the destination.
sudo dd if=/dev/olddisk0n1 of=/dev/newdisksda bs=128M- or, of you want a progress indicator:
sudo pv /dev/olddisk0n1 > /dev/newdisksda - wait a long time
Not that this is the recommended method if you're new to the terminal, but it's totally viable if you have limited tools or are comfortable on the command prompt.
Unless you're using three new disk on the same system, you don't have to worry about UUIDS, though they will be identical on both drives.
Your system is likely using UUIDs in fstab. If so, you don't have to worry about fstab. If not, there's still a damned good chance you won't have to worry about fstab.
To be sure, check fstab and make sure it's using UUIDs. If it's not, follow a tutorial for switching fstab over to using UUIDs.
What the fuck is an SBAT and why does everyone suddenly care
Follow up to: “Something has gone seriously wrong,” dual-boot systems warn after Microsoft update
SBAT was developed collaboratively between the Linux community and Microsoft, and Microsoft chose to push a Windows update that told systems not to trust versions of grub with a security generation below a certain level. This was because those versions of grub had genuine security vulnerabilities that would allow an attacker to compromise the Windows secure boot chain, and we've seen real world examples of malware wanting to do that (Black Lotus did so using a vulnerability in the Windows bootloader, but a vulnerability in grub would be just as viable for this). Viewed purely from a security perspective, this was a legitimate thing to want to do.
...
The problem we've ended up in is that several Linux distributions had not shipped versions of grub with a newer security generation, and so those versions of grub are assumed to be insecure (it's worth noting that grub is signed by individual distributions, not Microsoft, so there's no externally introduced lag here). Microsoft's stated intention was that Windows Update would only apply the SBAT update to systems that were Windows-only, and any dual-boot setups would instead be left vulnerable to attack until the installed distro updated its grub and shipped an SBAT update itself. Unfortunately, as is now obvious, that didn't work as intended and at least some dual-boot setups applied the update and that distribution's Shim refused to boot that distribution's grub.
...
The outcome is that some people can't boot their systems. I think there's plenty of blame here. Microsoft should have done more testing to ensure that dual-boot setups could be identified accurately. But also distributions shipping signed bootloaders should make sure that they're updating those and updating the security generation to match, because otherwise they're shipping a vector that can be used to attack other operating systems and that's kind of a violation of the social contract around all of this.
like this
ShaunaTheDead likes this.
reshared this
Linux reshared this.
So they claimed it wasn't supposed to affect dual boots, yet it was specifically to patch a vulnerability in GRUB, something a Windows-only user has no reason of ever using (that I'm aware of)?
So how could this have affected anyone but people who dual boot? Sketchy.
like this
originalucifer likes this.
And I do, generally. But like I said, I did not read it carefully because I had no reason to.
So if they addressed what I said, I didn't read that part. 🤷🏻
I have secure boot and tpm disabled on my rig. I’ve been called a fool for this. But I don’t understand how it works, and this is an example.
If I was smart enough to code a new OS or a new boot loader (which I’m not) - how does it become different than a virus? Who approves my code is “safe” to run?
Clearly in this case Microsoft said “those versions of grub are not safe.” So what does that mean? I’m not allowed to run them now because Microsoft decided? That’s all it takes? The whole “what’s safe to run” thing baffles me.
Am I supposed to believe that a govt agency like the nsa could NEVER put malicious backdoors into Microsoft’s products, that Microsoft would NEVER allow that to happen, and that code would NEVER be flagged as safe?
I get it…. It helps with obvious viruses and whatnot. But in my experience, all secure boot has ever done for me is cause problems and lock me out of my computer.
Microsoft, by default, decides which code is safe to run, yes.
However, that's not the only way to use Secure Boot; I enroll my own certificates in addition to Microsoft's, allowing code that I sign to be booted into. This requires some UEFI setup once.
For most machines, Secure Boot should never lock you out completely; you can always disable it, fix your boot chain and reenable.
I think it's actually sensible technology, but as every security feature, it usually comes at the cost of some convenience.
It's to protect the user against malware that would insert itself in the boot chain and run at higher privilege than the kernel. Just booting a malicious ISO can insert malware in the boot chain without your knowledge. Once you're in the boot chain, you boot before the kernel, so you can inject whatever drivers you want.
That's particularly important on corporate computers where they don't want users to bypass IT policies, but also important for the average Windows user that won't stop loading malware on their computers. Without secure boot there's nothing stopping you from forcing yourself local admin privileges or even silently exfiltrate data.
That's been a thing forever: DOS boot sector malware for example. By only booting signed bootloaders and kernels, you can ensure this doesn't happen.
I have a friend that abused an insufficiently locked down GRUB to root his workstation at work by using the init=/bin/sh trick to patch a SUID binary to make his own sudo.
However, that’s not the only way to use Secure Boot; I enroll my own certificates in addition to Microsoft’s, allowing code that I sign to be booted into. This requires some UEFI setup once.
Do you by chance have a guide or documentation you followed to do this that you could link?
Don't know how much this would help you; I did this on NixOS, however the steps for creating the key pair and enrolling is the same on all distributions, while your UEFI steps can vary depending on the manufacturer.
github.com/nix-community/lanza…
wiki.archlinux.org/title/Unifi… for Arch
lanzaboote/docs/QUICK_START.md at master · nix-community/lanzaboote
Secure Boot for NixOS [maintainers=@blitz @raitobezarius @nikstur] - nix-community/lanzabooteGitHub
like this
TVA likes this.
I don't think Microsoft cares that much anymore. The OS wars are over.
Every Windows now ships with a one-button Linux installer.
Powershell has default aliases so you can use bash commands for basic stuff.
Microsoft is one of the top contributors to the Linux kernel.
They provide documentation on how to install Linux.
They have published a Linux distro.
They don't care cause that's not where they make their money. Their focus is on keeping their market dominance in Office, Exchange and AD, or M365, Exchange Online and Entra, respectively (all of which can be accessed from Linux). With those products, they can basically demand a tax of ~$20-30/month/employee from every business in the world.
How to download and install Linux
Download and install Linux in this tutorial that covers how to choose a distribution, how to use the install command with Windows Subsystem for Linux, create a bootable USB for Bare-metal, or set up a Virtual Machine.learn.microsoft.com
like this
TVA likes this.
FiveMacs
in reply to §ɦṛɛɗɗịɛ ßịⱺ𝔩ⱺɠịᵴŧ • • •Tar_Alcaran
in reply to FiveMacs • • •nous
in reply to §ɦṛɛɗɗịɛ ßịⱺ𝔩ⱺɠịᵴŧ • • •So they looked at some data and found that the more heme you ate the higher chance of developing type 2 diabetes. That sounds a lot like a correlation not causation. What was the rest of their diet like? Did the higher heme eaters also consume more in general? I could not find a non paywalled copy of the paper (though I did not look that hard tbh) so cannot tell how good the study was, but from what I read I would not put any stock into these results.
Like so many other dietary studies that make the headlines, they really don't paint the whole, or even a useful part of the picture.
like this
Rakenclaw and subignition like this.
§ɦṛɛɗɗịɛ ßịⱺ𝔩ⱺɠịᵴŧ
in reply to nous • • •In part, according to one of the head researchers, “compared to prior studies that relied solely on epidemiological data, we integrated multiple layers of information, including epidemiological data, conventional metabolic biomarkers, and cutting-edge metabolomics”.
So in addition to finding the metadata, they also dug into the biomarkers present, which the molecular pathways are already known in detail. On top of this, metabolomics interpreted the chemical processes involving metabolites, the small molecule substrates, intermediates, and products of cell metabolism. Together, these aspects helped demonstrate the molecular consequences of ingesting animal products. The epidemiological layer assessed the incidence rate of developing T2D and then investigated how many involved the consumption of animal products for the individuals.
This being the case, it appears to be more than just correlation, as once the metadata was found, the team investigated the causation of the metadata's findings.
like this
соисüѕѕэd, 𝕽𝖆𝖉𝖎𝖈𝖆𝖑 𝕽𝖊𝖇𝖊𝖑 and T͏i͏d͏b͏i͏T͏ like this.
Glasgow
in reply to nous • • •You don't think the Department of Nutrition at Harvard would've thought to try and control for this?
Not on sci-hub yet but here's a similar one:
jn.nutrition.org/article/S0022…
BobTheDestroyer
in reply to §ɦṛɛɗɗịɛ ßịⱺ𝔩ⱺɠịᵴŧ • • •And making heme is what they are proud of at impossible foods. impossiblefoods.com/heme
"Heme is what makes meat taste like meat. It’s an essential molecule found in every living plant and animal -- most abundantly in animals -- and something we’ve been eating and craving since the dawn of humanity. Here at Impossible Foods, our plant-based heme is made via fermentation of genetically engineered yeast, and safety-verified by America’s top food-safety experts and peer-reviewed academic journals. Watch more below."
§ɦṛɛɗɗịɛ ßịⱺ𝔩ⱺɠịᵴŧ
in reply to BobTheDestroyer • • •like this
соисüѕѕэd, 𝕽𝖆𝖉𝖎𝖈𝖆𝖑 𝕽𝖊𝖇𝖊𝖑 and T͏i͏d͏b͏i͏T͏ like this.