News for hackers. Stuff that matters.
Re:Install Ubuntu On Your Chromebook by avian on Sunday August 25, 2013 @06:51AM (#6271629)
All of these "install ... on Chromebook" articles fail to mention that on recent Chromebooks without a physical developer mode switch (Samsung's ARM-based one, Pixel) you have to press a specific hidden keyboard combination and endure the big scary "developer mode" warning on each boot. In my view that makes it practically useless for day-to-day use as a general purpose laptop.

You can flash the first stage bootloader to remove that warning, but that is not documented well (if you can call several contradictory forum threads documentation), involves taking the laptop apart and gives you exactly one try: it either works or bricks the device permanently.

In addition to that, at least Samsung's Chromebooks are not very well designed and can be seriously damaged from userspace when running a general-purpose distribution (Google for burning speakers on ARM Chromebook for instance)

Re:Install Ubuntu On Your Chromebook by rwmj on Sunday August 25, 2013 @06:58AM (#6271649)
Agree with all your points. On the other hand, these are cheap, widely available A15 devices with a reasonable amount of RAM, and that has a certain appeal for people who need ARM-based developer machines (we used them for porting Fedora, KVM, libvirt, libguestfs and the virt tools to ARM).

Also I used one for 2+ weeks exclusively (running Fedora 18) and it wasn't that bad:

http://rwmj.wordpress.com/2013/01/16/some-thoughts-after-2-5...

Re:Install Ubuntu On Your Chromebook by broodbucket on Sunday August 25, 2013 @09:06AM (#6271927)
On regular laptops, you open the lid and press the "On" button.

On my Chromebook, it boots as soon as you open the lid, and so I press Ctrl-D instead of the "On" button. I thought it'd be a pain, but it doesn't bother me at all, and you say that makes it "practically useless"?

Re:Install Ubuntu On Your Chromebook by DHowett on Sunday August 25, 2013 @02:14PM (#6272984)
The problem is that it's not just ^D on every boot, it's "press space twice in a thirty-second window and it will unceremoniously wipe all your data without a timeout." This will happen the moment you hand your computer to somebody of the sort who clicks through dialogs they don't ubderdtand, as the computer shuts off when it's slept for long enough.

(The infuriating bit is how difficult it is to enter developer mode: two very secret keypresses and a thirty-second "please reconsider" grace period.)

Re:Install Ubuntu On Your Chromebook by tuananh on Sunday August 25, 2013 @10:12AM (#6272043)
He exaggerated to make a point but Ctrl D every single time you boot is kinda annoying.
Re:Install Ubuntu On Your Chromebook by jonknee on Sunday August 25, 2013 @12:47PM (#6272605)
One more finger annoying than the power button which is what you would do on any other laptop. There is not a desktop Linux user alive who has not put up with more annoying things than hitting two keys to boot.
Re:Install Ubuntu On Your Chromebook by avian on Sunday August 25, 2013 @01:02PM (#6272676)
Incidentally, I'm a desktop Linux user for more than 10 years. I don't mind having to do annoying things once or twice to set things up.

I do mind having to do them each and every time I pick up the computer, especially when I have bought it believing that I won't have to.

Re:Install Ubuntu On Your Chromebook by jdn on Sunday August 25, 2013 @08:33AM (#6271845)
The developer mode warning only occurs on boot, as you say. Having owned by the ARM Chromebook and the Pixel since both were released, I've probably seen that warning less than 8 times since install. The Chromebooks very rarely need to be turned off, and the one time that does happen often, on update restarts, actually bypasses that warning.
Re:Install Ubuntu On Your Chromebook by avian on Sunday August 25, 2013 @08:46AM (#6271880)
It really depends what you want to do. If you just run a chroot inside the stock ChromeOS then what you say is true.

But if you're dual-booting to another Linux distribution or just replace ChromeOS altogether (that's another issue with the linked article: what it describes is not a dual-boot) you can't escape frequent reboots. Especially due to flaky suspend/sleep mode support in other distros.

Re:Install Ubuntu On Your Chromebook by jdn on Sunday August 25, 2013 @09:29AM (#6271962)
True, but the chroot is by far the most common and most stable method, and the one targetted in the article. Though as you say, the title is wrong.
Re:Install Ubuntu On Your Chromebook by bsimpson on Sunday August 25, 2013 @12:28PM (#6272547)
I am typing this on the Pixel that's been my main machine since I/O in May. Yeah, that screen is minorly annoying, but it goes away with one keystroke - not a dealbreaker.
Re:Install Ubuntu On Your Chromebook by jlgreco on Sunday August 25, 2013 @01:32PM (#6272788)
Can't say I'm bothered either. It might concern me if I were recommending a Pixel with regular Linux on it to a non-power user... but I wouldn't do that anyway.
Re:Install Ubuntu On Your Chromebook by timdiggerm on Sunday August 25, 2013 @03:37PM (#6273357)
>Btw, on Pixel you don’t have this physical switch. You can just use a keyboard combination: Press and hold the Esc and Refresh keys while you hit the Power button

Source: The article you're commenting on

Re:Install Ubuntu On Your Chromebook by jlgreco on Sunday August 25, 2013 @03:59PM (#6273434)
That's not quite what he is talking about. With the Pixel every single time you boot (not just when you initially put it into Developer Mode before installation) you are greeted with a nice big warning label about OS verification and you need to press Ctrl-L to kick it into SeaBIOS so that Grub can be kicked off.

It turns on and off as normal after installation, you just need to hit Ctrl-L mid-boot each time. I reboot infrequently enough that this hasn't annoyed me yet.

Re:Install Ubuntu On Your Chromebook by rwmj on Sunday August 25, 2013 @06:32AM (#6271601)
Lots of other distros work on the Chromebook (and have for longer). Here's for example Fedora 19 and Arch Linux instructions:

https://fedoraproject.org/wiki/Architectures/ARM/F19/Remixes... http://archlinuxarm.org/platforms/armv7/samsung/samsung-chro...

The next challenge is getting KVM working. The Chromebook has an A15 chip which has hardware assisted virtualization. Unfortunately the firmware disables HYP mode, but the Xen guys managed to workaround this in their bootloader so it should be possible for KVM too.

Another note about the Chromebook is it is not possible to boot it from an external hard drive. You have to boot it from USB flash although after boot you can of course use a real hard drive as the root filesystem.

Re:Install Ubuntu On Your Chromebook by pm215 on Sunday August 25, 2013 @08:42AM (#6271871)
No, the firmware doesn't disable Hyp mode; it just starts the kernel in Secure-SVC, rather than in Hyp mode. It's pretty trivial to get from Secure-SVC to Hyp in the bootloader before starting the kernel -- there are u-boot patches floating about which do it.

http://www.virtualopensystems.com/media/chromebook/chromeboo... is probably a good place to start if you want to tinker.

As far as I can tell the main issue with the Chromebook is that there's no one organization who's taking responsibility for making sure fixes and changes like this get upstream, so every distro/person ends up reinventing or locally maintaining patches.

Re:Install Ubuntu On Your Chromebook by jlgreco on Sunday August 25, 2013 @01:31PM (#6272778)
Yeah, I'm running Debian Wheezy on a Pixel and, besides building my own more current kernels, there is nothing special going on here.
Re:Install Ubuntu On Your Chromebook by rwmj on Sunday August 25, 2013 @02:01PM (#6272932)
However the Pixel has an Intel chip doesn't it?
Re:Install Ubuntu On Your Chromebook by jlgreco on Sunday August 25, 2013 @02:51PM (#6273183)
It does, though most people seem to suggest the same crouton stuff for it. I tried that for a weekend and think that advice is misguided.
Re:Install Ubuntu On Your Chromebook by dkuntz2 on Sunday August 25, 2013 @02:57PM (#6273204)
I wouldn't say "for longer". The original CR-48 had instructions for dual booting Ubuntu, and not Fedora or Arch (or any other distro)...
Re:Install Ubuntu On Your Chromebook by greenido on Sunday August 25, 2013 @08:06AM (#6271786)
Agree... It's on my list to check Fedora.
Re:Install Ubuntu On Your Chromebook by petroica on Sunday August 25, 2013 @10:07AM (#6272031)
Tried Crouton on my Acer C7 Chromebook a few months back, and it was buggy as hell. Switched to the Chrubuntu script, and it's been a dream. I'm surprised it's not mentioned at all.

http://chromeos-cr48.blogspot.com/2013/05/chrubuntu-one-scri...

Re:Install Ubuntu On Your Chromebook by 1945 on Sunday August 25, 2013 @05:52AM (#6271532)
Is it not possible without "virtualizing" Ubuntu on top of the host OS with crouton?
Re:Install Ubuntu On Your Chromebook by broodbucket on Sunday August 25, 2013 @06:17AM (#6271578)
Re:Install Ubuntu On Your Chromebook by _mc on Sunday August 25, 2013 @09:11AM (#6271930)
Running X on Y! Man, I am telling you no one is happy with what they have ;-)
Re:Install Ubuntu On Your Chromebook by rbanffy on Sunday August 25, 2013 @10:28AM (#6272097)
Could be worse - you can't to that on a Surface RT.
Re:Install Ubuntu On Your Chromebook by sethammons on Sunday August 25, 2013 @11:45PM (#6275081)
Finally was motivated to try this out. Totally happy. Honestly, all I really wanted was python and a nice shell, but having a full OS is great.
Re:Install Ubuntu On Your Chromebook by yuhong on Sunday August 25, 2013 @04:46AM (#6271397)
Personally, I wish for an ARM notebook market to come out of the Chromebook, with different configurations for Chrome OS and Ubuntu etc.
Re:Install Ubuntu On Your Chromebook by 6ren on Sunday August 25, 2013 @05:43AM (#6271505)
I keep being surprised that there is no real ARM netbook (samsung's chromebook and asus transformer come closest).

I think the reason is because ARM is significantly less performant than x86. You don't notice it on a phone/tablet, because the stack is optimised (it has to be!) the special-purpose OS, lots of stuff in silicon (esp video), games and (mobile) webpages are written for the platform. But for general computation - e.g. compiling - it's much slower.

ARM has optimised power consumption for decades; x86 has optimised performance for decades, so I shouldn't be surprised.

PS: doesn't ubuntu have an ARM laptop in the works? (along the lines of their EDGE phone)?

Re:Install Ubuntu On Your Chromebook by ZanyProgrammer on Sunday August 25, 2013 @10:00AM (#6272013)
How about the Surface RT? Even comes with file manager and two command lines.
Re:Install Ubuntu On Your Chromebook by rbanffy on Sunday August 25, 2013 @10:29AM (#6272105)
There's a pool of sarcasm under your post
Re:Install Ubuntu On Your Chromebook by rwmj on Sunday August 25, 2013 @12:19PM (#6272515)
Presumably MSFT will be having a firesale now they've realized that Windows RT was a bad idea. All we need is someone to work out how to root them, and then cheap A9-based quad-core laptops for running Linux.
Re:Install Ubuntu On Your Chromebook by rbanffy on Sunday August 25, 2013 @01:39PM (#6272827)
The hardware seems quite good.
Re:Install Ubuntu On Your Chromebook by Nursie on Sunday August 25, 2013 @06:05PM (#6273925)
Have had Ubuntu on my ARM chromebook since late last year. Only issue so far is that the version of Slim dm that is available for it from the 12.04 repos is b0rked and doesn't speak to consolekit properly, resulting in all sorts of hard to diagnose fun with reboot and other permissions.
Re:Install Ubuntu On Your Chromebook by sbuccini on Sunday August 25, 2013 @09:46AM (#6271992)
I just did this last night on my Samsung Chromebook. One problem I immediately ran into was the difficulty of getting programs to run in Ubuntu because of my ARM processor. Any suggestions?
Re:Install Ubuntu On Your Chromebook by Nursie on Sunday August 25, 2013 @06:58PM (#6274114)
What programs?

If you're trying x86/wine then forget it. But the usual suspects are available from the ubuntu repos just fine.

Re:Install Ubuntu On Your Chromebook by sbuccini on Tuesday August 27, 2013 @05:37AM (#6282417)
Ah, okay. I'm wondering if I should ditch this one and pick up an Intel-based Chromebook instead.

I actually just need a cheap solution to program in this year, and I'd love to step away from Windows and start using Linux (since OS X is outside of my price point). Any suggestions?

Re:Install Ubuntu On Your Chromebook by Nursie on Wednesday August 28, 2013 @05:42PM (#6292898)
Far as I'm concerned you can do pretty much anything FOSS, so it's a perfectly good platform for linux development.
Re:Install Ubuntu On Your Chromebook by kyberias on Sunday August 25, 2013 @05:18PM (#6273771)
Build them.
Re:Install Ubuntu On Your Chromebook by srik on Sunday August 25, 2013 @01:08PM (#6272697)
Things seem better now. I remember bricking the original beta google chromebook that google gave out for testing because of following murky instructions.
Re:Install Ubuntu On Your Chromebook by caiob on Sunday August 25, 2013 @02:24PM (#6273030)
This makes me wonder, despite pricing, what are the reasons to buy a chromebook instead of any other laptop on the market?
Re:Install Ubuntu On Your Chromebook by Nursie on Sunday August 25, 2013 @07:01PM (#6274127)
Me, I have a long running ARM fetish ever since debian-ising my NSLU2 back in the day. Also for some sick reason I like to repurpose stuff.

All that said - it turns out ChromeOS with developer access enabled (so I can get a proper shell and a normal ssh client) covers about 80% of my needs in a client machine.

Re:Install Ubuntu On Your Chromebook by msoad on Sunday August 25, 2013 @05:32AM (#6271475)
Does this work for ARM ChromeBooks too?
Re:Install Ubuntu On Your Chromebook by jdn on Sunday August 25, 2013 @05:51AM (#6271526)
Yep, Crouton was originally made for the ARM Chromebook from what I understand.
Re:Install Ubuntu On Your Chromebook by greenido on Sunday August 25, 2013 @08:07AM (#6271789)
True. We did it on pixel as well.
Re:Install Ubuntu On Your Chromebook by jdn on Sunday August 25, 2013 @08:34AM (#6271851)
Yes you did! Posted from a Crouton'd Chromebook Pixel.
Re:Install Ubuntu On Your Chromebook by k_bx on Sunday August 25, 2013 @05:12AM (#6271440)
Is there a way to press a "super" button on chromebooks?
Re:Install Ubuntu On Your Chromebook by broodbucket on Sunday August 25, 2013 @06:14AM (#6271572)
It's the former "Caps Lock" key