ChromeOS · Recovery Guide
How to Safely Reset or Remove the Linux Container on a Chromebook
Safely remove your Linux Development Environment without losing important files or damaging your Chromebook.
Back up Your Linux (Beta) Files
Before you do anything, ensure all your important files from the Linux container are backed up. Whilst this process is generally safe, it's always best to be prepared.
- You can transfer files to your Chromebook's Downloads folder by dragging them into the
Linux filessection of the Files app and then intoMy files > Downloads. - Alternatively, use cloud storage services like Google Drive. Many Linux applications support direct saving to cloud services if they are mounted within the Linux file system.
- For larger backups, consider using a USB stick or external hard drive. Plug it into your Chromebook, and it should appear in the Files app, allowing you to drag and drop files from your Linux container.
Regularly backing up your files is a good habit, not just when performing system changes.
Check for Running Linux Applications
Before attempting to delete or reset, close any open Linux applications. This helps prevent data corruption and ensures a smoother removal process.
- Look for Linux application icons on your shelf and right-click to select
Close. - Open your app launcher and locate any Linux apps that might be running in the background.
- If you're comfortable with the terminal, you can list running processes with
ps aux | grep linuxand then terminate them usingkill [process ID].
Closing applications ensures that all data is saved and no processes are actively using the Linux environment.
Stop the Linux Container Gracefully
Instead of immediately removing, try stopping the Linux container first. This can resolve minor issues and is a less drastic step than a full reset.
- Go to your Chromebook's Settings.
- In the search bar, type
Linuxand select Linux development environment. - Click on
Stop Linux. This will shut down the container without deleting any files.
Stopping the container will close all running Linux apps and save their state, but unsaved work will be lost.
Remove the Linux Development Environment
If stopping doesn't work or you wish to completely remove the Linux environment and all its contents, this is the final step. This action is irreversible.
- Navigate to your Chromebook's Settings.
- Search for
Linuxand select Linux development environment. - Under the 'Remove Linux development environment' section, click on the
Removebutton. - You will be asked to confirm your decision. Read the warning carefully and confirm to proceed with the removal.
Removing the Linux development environment will delete all Linux files, applications, and data. This action cannot be undone.