-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Updated Installation Instructions for Crouton
Warning: crouton appears to be broken for all current releases. At least, for me, crouton has been broken since 126.0.6478.252. Attempting to install crouton may be a waste of your time. You have been warned.
Update: Attempting to install crouton will corrupt your Chromebook, requiring a powerwash to fix it.
The sudo command can no longer be executed in the crosh shell. It is now necessary to install crouton in VT-2 (ctrl-alt-f2). Login as chronos and type the following commands after downloading crouton (you may wish to printout this page, as you cannot copy and paste to/from VT-2):
- Make crouton executable:
sudo install -Dt /usr/local/bin -m 755 ~/Downloads/crouton
- Install some distro, for example:
sudo CROUTON_BRANCH=silence crouton -r focal -t xfce
(the silence branch must always be used, as we lost the ability to compile cras. Also, xenial no longer works correctly.) - Login to your chroot:
sudo enter-chroot
- One-time install:
sudo apt install ssh
- Launch ssh:
sudo /etc/init.d/ssh start
(This must be done each time you enter your chroot after logging out) - Go back to ChromeOS with ctrl-alt-f1. Press ctrl-alt-t to open the crosh shell, then type shell and Enter.
- ssh into your chroot:
ssh foo@localhost
(Note: foo is the username for your chroot. The first time, you'll be asked to accept the password.) - Launch your desktop, for example:
sudo startxfce4
- To exit your chroot, use your desktop menu, which brings you back to the crosh shell, then press ctrl-d. Finally, flip back over to VT-2 and press ctrl-d again.
A few of these steps can be simplified or automated with tweaks to your chroot or .bashrc file, but the above, hopefully, we get you through the day.
For a completely different approach (experimental), please see the following: