News for hackers. Stuff that matters.
Re:All Chromebooks will also be Linux laptops going forward by panarky on Thursday May 09, 2019 @02:32PM (#19870855)
> it's often a lot of work to disable the "press Space to erase your operating system" prompt

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.

Re:All Chromebooks will also be Linux laptops going forward by hundchenkatze on Thursday May 09, 2019 @03:10PM (#19871244)
I think that's what p1mrx is saying as well. You can install Debian and Ubuntu in the containers, reaping the benefits of secure boot. However, after 6.5 years the devices are EOLd and stop receiving updates making secure boot useless since you're securely booting into out of date software. p1mrx wants secure boot to be disabled once the device is EOL so that they can install a distro without dealing with dev mode.
Re:All Chromebooks will also be Linux laptops going forward by DoctorOetker on Thursday May 09, 2019 @03:45PM (#19871598)
I agree, the real problem is after (and in my opinion ethically also before) EOL, we can't sign new distro's and bootloaders...

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...

Re:All Chromebooks will also be Linux laptops going forward by JDW1023 on Friday May 10, 2019 @11:00AM (#19878408)
I really agree on the user signed bootloader part. I think we should also have this for Android devices, since most Android devices only have two years of system/security update.
Re:All Chromebooks will also be Linux laptops going forward by acqq on Thursday May 09, 2019 @03:51PM (#19871661)
One should always be able to sign one's bootloader. If it's only 6.5 years later it can be that not even Linux support for that hardware would exist then?
Re:All Chromebooks will also be Linux laptops going forward by yellowapple on Thursday May 09, 2019 @10:33PM (#19874574)
> If it's only 6.5 years later it can be that not even Linux support for that hardware would exist then?

On the contrary; Linux continues to have pretty darn good support for hardware that's 10 or even 15 years old.

Re:All Chromebooks will also be Linux laptops going forward by acqq on Friday May 10, 2019 @02:20AM (#19875495)
On the contrary, I have direct experience with more notebooks that disproves your claim.

Linux support for the hardware of the notebooks was never as good as Windows. Experienced users, to be sure that they won't have problem with hardware, tend to buy either Thinkpad or Dell notebooks. Everything else is a lottery. From three non-Dell, non-Thinkpad notebooks that I've bought since 2000 only one had enough hardware support to be even usable for more than five years.

Moreover, the first one, an AMD-based Sony (also not cheap) worked better under Linux under the versions which were less than 5 years old than the model's introduction. Only since that point the problems with the drawing on the screen became so bad that it was not usable at all for anything but being used headless. I was installing every new Ubuntu version every 6 months there, and the hardware support for the video card came to be progressively worse. I've reported the bug behavior but was never contacted to help the investigation, the bug was closed unsolved eventually.

Recently, only two months ago, my Dell notebook, 2 years old, after an update stopped working with an external monitor under kernel packed in the 18.04 LTS Ubuntu (where everything worked for a year before that). It took only days to fix that, but the bug was wide spread enough to strike most users of external monitors.

So no, Linux won't magically work on a machine which is not continuously directly tested by enough developers. It will also even less work after 6.5 years of machine's introduction, again, unless there was a constant work to keep it working. Linux is not a magic pixie dust, but a product by humans that also needs active contributions to even keep working with the old hardware.

Re:All Chromebooks will also be Linux laptops going forward by yellowapple on Friday May 10, 2019 @02:54AM (#19875651)
> On the contrary, I have direct experience with more notebooks that disproves your claim.

On the contrary, I also have direct experience with notebooks across a wide variety of makes, models, and eras (though most were from the Windows XP era, since a lot of my Linux installs were from migrating folks off XP).

> Experienced users, to be sure that you won't have problem with hardware, tend to buy either Thinkpad or Dell notebooks.

Well yeah. That tends to hold true regardless of operating system. The laptops that still manage to be terrible on Linux (which in my experience is constantly shrinking, even - and especially - for old ones) - were typically worse under Windows.

> So no, Linux won't magically work on a machine which is not continuously directly tested by enough developers.

Of course not. My point is that once it is working, it's typically unlikely that it'll regress all that much unless there's an explicit push to deprecate old hardware. The old laptops ain't popular now, but that doesn't mean they weren't popular enough 10 years ago (or similar enough internals-wise to popular notebooks from 10 years ago) to end up getting enough attention by Linux driver devs to still be usable to this day. Maybe someday bitrot will set in, but my experience with Linux support on old laptops suggests that to be relatively rare.

Re:All Chromebooks will also be Linux laptops going forward by acqq on Friday May 10, 2019 @03:27AM (#19875805)
> The laptops that still manage to be terrible on Linux (which in my experience is constantly shrinking, even - and especially - for old ones) - were typically worse under Windows.

I gave already a direct counterexample, a Sony notebook. No problems under Windows for 10 years, unusable after 4-5 under newer Linux versions.

The example I haven't given: the Samsung notebook where touchpad never worked properly under Linux. The only response from community was "use an external mouse." Also the WIFi card on that Samsung never worked under Linux. Again the answer as "switch WiFi card or use an external one."

> once it is working, it's typically unlikely that it'll regress all that much unless there's an explicit push to deprecate old hardware.

For that I have 2 examples: Sony notebook graphic drivers regressed to make the notebook unusable. The Dell notebook regeressed with the LTS, it was fixed only because the bug stroke too much notebooks at once.

But hardware support does break in Linux unless enough of effort is made.

And some issues are totally broad. Last year I've bought a box with the APU which can't play videos under Linux without stuttering. No problem under Windows.

Nobody who claims that "Linux always works" seems to have an actual experience with notebooks which aren't intentionally pre-selected as "known to work." I don't know why would such claim be even controversial, it's widely known.

https://www.cyberciti.biz/tips/linux-laptop.html

"Wireless 802.11

Another hardware device may not work at all; if you do not pay attention to wireless devices. Most laptops comes with on-board 802.11 (a/b/g/N) wireless cards. Not all card supported so make sure you get Intel Pro series card such as 3945 or Atheros based cards. My advice is use Google to search for your driver or use specialized databases (a more or less complete listing of wireless devices with information about the chipset they are based on and whether or not they are supported in Linux) to search for your laptop card."

https://wiki.archlinux.org/index.php/Touchpad_Synaptics#Touc...

Not to mention the graphics problems even on the Dells:

https://www.reddit.com/r/archlinux/comments/8lbf4o/arch_gnom...

https://askubuntu.com/questions/1105528/ubuntu-18-04-video-s...

Re:All Chromebooks will also be Linux laptops going forward by sevensor on Friday May 10, 2019 @10:15AM (#19877884)
Who exactly are you arguing against here, who says that Linux always works? Your Samsung example is instructive here. One-off hardware that was never intended to run under Linux, never did and still doesn't. While you have had some frustrating experiences, the broad consensus, and my own experience, say that Linux tends to extend the useful life of older hardware.

For instance, I have a cheap asus notebook from the Windows 8 era. Windows 8 is EOL, so I upgraded it to Windows 10. Windows 10 takes literally half an hour to boot in the best case, which is after spending a whole day in the update-reboot loop, making sure the system is fully updated. (I do this every quarter or so.) So I dual boot Arch. Arch boots in 30 seconds.

And that's not to mention the stack of Thinkpads going back to 2002, all of which still work flawlessly. (But of course they work, because if Linux ever had a target laptop platform, it was 2000s era Thinkpads.)

Re:All Chromebooks will also be Linux laptops going forward by acqq on Friday May 10, 2019 @03:34PM (#19881453)
> who says that Linux always works?

The whole context of this thread is me responding to the answers to my initial claim (still hard to read, so let me repeat):

> One should always be able to sign one's bootloader. If it's only 6.5 years later it can be that not even Linux support for that hardware would exist then?

And your response finally, the way I see it, confirms exactly that: if you have some notebook for which Linux can't be normally developed and maintained, after 6.5 years the Linux won't "magically work." Which is what I claimed from the start. Full 6.5 years after the introduction, it can remain a non-target. Not as a notebook, but as a set of hardware parts which aren't openly supported. Like all non-Dells and non-Thinkpads for years were, as you also confirm. Being able to install VMs before 6.5 years are over is also not enough.

Re:All Chromebooks will also be Linux laptops going forward by tomxor on Thursday May 09, 2019 @08:40PM (#19873993)
> today you can install Debian or Ubuntu or other distros in a container

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.

Re:All Chromebooks will also be Linux laptops going forward by skybrian on Friday May 10, 2019 @12:53AM (#19875145)
Okay, but how does a laptop user benefit from that? What do you get over running Linux in a container?
Re:All Chromebooks will also be Linux laptops going forward by tomxor on Friday May 10, 2019 @09:25AM (#19877449)
Better resource utilisation, control, freedom, not requiring google's permission to do anything. When you are inside a container you are still under the control of another OS... the lack of a bunch of other practical limitations of running inside a container that I'm not familiar with because I don't run my frickin desktop inside a container! why would I do that, it's an unnecessary limitation and increases complexity - maybe some people do if they benefit from containers for a very specific use case, but this does not make it a "Linux Laptop" first and foremost.
Re:All Chromebooks will also be Linux laptops going forward by nh2 on Thursday May 09, 2019 @06:07PM (#19872924)
The container stuff can be very buggy.

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.

Re:All Chromebooks will also be Linux laptops going forward by samuraiseoul on Friday May 10, 2019 @12:07AM (#19874973)
They're talking about Termina and the Google provided Linux solution.

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.