How to Safely Reset or Remove the Linux Container on a Chromebook

    Back up files from Crostini, then completely remove and rebuild the Linux container to eliminate persistent malware.

    JDCS
    By Jordan Dickson · Reviewed by CSG Security Engineers

    Updated June 2026 · 2 min read

    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 files section of the Files app and then into My 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.

    Tip

    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 linux and then terminate them using kill [process ID].

    Good to know

    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.
    1. Go to your Chromebook's Settings.
    2. In the search bar, type Linux and select Linux development environment.
    3. Click on Stop Linux. This will shut down the container without deleting any files.

    Important

    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.
    1. Navigate to your Chromebook's Settings.
    2. Search for Linux and select Linux development environment.
    3. Under the 'Remove Linux development environment' section, click on the Remove button.
    4. You will be asked to confirm your decision. Read the warning carefully and confirm to proceed with the removal.

    Important

    Removing the Linux development environment will delete all Linux files, applications, and data. This action cannot be undone.

    Was this guide helpful?

    Know someone who needs this? Send them the guide.

    JD

    Written by

    Jordan Dickson

    Founder, CyberSecurityGuides

    Founder of CyberSecurityGuides, writing practical, jargon-free guides that help everyday people recover from and protect against online attacks.

    Reviewed by CSG Security Engineers

    More from Device Security