ABRoot Reinvents The Immutable Linux Distro

ABRoot Reinvents The Immutable Linux Distro

Brodie Robertson

54 года назад

8,878 Просмотров

Most immutable linux distros make use of Libostree but it's not the only tool out there, today we're looking at ABroot the tool used to make VanillaOS immutable ever since dropping Almost

==========Support The Channel==========
► $100 Linode Credit: https://brodierobertson.xyz/linode
► Patreon: https://brodierobertson.xyz/patreon
► Paypal: https://brodierobertson.xyz/paypal
► Liberapay: https://brodierobertson.xyz/liberapay
► Amazon USA: https://brodierobertson.xyz/amazonusa

==========Resources==========
Almost Github: https://github.com/Vanilla-OS/almost
ABRoot Github: https://github.com/Vanilla-OS/ABRoot

=========Video Platforms==========
🎥 Odysee: https://brodierobertson.xyz/odysee
🎥 Podcast: https://techovertea.xyz/youtube
🎮 Gaming: https://brodierobertson.xyz/gaming

==========Social Media==========
🎤 Discord: https://brodierobertson.xyz/discord
🎤 Matrix Space: https://brodierobertson.xyz/matrix
🐦 Twitter: https://brodierobertson.xyz/twitter
🌐 Mastodon: https://brodierobertson.xyz/mastodon
🖥️ GitHub: https://brodierobertson.xyz/github

==========Credits==========
🎨 Channel Art:
Profile Picture:
https://www.instagram.com/supercozman_draws/

#Linux #LinuxDistro #opensource #FOSS #immutable

🎵 Ending music
Music from https://filmmusic.io
"Basic Implosion" by Kevin MacLeod (https://incompetech.com)
License: CC BY (http://creativecommons.org/licenses/by/4.0/)

DISCLOSURE: Wherever possible I use referral links, which means if you click one of the links in this video or description and make a purchase I may receive a small commission or other compensation.

Тэги:

#brodie_robertson #brodie_robertson_linux #arch_linux #brodie_robertson_arch_linux #abroot #linux_abroot #ostree #libostree #foss #open_source #the_linux_experiment #distrotube #chris_titus_tech #linux #immutable_linux #immutable_linux_distro #fedora_silverblue #vanilla_os #vanilla_os_linux #linux_vanilla_os #linux_news #tech_news #what_is_abroot #ostree_linux #ostree_linux_distro #linux_desktop #best_linux_distro #ubuntu #fedora #fedora_linux #ubuntu_linux
Ссылки и html тэги не поддерживаются


Комментарии:

@dreamcat4
@dreamcat4 - 04.02.2023 23:15

certainly interesting and a great project. i just am hoping to have something with similar functionality based on more flexible btrfs or zfs snapshots. that can then be rolled back etc. so i am wondering now since we can already do that on other setups (before abroot came along) if the functionality provided by ab root does or does not indeed offer anything worthwhile above that. which a snapshots based system did not already offer?

Ответить
@Blueeeeeee
@Blueeeeeee - 04.02.2023 23:16

This is really interesting. It also means no need for "systemd offline updates" on startup.

Ответить
@TheEvilSkelly
@TheEvilSkelly - 04.02.2023 23:24

A little correction, most distros do not use OSTree. Silverblue is just the most popular one out there, but Kinoite is essentially a flavor of it. openSUSE MicroOS uses btrfs directly and NixOS do their own thing. Those are a few examples I can think of.

Ответить
@Anthropomorphic
@Anthropomorphic - 04.02.2023 23:26

Speaking of which, does anyone know how VanillaOS is holding up? Back when it first launched, I heard some talk about it being unstable or not installing properly for a lot of people.

Ответить
@tabletaccountforyoutube
@tabletaccountforyoutube - 04.02.2023 23:29

I'm not really sure I understand the benefits of an immutable system still. I've heard a lot of discussion about "more stability" and such but I don't see what the difference would be between say, updating packages normally on Ubuntu or updating an immutable Ubuntu installation which will be made out of those exact same packages.

While I DO on the other hand understand that some people mess with their system which could cause stability problems, you don't really need to run a special immutable distro for that. You can just.. not mess with your system. If I'm wrong about this I'd love for someone to correct me on the benefits of an immutable system.

For example, what would be the point of me running Fedora Silverblue if I could just run regular Fedora and only install flatpaks. Wouldn't that be nearly the same thing?

Ответить
@Lutitious
@Lutitious - 04.02.2023 23:32

This is actually how most android phones work nowadays, its pretty nice and helped me out a couple of times when messing up flashing a new os

Ответить
@o.aggelos
@o.aggelos - 04.02.2023 23:33

Linux is slowly turning into Android and that's just about the worst thing for something as great as Linux.

Ответить
@denizkendirci
@denizkendirci - 04.02.2023 23:44

i hope that the growth in immutable distro market share is an additional growth and isn't stolen from the market share of non-immutable distros.
because as a guy who runs linux for personal use only, i found this immutably thing really cumbersome, and i don't want it to become the future of linux in general.

Ответить
@Blueeeeeee
@Blueeeeeee - 04.02.2023 23:45

It would be super nice if you could do a tour of these new distro-agnostic software installation methods.

Between Flatpak & Co, NixOS, and now Distrobox, there's a lot of choices and it would be nice to do a comparison of these technologies, and where they're best used 🙂

Ответить
@VictorMatheus1234
@VictorMatheus1234 - 04.02.2023 23:46

Im using this on btrfs. "infinity" root version, single partition.
Pac-base create new root, and run operation, if sucess, set to next boot, if failed, destroy. Simple shell script over grub, pacman and btrfs, in Vanilla (😉) ArchLinux
Configs mounted on boot using overlayfs fs, edit /etc noot need reboot.
Ghub vmath3us stateless-arch

Ответить
@idcrafter-cgi
@idcrafter-cgi - 04.02.2023 23:47

this ABRoot seems like Androids A/B partitioning but different

Ответить
@h.s3187
@h.s3187 - 04.02.2023 23:47

Skib d di

Ответить
@shijikori
@shijikori - 04.02.2023 23:56

I wonder what would ABroot + overlayFS would look like.

Ответить
@FengLengshun
@FengLengshun - 05.02.2023 00:02

Yeah, ABRoot is what convinced me that VanillaOS will be the distro for me. It was really annoying to work with immutable distro before, you have to really understand or get really in-depth. With ABRoot, most of the same commands and tweaks you usually do can be done in abroot shell, but there's more safeguard in case of issues. THAT is what Windows Updates should have been.

Windows Updates made me left Windows 10, the glibc and grub issue made me not want to deal with Arch anymore, and a solution for update is what convince me to keep an eye on Vanilla OS. Now I'm just waiting for the KDE edition to switch to it.

It is kind of funny to imagine how I'd probably never left Windows if they have this system though. Would have been better than the stupid WINDOWS.OLD backup method they had too.

On the note of what also needed to be installed on root, from what I saw Docker still need to be done via abroot shell, getting zsh by default for host and container is sorta easier if you have zsh in host, and I'm pretty sure there are networking stuff that you'd want to do on root (like installing GUI VPN and firewall). But yeah, not that much, with Apx, AppImage, Flatpak, Snap, Conty, and Junest being a thing.

Ответить
@AshtonSnapp
@AshtonSnapp - 05.02.2023 00:05

Not sure about the aspect of the two roots automatically being synced (if I’m getting that aspect correctly) - what if an update breaks something? You have nothing to go back to.

Ответить
@drsensor
@drsensor - 05.02.2023 00:10

Looks like something that play nice with nixpkgs

Ответить
@accountid9681
@accountid9681 - 05.02.2023 00:14

Isn't this the exact same system android uses?

Ответить
@commentarysheep
@commentarysheep - 05.02.2023 00:23

Seems like Linux is catching up with Google's A/B system partition implementation used on newer Android phones to do seamless system updates, but used for noobie distros where the devs don't want users randomly breaking elements of the root partition.

But honestly, I'm just gonna stay with the likes of Arch, Gentoo and Void as I personally like goofing around with my expert distros.

Ответить
@ChaoticMagnet
@ChaoticMagnet - 05.02.2023 00:34

That is precisely what Android has been doing since always. Good to see a linux desktop os finally adopt this update model!

Ответить
@happygofishing
@happygofishing - 05.02.2023 00:45

all of this seems over engineered and will further obfuscate how technology works and make it harder for users to modify things.

Ответить
@kibels894
@kibels894 - 05.02.2023 00:53

What if the sync fails?

Ответить
@joshua_lee732
@joshua_lee732 - 05.02.2023 01:23

I'm still convinced that MicroOS is immutable done right.

Ответить
@vilijanac
@vilijanac - 05.02.2023 01:24

I didn't know you can immutable be rooted.

Ответить
@xperience-evolution
@xperience-evolution - 05.02.2023 01:33

And now blendOS comes around the corner and does the same in a different way and based in Arch.
Can you take a look at it?
Crazy and exciting times for Linux Desktop

Ответить
@mskiptr
@mskiptr - 05.02.2023 01:49

Well, I just checked and my OS install takes 8.1GiB. I guess with a whole DE it would definitely be bigger, but still… Drivers really don't take much space.

(this is after more then a year of daily using this machine)

Ответить
@Amos_Huclkeberry
@Amos_Huclkeberry - 05.02.2023 02:32

If universal package formats are the future, a lot of printers aren't going to work.

Ответить
@OcteractSG
@OcteractSG - 05.02.2023 03:41

Yeah, keep abroot for hardware stuff, like drivers, drives, and other hardware-related stuff (e.g., correcting screen backlight issues). DistroBox has you covered for regular packages.

Ответить
@playdead9779
@playdead9779 - 05.02.2023 04:05

If I'm understanding this correct sounds like it would be great on arch for updates.

Ответить
@Camper_Samu
@Camper_Samu - 05.02.2023 04:46

ABRoot is what modern Android uses to manage system updates actually!
Even cooler, if you have an A/B compatible device (99.9% post-2017 android devices) and you try hard enough, you can create a C (common) partition and dualboot your Android phone, there's a cool project for the OnePlus 7/Pro/T that does it and I use it, it's very handy since this gives me the ability of testing a distro or an update in a live environment before updating my main partition (basically it removes the automatic part of A/B to hand it back to the user)

Ответить
@eyssewieringa2084
@eyssewieringa2084 - 05.02.2023 05:21

I don't get the hype. This sounds like windows to me. Wasn't the great thing about linux to have to freedom to break your system?

Ответить
@milohoffman274
@milohoffman274 - 05.02.2023 07:04

ABRoot is very much like how things like Linux based routers and embedded devices achieved something similar to immutability since the 90s, it's not a new technique. But it is a bit of a hack, and we have newer solutions now like ostree for a reason.

Ответить
@ChimeraX0401
@ChimeraX0401 - 05.02.2023 07:13

So it is like what android is doing for a long time. Android does have this kind of root partition system, it is used mainly to prevent android phones from bricking itself when an update fails or interrupted midway though it also makes installing custom rom a PITA. In the past I'm thinking when will linux take advantage of this kind of root partition but I guess finally someone think of this as a good idea....

Ответить
@mirkob1
@mirkob1 - 05.02.2023 10:04

Thanks for the detailed video!

I’m moved because you explained that they don’t have to install everything in the root 🥲

Ответить
@michaelmcdonald3275
@michaelmcdonald3275 - 05.02.2023 10:53

openSUSE are working on immutable Micro OS

Ответить
@seanfaherty
@seanfaherty - 05.02.2023 15:50

Is it just me that does not like immutable distros ?
Just on principle I like to be able to break shit that I own

Ответить
@LabiaLicker
@LabiaLicker - 05.02.2023 16:50

Why not a Copy on write file system instead?

Ответить
@speedytruck
@speedytruck - 05.02.2023 19:24

So basically rpm-ostree, but you only get two images, and it takes much more space... think I'm going to stay with silverblue for now

Ответить
@gbj1viciado
@gbj1viciado - 06.02.2023 01:04

Can't wait to see a arch based distro using ABroot.

Ответить
@guss77
@guss77 - 06.02.2023 09:05

I hate that the move is to reboot your machine more - I hate offline updates: I want to apply the OS updates, and continue with my life - why do I need to shutdown all my work to get system updates? It didn't use to be that way on Linux.

And before anyone asks - I don't want to reboot at night or even automatically: I have a complex work setup that takes >10 minutes to start and I normally don't reboot for weeks at a time. If there's no important kernel update or a display server update, there's no reason to reboot.

Ответить
@joshualeivenzon9613
@joshualeivenzon9613 - 06.02.2023 13:48

NixOS solves this problem in a much nicer way, with symlinks. Changes are also atomic, but don't require a reboot, and you can keep as many copies of previous states as you want with very little disk usage.

Ответить
@generallyunimportant
@generallyunimportant - 07.02.2023 16:38

i love the whiteboard in this one.

Ответить
@cloudpuncher4615
@cloudpuncher4615 - 07.02.2023 22:46

Only an Aussie gets your thumbnail.....

Ответить
@tillend8310
@tillend8310 - 08.02.2023 11:43

So, it's like ab partition in Android.

Ответить
@colbyboucher6391
@colbyboucher6391 - 09.02.2023 18:03

Thank you for this, this is something that 100% needed to be part of the discussion.

Ответить
@Mempler
@Mempler - 23.03.2023 20:21

Wouldn't this kill an SSD? As it writes the same thing twice

Ответить
@clocked0
@clocked0 - 11.06.2023 05:37

ABRoot is how ChromeOS applies updates.

Ответить
@danielkrajnik3817
@danielkrajnik3817 - 13.07.2023 20:55

what's with the abstract art on the whiteboard

Ответить
@the1trancedemon
@the1trancedemon - 27.07.2023 03:59

else timeshift is a great utility for any distro if you find yourself doing critical changes and tinkering with the system often. ideal for the ordinary distros that can get messed up.

Ответить
@exotericidymnic3530
@exotericidymnic3530 - 13.06.2024 03:11

does this mean we can finally rm -rf root without any worries

Ответить