/r/Crouton

Photograph via snooOG

/r/crouton is a subreddit dedicated to dnschneid's crouton.

** Now in MAINTENANCE-ONLY. **

A subreddit dedicated to dnschneid's crouton.

crouton stands for ChRomium Os Universal chrooT envirONment

Post your crouton related questions/answers, problems/solutions, or anything else relevant to crouton/ChromeOS here!


Useful Links

README.md

Crouton Commands

Common issues and guidelines for reporting them

Crouton Issues (Try searching here for previous ones or make a new issue. If you are making a new issue, follow the guidelines in the above link)


Some beginner friendly guides

Complete Crouton Installation Guide

Install Ubuntu on Your Chromebook

Manage the Crouton on Your Chromebook

/r/Crouton

5,991 Subscribers

1

Failed to run debootstrap error when attempting install on old chromebook

Beginner here, currently I'm trying to install Crouton on an old Chromebook with Chrome OS v84 and an ARM CPU. However when following the "easy setup" instructions on the github I run into a "failed to run debootstrap" error when running sudo crouton -t xfce. Is there any fix for this? I've tried searching but haven't really found any fix that works.

The error in question is as follows:

WARNING: USB booting is enabled; consider disabling it.
WARNING: Signed boot verification is disabled; consider enabling it.
You can use the following command: sudo crossystem dev_boot_usb=0 dev_boot_signed_only=1
Installing xenial-armhf chroot to /usr/local/chroots/xenial
Downloading bootstrap files...
debootstrap error log:
[.[] | select((.extendedSupport // .support) > (now | strftime("%Y-%m-%d")) and (.codename | test($suite; "i")))] | isempty(.[]) | not                                                error: strftime is not defined
[.[] | select((.extendedSupport // .support) > (now | strftime("%Y-%m-%d")) and (.codename | test($suite; "i")))] | isempty(.[]) | not                                                      error: test is not defined
[.[] | select((.extendedSupport // .support) > (now | strftime("%Y-%m-%d")) and (.codename | test($suite; "i")))] | isempty(.[]) | not                                                                                             4 compile errors
Failed to run debootstrap.
1 Comment
2025/01/26
00:08 UTC

2

I'm using XE303C12 and I can't do anything

basically I installed crouton and it works normally, but I can't get xfce to work at all, just like anything else.

I downloaded coutron and when running "sudo crouton -t xfce" a debootstrap error appears...

This is the second problem I have, if you can help me!


and that's because I removed it from the machine, before the error that appeared was that xfce already existed, but whenever I used "start xfce4" a response appeared that xfce4 was not a correct command.

2 Comments
2025/01/22
04:11 UTC

2

I need help with crouton

So look there were 3 errors, a permission denied a unable to register core dump handler, and a cannot create directory.

__________________________________________________________________________________________________________

Command: sudo CROUTON_BRANCH=silence crouton -r focal -t xfce -u

Output: /tmp/crouton-installer-cache/crouton-silence.ZT9/host-bin/crash_reporter_wrapper: /var/run/crw/crw: /bin/sh: bad interpreter: Permission denied
/tmp/crouton-installer-cache/crouton-silence.ZT9/host-bin/crash_reporter_wrapper: line 119: /var/run/crw/crw: Success
WARNING: Unable to register core dump handler.
cp: cannot create directory '/var/run/crouton/mnt/stateful_partition/crouton/chroots/focal/var/run/drm': Permission denied
Unmounting /mnt/stateful_partition/crouton/chroots/focal...

__________________________________________________________________________________________________________

So what is my issue? Well there was a, Permission Denied a unable to register core dump handler, and a cannot create directory

My Specs. Well my puter is according to the chrome recorvery utility extension is Chromebook 14-ca1 / Chromebook 14-ca0.
Also cause my computer is old I needed to move to the extended update channel so might be importent

How to dupe this issue.
After making crouton executable I copyed and pasted this command from the comunity maintained guidelines (cause I suck at Linux)
sudo CROUTON_BRANCH=silence crouton -r focal -t xfce -u

and the output is what happened next.\

Copy and pasted from https://github.com/dnschneid/crouton/issues/5129, I waited two days for a responce so I figured I could try here

4 Comments
2024/12/30
01:43 UTC

5

Newly discovered info about crouton

Recently, I purchased an ARM-based Chromebook: it's an Asus Chromebook CM14 with 4GB RAM and 64GB HD. I was shocked and amazed when I could actually install crouton!

You still have to work around the issue of no sudo in the cross shell, but it's not a big deal. I'm running LXDE from the Focal release, and it's beautiful.

So, bottom line, if you have an ARM-based Chromebook, give it a try. If it's AMD, you're out of luck, unless you can revert to an earlier release of ChromeOS.

4 Comments
2024/12/06
01:18 UTC

3

Crouton is not only dead, it's broken and cannot be installed on updated Chromebooks. Also, if you try to install crouton, it will corrupt your Chromebook.

Even attempting to install crouton is not recommended: it will mess up your sleep settings, and the brightness keys will quit working. Fixing your Chromebook will require a powerwash.

In verified mode, an external program cannot gain access to your Chromebook. But in developer mode, all bets are off.

Crouton has not been updated to address the current situation. In fact, there may be no way to do so. The author of crouton has moved on, and no longer has the time or energy to fix it, assuming that is even possible.

Either dual boot or use Crostini. Good luck.

14 Comments
2024/10/16
17:28 UTC

16

Crouton is dead

For current releases of ChromeOS, crouton cannot be installed. It has been broken for me since 126.0.6478.252. There appears to be no fix for this. I suggest you move to Crostini or dual boot.

22 Comments
2024/10/08
13:54 UTC

1

Only 4kb file downloaded?

I have been trying to download Crouton to set up Ubuntu on my Chromebook. Each time I download Crouton from Github or Google link they have on github - only 4kb crouton file is downloaded. Nothing else happens.

2 Comments
2024/09/19
13:42 UTC

1

need help to put crouton on chromebook (im a newbie in this so pls ;-;)

i tried to put crouton on my chromebook with this help : https://github.com/dnschneid/crouton

and they is a error :

https://preview.redd.it/p7ulccicdkpd1.jpg?width=4032&format=pjpg&auto=webp&s=ced50361ca627f514580fb143127299f14099b20

i don't understand why, if anyone can provide help pls, i tried a lot of things nothing work

5 Comments
2024/09/18
12:46 UTC

1

install: cannot stat '/home/chronos/user/Downloads/crouton': No such file or directory

i keep on getting this error when trying to install crouton

1 Comment
2024/09/04
20:33 UTC

3

Crouton - late to the party, have some questions

I have an old ARM based Acert All-in-one Chromebase that's way past EOL. It was a kitchen computer for recipes and family organization, but its been relatively useless given the EOL.

My plan was to do the Mr.Chromebox thing, but alas the processor is ARM based so I can't go down that path.

I did get it into developer mode and installed Crouton and Ubuntu Focal (20.04) and I can start xfce (not gnome) and its basically functional now. Yay!

There are a few "nice to haves" that I'd like to implement. Using chroot seems to mean there is no systemd so there's no apparent way to use systemctl. I can use the older service command, but I can't seem to figure out how to either add my userid to the sudoers file (that it recognizes my id as root) and it doesnt seem to run /etc/rc.local on startup (or login). To get audio to work and rdp to be active, I need to run he pulseaudio server and xrdp to be functional.

I'd love to be able to either turn it on and have it enter the chroot and startxfce, or minimize as much typing as possible. It's not the end of the world if I have to enter these commands upon every startup, but I like to make it easier if it needs to reboot for my family and I'm not around.

0 Comments
2024/09/01
17:33 UTC

1

Is there any way to run Crouton on a 2021 Flex 5i Chromebook?

I've been trying to set up Crouton on my Chromebook, but I've hit a roadblock, the inability to run sudo commands in the crosh terminal. Is there a viable solution to get Crouton working on my Chromebook? If you could let me know in the comments, that would make my day. :-)

0 Comments
2024/08/31
16:27 UTC

1

Wrong foo@localhost's password

Hi guys, I'm trying to set up crouton on my pixelbook. Setup goes fine until I need to ssh foo@localhost in the terminal.

"foo@localhost's password:

Permission denied, please try again."

I would need to enter a password however nothing that i put in works. Password that I used setting up crouton, nor the chromeos password or PIN. Feel like I'm missing something but can't figure out what I'm doing wrong.

Can anyone help me?

2 Comments
2024/08/29
13:18 UTC

1

How to integrate Linux applications directly into Chrome OS using Brioche and Crouton Integration?

Hi everyone,

I have installed Chrome OS using Brunch on my device and opted to use Brioche as an alternative to Crouton for running Linux applications. I also discovered the Crouton Integration extension from the Chrome Web Store and want to use it to integrate Linux applications so they appear and are accessible directly from Chrome OS.

Here are my questions:

  1. Configuring Brioche: How can I configure Brioche to run Linux applications on Chrome OS? Are there any special settings I need to apply?
  2. Integrating Crouton Integration: How can I use the Crouton Integration extension to make Linux applications appear and be accessible directly in Chrome OS?
  3. Launching Applications: Once I have set up Brioche and Crouton Integration, how can I launch Linux applications so that they are visible and easily accessible in Chrome OS?
  4. Common Issues: What common problems might arise during this process, and how can I resolve them?
  5. Resources and Guides: Are there any additional resources, tutorials, or guides that could be helpful for integrating Linux applications into Chrome OS?

I would appreciate any help or advice you can offer to achieve this integration!

Thank you!

1 Comment
2024/08/26
18:01 UTC

3

Unable to run Crouton. What do I do?

9 Comments
2024/08/20
01:32 UTC

2

Stadia controller in Crouton?

I run steam through crouton on my old toshiba chromebook from 2016 (CB35). Is there a way to get my stadia controller working in crouton chroot? (or any other controller work?)

0 Comments
2024/07/24
19:23 UTC

7

Installing Ubuntu

I wanna install Ubuntu on my Chromebook, it's a HP 14a-na0170nd, I have tried numerous ways, but they all don't work, does anyone have a working method? I have enabled developer mode, but Crouton won't install, please help.

1 Comment
2024/07/11
15:58 UTC

1

Can’t launch crouton, how do I fix this?

8 Comments
2024/07/09
20:08 UTC

8

crouton has not been abandoned

Some people are going around saying that crouton has been discontinued. This is incorrect. David Schneider is still maintaining it, and recently updated the releases list and several of the bootstrap repositories which are used to install the chroots.

He has also posted a new link in the instructions, called Community Supported Instructions. In a nutshell, if you have a newer Chromebook, you have to install crouton in VT-2 because sudo commands are no longer allowed in the crosh shell.

Within your chroot, you need to install an ssh server, and then start it running.

Lastly, you flip over to the crosh shell and enter your chroot by ssh into localhost. From there, you start your desktop. It sounds convoluted, but it's really easy once you get the hang of it.

All the above is provided in the link I posted above.

12 Comments
2024/07/01
19:20 UTC

8

RIP Crouton (for me, at least)

After 3 years of happily using Ubuntu through crouton on my HP 14c chromebook, I've decided that all of the extensive coding and steps I have to go through every time I restart my chromebook is just making crouton not worth it anymore. So I said goodbye to my cinnamon desktop and replaced it with crostini. Although I'm missing the linux desktop and it's not a 100% perfect integration with Chrome OS (watching videos still causes my screen to time out after 10 minutes, for example), overall I'm pretty satisfied with crostini. I'm a little sad because I really loved crouton but it just has so many holes in the code now and the workarounds were just getting to be too inconvenient for me.

To all my fellow crouton lovers, keep up the good fight against CROS updates, but I'm tapping out.

14 Comments
2024/06/18
17:41 UTC

3

Which options should i use and how to use all?

13 Comments
2024/06/16
21:28 UTC

1

no new privleges and exec

I am trying to run crouton through the basic command

sudo install -Dt /usr/local/bin -m 755 ~/Downloads/crouton

it didnt work because of the no new privleges flag so i removed the sudo part. it seem to partially work but now i experience the problem of it being a non exec file and i need it to be an exec file.

0 Comments
2024/06/05
15:39 UTC

1

HOw do i install xiwi on sd card crouton

HOw do i install xiwi on sd card crouton u saw the title

0 Comments
2024/06/04
14:33 UTC

1

How to update from Ubuntu 16.04?

Basically the heading. I have installed crouton and I can run it. The problem is with the fact, that it used 16.04 version, so I can't download a lot of useful applications(Discord needs NSS_3.30 and steam namespaces). On the official GitHub readme, it suggests using crouton -r list. But when I use that in a shell, the terminal just states 'crouton is not a command'.

3 Comments
2024/05/31
20:58 UTC

2

CROUTON IS SO SLOW

Hi i was wondering I have ubuntu 18.04 running and i noticed its REALLY SLOW

This is also running on a samsung 32 gb micro sd card is that why?

btw its running gnome

1 Comment
2024/05/27
15:40 UTC

1

Is it still posible to install crouton on a micro sd card?!?

I have an hp chromebook 14 g4 (eol) And the tutorial is just not working So tell me is it still posible in 2024?

0 Comments
2024/05/25
16:09 UTC

2

Failed to run debootstrap (on Chromebook c734)

Hello! I have been trying to install ubuntu using crouton, and it hasn't been going so well. I tried this on a HP computer that had a octopus board and it worked fine but now i'm getting errors (On a new chromebook that is made by Acer and has an dedede board). Here is what I type in and what I get out:

sudo cp ~/Downloads/crouton /usr/local

(Works and finishes) Then,

sudo sh /usr/local/crouton -t unity-desktop

OUTPUT:

Downloading latest crouton installer...

################################################################################################################################### 100.0%

WARNING: Your rootfs is writable. Signed boot verification cannot be enabled.

If this is a surprise to you, you should do a full system recovery via USB.

Installing xenial-amd64 chroot to /usr/local/chroots/xenial

Downloading bootstrap files...

/tmp/crouton-installer-cache/crouton: 95: /tmp/crouton-installer-cache/crouton.3kc/installer/ubuntu/bootstrap: /tmp/crouton.wmE/debootstrap: Permission denied

debootstrap error log:

tail: cannot open '/tmp/crouton.wmE/xenial-amd64/debootstrap/debootstrap.log' for reading: No such file or directory

Failed to run debootstrap.

Thanks in advance!

1 Comment
2024/05/22
17:35 UTC

2

Is it possible to create a hotspot using crouton?

I can't find a way to create a wifi hotspot inside Chrome OS (neither in Flex, nor in FydeOS), even after I enabled the hotspot flag, but in other linux distros it is possible. So, could I use Crouton to enable a hotspot? I know how to do it though the terminal if it is required, but it is unclear to me if Crouton can access the network interfaces directly..

UPDATE, for anyone that might stumble upon this post. Apparently you can create a hotspot from chrome://network, "Hotspot" tab, but you need to modify the tethering configuration to use ethernet as upstream, instead of cellular: {"upstream_technology": "ethernet"}. Sadly, you can only enable the Hotspot from the bottom of that page, even though an option would now appear in the action/hour menu.

4 Comments
2024/05/11
11:37 UTC

2

Please Help

Issue

starting xfce4 doesn't work on ubuntu jammy crouton installation, but works on ubuntu focal.

Device

lenovo ideapad flex 5i

Steps to reproduce

sudo CROUTON_BRANCH=silence -r jammy -r core,audio,cli-extra,x11,gtk-extra,xorg,keyboard,extension,xfce,xiwi -p /media/removable/SD-Card

sudo enter-chroot

then ssh into chroot from chrome os

startxfce4

Outputs

(jammy)alal@localhost:~$ startxfce4

/usr/bin/startxfce4: Starting X server

X.Org X Server 1.21.1.4

X Protocol Version 11, Revision 0

Current Operating System: Linux localhost 5.4.268-22183-gc578adf51ac0 #1 SMP PREEMPT Fri, 23 Feb 2024 16:55:39 +0000 x86_64

Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure drm.trace=0x106 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 6144000 verity payload=PARTUUID=bf17f5d8-7850-c740-8253-28b00157cf5f/PARTNROFF=1 hashtree=PARTUUID=bf17f5d8-7850-c740-8253-28b00157cf5f/PARTNROFF=1 hashstart=6144000 alg=sha256 root_hexdigest=06a6312a4107d9f4f934a2f8f22fe2ea9b258562e8e635aa20e26d1a7f0135ff salt=75e71b3e0b5cc5d2b9664f5602d48c4fe724a5e4fc2a435aeb256dfe317280b4" noinitrd vt.global_cursor_default=0 kern_guid=bf17f5d8-7850-c740-8253-28b00157cf5f cros_lsb_release_hash=RvHsii2kWxTV1yfbfGO8RmUzaSS8mD48U19wsYRBMpk= add_efi_memmap noresume i915.modeset=1 kvm.tdp_mmu=0 ramoops.ecc=1 tpm_tis.force=0 intel_pmc_core.warn_on_s0ix_failures=1 i915.enable_guc=2 xdomain=0 intel_iommu=on i915.enable_psr=1

xorg-server 2:21.1.4-2ubuntu1.7~22.04.10 (For technical support please see http://www.ubuntu.com/support)

Current version of pixman: 0.40.0

Before reporting problems, check http://wiki.x.org

to make sure that you have the latest version.

Markers: (--) probed, (**) from config file, (==) default setting,

(++) from command line, (!!) notice, (II) informational,

(WW) warning, (EE) error, (NI) not implemented, (??) unknown.

(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Tue Apr 30 16:26:26 2024

(==) Using system config directory "/usr/share/X11/xorg.conf.d"

xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)

(EE)

Fatal server error:

(EE) AddScreen/ScreenInit failed for driver 0

(EE)

(EE)

Please consult the The X.Org Foundation support

at http://wiki.x.org

for help.

(EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.

(EE)

(EE) Server terminated with error (1). Closing log file.

/usr/bin/xinit: giving up

/usr/bin/xinit: unable to connect to X server: Connection refused

/usr/bin/xinit: server error

(jammy)alal@localhost:~$

2 Comments
2024/04/30
06:42 UTC

1

Can you help me?

where can I get this

localhost login

password

2 Comments
2024/04/29
10:50 UTC

Back To Top