IMPORTANT: User installed apps are not automatically updated Other releases
Then update the Crostini packages: sudo apt update First, update the version number in the cros.list package file (after editing, save with ctrl-s and exit with ctrl-x): sudo nano /etc/apt//cros.list # update the version number, then save with ctrl-s and exit with ctrl-x When Chrome OS updates to a major new version number, for example from CrOS 73 to CrOS 74, you should run these commands to update the Crostini packages too. Google's Crostini packages are tied to Chrome OS major versions. Keeping the Crostini packages up to date (NO LONGER REQUIRED - CROSTINI PACKAGES NOW AUTO-UPDATE - THIS SECTION RETAINED FOR REFERENCE) You should see the file you touched above. Launch the Files Chrome OS app and look under Linux Files. This can be a reminder of which container you are in if you work with more than one container: touch ubuntu-22.04 Now touch a file using the name of the OS. Run the little script we created above to add your username to all the default Ubuntu groups: sudo mv /root/update-groups.
If it fails to start the first time, try again and it should work.ĭuring startup Crostini will create your Linux user account. Reboot Chrome OS and start the Terminal application from the launcher. Now, shut down the container: shutdown -h now cros-ui-config_0.13_all.debĭelete the "work-around" package: rm cros-ui-config_0.13_all.deb
This will take awhile: apt install cros-guest-tools. Now install the Crostini packages and the "work-around" package, ignoring any warning messages. etc/gtk-3.0/settings.iniĪr r cros-ui-config_0.13_all.deb
Then create the cros-ui-config work-around package: apt download cros-ui-config # ignore any warning messagesĪr x cros-ui-config_0.13_all.deb First, install binutils to get the ar command: apt install binutils If then sudo sed -i "s?packages?packages/$(cat /dev/.cros_milestone)?" /etc/apt//cros.list fiĪpt-key adv -keyserver -recv-keys 78BD65473CB3BD13Īpt-key adv -keyserver -recv-keys 4EB27DB2A3B88B8BĪ work-around is needed for a cros-ui-config package installation conflict. This repository provides the Linux integration with Chrome OS: echo "deb bullseye main" > /etc/apt//cros.list Now add the Crostini package repository to apt. First bring Ubuntu up to date: apt update Prepare for installing Google's Crostini specific packages. Sed -i '/^ubuntu/d' /etc/sudoers.d/90-cloud-init-users Sed -i 'y/ /,/ s/ubuntu,:,ubuntu,/sudo usermod -aG / s/$/ \$USER/' update-groups Rename the default penguin container: lxc stop penguin -forceĬreate a new Ubuntu container named penguin: lxc launch ubuntu:22.04 penguinĮnter the new container (as root): lxc exec penguin - bashĬapture group membership for default ubuntu user, then delete userĬreate a little script which we will use later to add your username to all the default Ubuntu groups, then delete the default ubuntu user: groups ubuntu >update-groups Start by entering the Chrome shell (crosh) by pressing CTRL+ALT+T, then enter the default termina VM: vmc start termina After pasting, you may have to press the enter key to run the last command in a block. The steps are divided into logically related blocks which can be copied and pasted into a terminal window (paste into a terminal window by right-clicking in the window). This "cheat sheet" contains the relevant info from the above post for installing Ubuntu 22.04 LTS as the default container (penguin) directly on a Chrome OS device which already has Crostini enabled.
If you just want to run Ubuntu as your default container on Crostini, with full Chrome OS integration including files and launcher icons, this section is for you.
The above post describes how to set up Ubuntu from another computer, and how to run a full desktop environment under Ubuntu.
Introduction to Crostini - Part 3: Using Ubuntu by default Cheat Sheet
Here's a post that shows in detail how to make the default penguin container run Ubuntu instead of Debian: How to run Ubuntu with full Chrome OS Integration