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?

  • MonkderVierte@lemmy.zip
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    8 hours ago

    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 = 6000
    

    And you might also want to set mount options in /etc/fstab to noatime or relatime and add commit=60 or so (default is 6).

    To note that dirty_expire_centisecs and commit trade 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.

    • Crozekiel@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      31 minutes ago

      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.

  • NewNewAugustEast@lemmy.zip
    link
    fedilink
    arrow-up
    1
    ·
    14 hours ago

    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.

  • Eugenia@lemmy.ml
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    1
    ·
    1 day ago

    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 autoremove to make sure the space wasn’t eaten away, but overall, it stayed steady (dh -h will 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.

      • Eugenia@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 hours ago

        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.

  • Muad'Dib@feddit.org
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    1 day ago

    Maybe you can have a look at PostmarketOS, depending on the specific model your Chromebook is. They support some Chromebooks.

    • dfgxx@lemmy.zip
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      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

  • HackyMrHippie@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    1 day ago

    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!

  • dfgxx@lemmy.zip
    link
    fedilink
    arrow-up
    3
    ·
    1 day ago

    Try chimera Linux, it is very lightweight (but also depends on the desktop environment)

  • moonpiedumplings@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    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).