Upgrading to Debian Bookworm on QNAP TS-112 (also TS-11x/TS-12x)

I decided to host Minio on a QNAP TS-112 device, bought from a second hand market place. Here’s a tale of me ditching the QNAP OS in favour of Debian Bookworm :)

  1. Install Buster: https://www.cyrius.com/debian/kirkwood/qnap/ts-119/install/
    • Note: Debian archive mirrors appear to no longer alias buster as “oldoldstable”, which will make the installer fail when attempting to retrieve packages. I created a proxy server that aliases buster to oldoldstable, and used this as my Debian mirror
  2. Update internal flash layout to support Linux kernels larger than 2 MB: https://github.com/amouiche/qnap_mtd_resize_for_bullseye
    • Don’t forget to reboot!
  3. Update to Bullseye once the system is up and running in Buster: https://www.debian.org/releases/bullseye/armel/release-notes/ch-upgrading.en.html#upgrade-to-debian-oldrelease
    • Most of the steps are no-op. The main step for me was to update /etc/apt/sources.list, and then hop off to apt full-upgrade
  4. Reboot to make sure that everything works
  5. Run apt autoremove to remove stale packages
  6. Update to Bookworm: https://www.debian.org/releases/bookworm/armel/release-notes/ch-upgrading.en.html#upgrade-to-debian-oldrelease
    • Same as before – update sources.list, then apt full-upgrade
  7. Reboot
  8. Run apt autoremove

Cheers!


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *