this post was submitted on 24 Jul 2024
537 points (98.7% liked)

Technology

35124 readers
302 users here now

This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.


Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.


Rules:

1: All Lemmy rules apply

2: Do not post low effort posts

3: NEVER post naziped*gore stuff

4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.

5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)

6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist

7: crypto related posts, unless essential, are disallowed

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] purplemonkeymad@programming.dev 8 points 5 months ago (15 children)

You're not safe there either, they had almost the same issue on the Linux version of the product a few months ago.

[–] kristoff@infosec.pub 3 points 5 months ago (13 children)

Concerning linux, yesterday I was watching this video on computerphile on the crowdstrike incident. https://www.youtube.com/watch?v=rlaNMJeA1EA (*)

What is interesting is the comment made in the video on how chromebooks do software upgrades with dual "OS" disk-partitions and the ability to rollback to the previous OS-partition.

Question: is something like this also possible on one of the major linux distros? (debian, ubuntu, rocky, ...) What would be the procedure to do this kind of "dual partition" system-upgrade?

(*) a great video that explained some of the technical details in a very clear way, including some very interesting 'lessons learned' and "what if"s If you ever need to explain crowdstrike to your manager, this video is a good start.

[–] lproven@social.vivaldi.net 1 points 5 months ago* (last edited 5 months ago) (5 children)

@kristoff @purplemonkeymad Try openSUSE (RPM family), Garuda Linux (Arch family), or Spiral Linux (Debian stable) or siduction (Debian testing). All have snapper and on Btrfs do snapshots and rollback.

http://snapper.io/

[–] lproven@social.vivaldi.net 0 points 5 months ago (1 children)

@kristoff @purplemonkeymad But watch out: you will need a *huge* root partition, because it's very easy to fill it with snapshots and if it reaches 100% it *will* corrupt.

Btrfs is tricksy: it won't give a straight answer to df -h and there is no working equivalent of fsck.

[–] lproven@social.vivaldi.net 0 points 5 months ago (1 children)

@kristoff @purplemonkeymad All of these are in-place same-disk snapshots. The ChomeOS system is simpler and so can be automated but you only get 1 level of undo.

I don't know any mainstream OS that does dual-failover. Deepin Linux has 2 root partitions but I don't know how it uses them.

I think Valve SteamOS does something like this. It's not just for games: it has KDE built in. There are guides to getting it running on your own hardware. You will want AMD graphics, though.

[–] kristoff@infosec.pub 1 points 5 months ago* (last edited 5 months ago) (1 children)

As I mentioned earlier, I guess chrome is more like android where you have a much more strict seperation between the OS, applications and user data. (I remember reading about all the different partitions on android and what they are used for, but I should bruch up my knowledge on this).

Thanks for the additional into on brtfs! 👍

[–] lproven@social.vivaldi.net 0 points 5 months ago (1 children)

@kristoff Not really... On ChromeOS, there are no apps.

[–] kristoff@infosec.pub 1 points 5 months ago

No apps at all ???

So it really is like a dumb terminal. Now I know why I never used a Chromebook😀

load more comments (3 replies)
load more comments (10 replies)
load more comments (11 replies)