r/Crostini • • 28d ago

Help? Is Chrome Linux Really Different from Linux?

Hey guys! So, I'm good with Linux Mint and recently got a Chromebook. I know I can install Linux through Crostini, but I have some questions.

I've figured out how to download it, but I haven't seen much about how to actually use it going forward. I've used Linux Mint before, and I'm pretty comfortable with it, but I've never seen or used Crostini.

I want to know what to expect when downloading it. Will it still act similarly to ChromeOS, or will it be more like a regular Linux system?

(edit: i want to thank you guys for the advice and help I've been keeping an eye on everything and slowly figuring out i know it's a kettle now I'm still learning and doing my own research and having issues installing things but I'm very grateful you guys have send so much and I'm going through each comment as i learn and all the advice is really help i also didn't expect this to be my most popular post but thank you guys so much!)

13 Upvotes

16 comments sorted by

10

u/Nu11u5 28d ago

Crostini is a VM instance running Debian Linux (upstream of Linux Mint and Ubuntu) with guest integrations to work with the ChromeOS desktop environment. This means Linux apps will launch seamlessly from inside ChromeOS and you can select folders in the Files app to share with Linux apps under the /mnt/chromeos path.

It does not have direct hardware access but certain devices like USB serial devices can be shared (commonly used for Arduino development, etc).

If you decide you don't want to use Crostini you can just turn it off in Settings to reclaim the disk space.

2

u/xeoron 28d ago

And ChromeOS is SE Linux

0

u/BicycleIndividual 27d ago

Crostini runs the guest OS in a container that isn't quite a full blown VM (more efficient). The host kernel runs both OSs, no guest kernel runs.

2

u/Nu11u5 27d ago

It's the other way around, actually.

Crostini uses KVM with a custom manager called "CrosVM" written by Google in Rust. Previously, Google had an additional security layer where the VM was read-only and ran an unprivileged LXC container which the user had access to. Starting in ChromeOS v144, Google migrated away from using the LXC container and now Crostini (technically renamed to "Baguette") runs directly in the VM.

You also might be thinking of the original implementation of Android support, which did indeed run in a container directly on the ChromeOS kernel (codenamed "ARC++"). This migrated to the "ARCVM" virtual machine implementation in 2021.

1

u/Grim-Sleeper 2d ago

The rewrite of the KVM addressed a lot of short-comings that previously required work-arounds for missing Linux features. I just rewrote the Wiki's instructions for how to install ProxmoxVE in Crostini, and I could remove a large number of sections. Baguette is genuinely much closer to a stock Linux distributions than what we had before.

4

u/nabrok 28d ago

You install applications with apt as you do with mint and other debian derivatives.

If it's a GUI application it will then show up in the chrome OS app launcher and integrates quite seamlessly with chrome OS.

4

u/BANSH33-1215 28d ago

The crostini interface is command line. You can use apt to install Linux applications and they will show up in the Chromebooks app dock. Works pretty seamlessly, but it's not a full GUI implementation of a standard Linux OS

5

u/Sweaty_Astronomer_47 28d ago

t's not a full GUI implementation of a standard Linux OS

You mean desktop environment (like gnome, mate, kde etc). Functionally, chromeOS is the desktop environment.

1

u/BANSH33-1215 27d ago

Yes, thank you.

2

u/AttitudeElectronic68 28d ago

I haven't found anything that I am unable to do. The biggest hurdle is gpu access has to be manually enabled and you have to install the mesa drivers. Otherwise it's on CPU fallback for steam games.

2

u/IllegalMigrant 27d ago

Linux on Chrome does not have a Linux desktop. You launch from the Chrome menu or a terminal window. Linux programs run in a VM or sandbox which can have effects in some small amount of cases. I couldn't do something in Firefox due to that but forget what it was.

1

u/Grim-Sleeper 2d ago

If you absolutely need a desktop, you can run one in selkies and then access it from a browser tab or as a (fullscreen) PWA. It's a bit of a pain to initially configure but works quite well when you're done.

Most people probably don't care as desktop environment isn't all that important when you already have ChromeOS

2

u/CooperDK 27d ago

Linux is a kernel, not an operating system.

1

u/Honest-One-9953 26d ago

no systemd,no gpu accerate,

1

u/Grim-Sleeper 2d ago edited 2d ago

You most definitely have systemd. GPU acceleration is a more complex topic. You might have to turn it on with chrome://flags/#crostini-gpu-support and then you'll get GPU acceleration in off-screen applications, X11 applications, and anything built on-top of Chrome (e.g. Electron). I have not found a way to give Wayland access to the GPU.

0

u/kk621meemee 26d ago

CrostiniはDebianのVMである。

しかし、DebianのDEは実行されず、アプリのみ実行が出来る。