5/2/2023 0 Comments City girl life chrome os![]() Lxc penguin 20200411193357.400 WARN conf - conf.c:lxc_map_ids:2919 - newuidmap is lacking necessary privileges Lxc penguin 20200411193357.395 WARN conf - conf.c:lxc_map_ids:2925 - newgidmap is lacking necessary privileges Lxc penguin 20200411193357.395 WARN conf - conf.c:lxc_map_ids:2919 - newuidmap is lacking necessary privileges Lxc penguin 20200411193357.312 WARN initutils - initutils.c:setproctitle:324 - Invalid argument - Failed to set cmdline The root cause is LXC version update, as a result container fails to start with following error: Most of custom containers stopped working with Chrome OS 81 update. Arch container fails to start after update to Chrome OS 81 Tip: Check the Chromium OS Garcon Bridge ( journalctl -user -u cros-garcon) for host integration issues, like "Linux files is empty in the Files app" or "Applications do not appear on Chrome OS". The following command should report the IP address assigned for container: After restart, verify that no failed system or user units are listed. Restart the Linux subsystem to apply the changes. Rename the Arch container to "penguin" and start it: Stop the Debian container and rename it to "debian" (this step can be skipped if you have already removed the Debian container): Renaming the "arch" container created above to it will cause Chrome OS to launch Linux apps from the arch container. The default Debian container is named penguin. Replace the default Debian container with Arch Linux Exit from the container shell back to the Termina shell by pressing Ctrl+a q. Now, when apps are installed in Arch Linux, they will automatically appear in the Chrome OS launcher. Make sure these user services are running successfully by checking their unit statuses. Additionally install wayland and xorg-xwayland to be able to use GUI tools. Install the cros-container-guest-tools-git AUR package. Install the Crostini container tools, Wayland for GUI application support and XWayland for X11 application support: If it is not empty, you can proceed, otherwise you are facing the issue described in #No network in container - follow the instructions listed there to address the issue. Should return a non-empty output with the container's assigned IP address. Login to the container using regular user account you just configured: Set up the container for use in Chrome OS Uncomment the following line to allow the wheel group to use sudo: You may additionally want to install sudo and add the user to the wheel group. # usermod -d /home/ new-username -l new-username -m -c new-username old-username Optionally you can rename user/group, by default named by your GMail id: The username can be seen with the following command: The container creates a default user on install based on the email used to sign in to Chrome OS. If the container is not started, start it: Open a shell in Termina and check if the Arch Linux container is present (it may a few minutes to show on the list): substitute arch in the following steps for this generated name.) It will create the image with a random name to be changed instead of arch later on. (If this doesn't work, you might be able to succeed with 'lxc launch images:archlinux' instead. This is expected behaviour, proceed with following steps. The following error will be shown after completion:Įrror: operation `container_create` failed: failed to create container: `UNKNOWN`: requested VM does not exist: termina Vmc container termina arch archlinux/current Create an Arch Linux container in Termina using VMC: Open a new crosh terminal in Chrome ( Ctrl+Alt+t). Open the crosh terminal in Chrome ( Ctrl+Alt+t). Warning: Destroying the existing termina may also disable android apps and the play store. Replacing the default Debian Linux container with Arch Linux This can be done via Settings > About Chrome OS > Channel > Dev/Beta. If you do not see an option to enable Linux, you may need to switch to the beta or developer channel, if it has not rolled out to the stable channel for your laptop yet. ![]() This installs a Debian Linux container that we will then replace with an Arch Linux container.Ĭrostini is still rolling out to Chromebooks. Look for Linux under Settings and enable it. Audio (in/out) & OpenGL are supported, but USB devices are only partially supported and development is still in progress.Better battery life - battery life of Chrome with the functionality of Linux.Officially supported, do not need to enable developer mode - leaves Chrome OS secure, no need to flash a BIOS etc.This article describes how to install Arch Linux on a Chromebook in a container (via Crostini), without needing to enable developer mode, allowing apps to run alongside other Chrome/Android apps. Crostini is Google's umbrella term for making Linux application support easy to use and integrating well with Chrome OS. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |