I bought an old HP chromebook cheap on ebay that came with Zorin OS installed. It isn’t much, but just about manages to do what I need. The trouble is, Zorin seems kind of bloated and the Chromebook hasn’t got much memory. I don’t even have enough space to install updates.
I’m comfortable with running a pared-down OS that might be a better fit for a tired old Chromebook. What might work better than Zorin?
puppy linux
LOAF: linux on a floppy
When you say memory, do you mean RAM or do you mean disk space?
Could be both, but that’s a good question. They say memory but mention the space for updates.
Primarily disk space.
For 16 GB SSD with 4 GBs of RAM (which is what most Chromebooks used to be), you will need Debian with XFce, with 2 GB of swap partition. Nothing else will either fit, or work properly. I have given away 3 such laptops to friends with that setup (Arch might fit ok too, but because I was giving it to friends, Debian was easier to work with). After installing the v12 Bookworm Debian OS, with libreoffice, a couple of simple games (e.g. solitaire), Gimp, and that 2 gb swap partition, I was left with 5 GB free space. I had to occasionally do
sudo apt autoremoveto make sure the space wasn’t eaten away, but overall, it stayed steady (dh -hwill give you that info). With Trixie, you might end up with 4 GBs of free space, as it’s bigger. Bookworm has updates until 2029.This sounds like the way to go. What would be the least painful process for going from zorin to debian?
You will have to reinstall the OS, and redo the partition table (256 MB boot partition (that’s enough for a single OS), 2 GB swap, and the rest / root partition). Then install Debian with XFce on the / partition. You use it normally as with any other Debian-based OS, that Zorin is also one of them, but you use the terminal to update the system. It’s very usable.
Maybe you can have a look at PostmarketOS, depending on the specific model your Chromebook is. They support some Chromebooks.
If it can run on old phones, it can run even better on Chromebooks I think, yes it is very lightweight but because musl app compatibility is bit more limited than glibc
I’ve also had a chromebook with only 30 GB of slow eMMC once. Adjusting I/O caching helped noticeably:
# /etc/sysctl.d/20-flash-speed-settings.conf # https://lonesysadmin.net/2013/12/22/better-linux-disk-caching-performance-vm-dirty_ratio/ # (vm.dirty_background_ratio = 10) percent of memory to use for caching vm.dirty_background_ratio = 15 # (vm.dirty_ratio = 20) the max percent of memory to use for caching vm.dirty_ratio = 30 # (vm.dirty_writeback_centicecs = 5) how often the buffer is checked for work to do vm.dirty_writeback_centisecs = 1000 # (vm.dirty_expire_centisecs = 500) sets how long something can be in the buffer vm.dirty_expire_centisecs = 6000And you might also want to set mount options in /etc/fstab to
noatimeorrelatimeand addcommit=60or so (default is 6).To note that
dirty_expire_centisecsandcommittrade speed for data safety. But a laptop has a battery anyway.About lack of space:
keep the system on the eMMC and mount a thumbdrive as /home? (in /etc/fstab)
Just don’t do much compiling on it (or move the compiling path to RAM); i’ve broke a SDcard-as-home with compiling Firefox on the Chromebook.Edit: ZorinOS is immutable, relying on flatpaks (high I/O and btrfs deduplication), no? Kinda the worst choice for such a device.Edit: ZorinOS is immutable, relying on flatpaks (high I/O and btrfs deduplication), no?
I’ve not seen anything about ZorinOS being immutable, it’s basically just Ubuntu with some stuff on top. By default it uses ext4 and the software store has access to flatpaks, but also snaps and typical native linux software.
OP, got some specs? It will make it easier for us to give good suggestions. Thanks in advance!
Celeron processor 16/4 gb ram.
GalliumOS is a Linux distro made especially for Chromebooks.
Gallium has not been active in 5 years though.
I should have checked. That was the last time I had a Chromebook.
Try chimera Linux, it is very lightweight (but also depends on the desktop environment)
if your trying to find an OS that is low on resources, there’s only one option: alpine linux. Yes it starts out as a TTY (no graphical environment) but they do have scripts to install the OS and a graphics environment of your choice.
the one concern is driver support, generally (unless using a popular distro such as zorin OS) driver support for Chromebooks are limited. I’ve tried getting alpine Linux on my Chromebook and can’t because the wifi card would not work for it.
that said, if you’re ready to manually configure driver support for it (which most likely will happen) the artix OS uses about 128 MB of memory. That said, if you have more, Linux will dynamically allocate more for core OS functionality
I am going to try something else completely. I dont know if it will work.
The Plan: A thin client that connects to an always on RDP session either on a real computer or my servers virtual one.
Alpine Linux in Diskless mode, Xorg, Freedrp
No desktop environment, no window manager. Everything loads into ram.
A project for the weekend, curious how it will go.
Issues that need to be addressed:
suspend when lid closed will have to be added manually. RDP probably should drop or ask for a password at each wake up if the laptop leaves the house. When remote I guess tailscale or similar will have to be implemented.
Mine is painful for storage. The eMMC is the most painful part. I can deal with low memory, I can deal with the cpu, but read and writes are painfully slow.
I am using fedora cosmic atomic and it works better than most.
Look up how to tweak reads and writes for eMMC if you have it, you can help speed it up.
I wonder if reading from the ports is any faster?
Yes. A lot. Using the usb C port all operations are about 4 to 8 times faster per Kdiskmark.
Unfortunately, carrying around the os attached to the usb is kind of a pain.
Edit: wrong place, sorry.
I would say try puppy Linux or a openbox based distro. My go to is MABOX Linux. Lightweight and VERY customizable.
I would go with debian with a light weight desktop. If you have issues after that maybe puppy Linux?
I used to use Arch + KDE on a device with only 32 gb of storage space. I used BTRFS and transparent compression, and I got the actual Arch Linux install compressed down into 6 gb (where it would have been 10 gb uncompressed).
I have 3 old Chromebooks (2gb/4gb ram and 16gb/32gb storage) and I run MX with XFCE which runs like a dream. Previously I used Arch with KDE which also ran smoothly enough which surprised me. One thing worth doing with whichever distro/DE you choose, remove all the software you won’t use and it makes a huge difference!