by p1mrx · 7y ago · 0 comments
Chromebooks reach "end of life" after a few (edit: ≤ 6.5) years, effectively becoming software-defined garbage: https://support.google.com/chrome/a/answer/6220366
You can install Linux on some Chromebooks, but it's often a lot of work to disable the "press Space to erase your operating system" prompt. It would be better if all EoL Chromebooks received an update to disable secure boot, because secure boot stops being secure when it boots you to an unpatchable OS.
That's not what this article is about.
Yes, you can put the Chromebook in dev mode, disable secure boot and deal with that prompt.
But today you can install Debian or Ubuntu or other distros in a container without enabling dev mode, and without disabling secure boot.
Containers were only available on selected Chromebooks until now, and they'll be enabled on all new devices from here on.
You can easily share files between Linux containers and the ChromeOS filesystem, with USB and SD cards, and with Google Drive. There's one-click backup and restore of containers.
Linux apps like Firefox, LibreOffice, Gimp and VS Code are fully integrated into the ChromeOS window manager side by side with ChromeOS apps and Android apps.
All we need that is currently missing is for end-users to be able (by law) to sign their own boatloaders, by entering their own public key into the most minimal inspectable ring infimum bootloader...
Otherwise it's just a long and slow road towards either fab at home, or alternatively blind computation on the host, and encrypted communication with a minimal IO system attached to the host...
This is far far from the title's promise of being a "Linux laptop"... you might as well also claim all Windows PCs are now Linux PCs because of WSL.
I know I'm not alone when I expect a computer that claims to support Linux to mean running it on the hardware, without a hypervisor, outside of a container or any other kind of virtualization.
A few weeks ago I tried to run Debian and Ubuntu on an older Chromebook with Crouton (also a container solution).
Systemd failed booting, because the last published Chromebook kernel for that device had an incorrectly applied backport of some patch, which made nonexistent system calls return garbage data instead of erroring out.
You can read the details here:
https://github.com/systemd/systemd/issues/11974
https://github.com/dnschneid/crouton/issues/3914#issuecommen...
This kind of stuff took me many tens of hours to debug, and I am relatively experienced with tasks like that.
If you want to have an easy time with Linux, better run the kernel provided with the OS. Containers don't do that.
It's misleading to people who haven't been in the ChromeOs ecosystem before to compare your Crouton setup to Termina. Crouton is not an officially supported Linux on Chromebook solution and requires you to turn on developer mode on the Chromebook which warns you that you are in unsupported land and things may not go as planned.
If you know how Debian works, the new solution Google has for Linux on Chromebooks should work fine for most people. There's only a few gotchas at all anymore. Snaps even work if you know what you're doing.
The Apple policy also only explicitly applies to hardware (repair parts), although software often falls not far behind (maybe supported for a year or two longer)
This kind of forced phasing out of devices is really unfortunate.
(I used the same MacBook, replaced the battery a couple of months ago, and have no plans to replace it anytime soon.)
It is essentially a Hackintosh, albeit a legal one, as the hardware is Apple hardware.
I do dev work on it, though it is ruby and/or javascript, not a lot of true compiling happening. But it works well.
I'd love it to be officially supported, but I mean you have to draw the line somewhere.
Edit: I forgot to mention the SSD I put in it, or the RAM I maxed out. (I did the upgrade work, I was not about to pay the premium for Apple to do it.)
Where did you purchase the battery from, and how is the performance, if you do not mind me asking?
I also use a mid 2009 Core 2 duo, but lately I have struggled to find a source for a battery that will last more that 1.5 hours in typical usage. I assume the issue is that any authentic Apple battery must have been manufactured so long ago that its capacity is severely degraded after having been stored (at non-ideal temperature) for so long, and it seems like even many third party batteries available are old and had inferior capacity to begin with.
If you’re talking about what I think you’re talking about, this is a feature and you can turn it off by disabling “Recent Apps” in System Preferences.
Edit: added link
Also, you are still within your 7 years :)
It wasn't until the last ~6 months that I noticed a drop-off in battery performance. Not sure if it was from streaming football/hockey games or my tendency to throw it into sleep mode thinking "I'll have time later tonight" while keeping my server/db/container processes still running.
https://www.cultofmac.com/162823/linux-creator-linus-torvald...
Apple doesn't always make things easy, but they do have a highly-uniform component set, which can simplify configuration so long as all elements are supported, and senior Linux devs running kit is an incentive to solve hardware issues.
I'm not implying either that all devices are supported (I don't know which are/aren't, though I've had success on Apple kit myself), or that Linus still uses an Apple laptop (he seems to have moved on). But some well-established Linux users have turned to those devices and ben satisfied.
I’ve installed OpenBSD on a 2007 MbPro and works like a charm. (I put an ssd like 8 years ago though).
Unfortunately, my Mac Pro 5,1 refuses to die!
Glass half-full I guess.
So, every move made by MS and Google on their popular, mainstream platforms is a step in the right direction. Neither is a full glass yet, but if these moves prove popular, both companies might decide to take even bolder steps toward desktop Linux.
6.5 years is not what would usually be described as "a few years."
As someone who still has functional PC hardware from the 90's, calling 6.5 "a few years" sounds about right...
And you still can, you just won't be getting updates. Just like Apple IIs and C64s from decades ago don't get any updates.
It's not like 6.5 years after release it just immediately refuses to power on anymore, it still works
Chromebooks are designed to preserve data. The hardware is presumed vulnerable to failure.
https://www.youtube.com/watch?v=ar9WRwCiSr0
Old hardware can often be repaired. If you told a C64 user back in the day his machine would break in two years, he or she wouldn't shell out the $$ on it, but today people buy $400~$800 cellphones that turn into garbage.
Is 6.5 a magic perfect number? No, I'd like to see more like 10 years honestly (which matches what Microsoft supports with Windows). But let's at least use the actual numbers and not easily confused vague terms like "few"
I still use a lenovo t420 that is almost 8 years old. I bought it with the fastest processor available back then, and it is still plenty useful as a Debian desktop.
For me I won't mess with a Chromebook until they've consolidated Android and ChromeOS into a single platform (likely Fuchsia). Until then I don't expect any real support for edge cases to be adequately addressed. It will always "kind of but not really work" because Google's already working to replace it with something different.
It might make sense to have a the ability to enter a UEFI key that would disable the dangerous “press to erase” prompt, but I don’t think it would ever make sense to make such a modified machine boot completely silently and “out-of-the-box like” (unless you don’t believe they should have secure boot as a design goal in the first place.)
Probably the most burning in a UEFI key would do is change the “this is a dev-mode laptop” warning to a “this is a customized deployment; if you were expecting a device direct from Google, you are being attacked!” warning.
This looks like a job for QR codes!
This will make me rethink chromebook purchases in the future. I feel sorry for the people who bought into pixel.