Author Topic: Linux on TI-Nspire CX II !  (Read 3272 times)

0 Members and 1 Guest are viewing this topic.

Offline lolpro11

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 17
  • Rating: +2/-0
    • View Profile
Linux on TI-Nspire CX II !
« on: February 21, 2022, 03:19:36 am »
So I finally found a Linux setup that would work on a Linux CX II :D
https://github.com/lolpro11/linux/releases/tag/v1.0.0

This took about two years because there were no kernel configs that worked :(
Anyways, to install:

Partition a USB to ext4 (/dev/sdx1), with a MPR partition table(msdos in gparted) and optionally include some swap space (better than 64MB of RAM)
After partitioning, run `sudo mount /dev/sdx1 /mnt` (to mount) and `sudo bsdtar xzvf ArchLinuxARM-kirkwood-latest.tar.gz -C /mnt` (to extract the rootfs on the USB)
Boot Arch Linux on your calculator, which should pull an error [FAILED] Network Name Resolution :(
Restart the calculator and remount the USB that was used: `sudo mount /dev/sdx1`
Copy ARM emulator to USB: `sudo cp /usr/bin/qemu-arm-static /mnt/usr/bin`, and disable wifi on the rootfs: `sudo chroot /mnt; systemctl disable systemd-networkd.service; systemctl disable systemd-resolved.service`


Edit:
I realized you can just `sudo rm /mnt/usr/lib/systemd/system/systemd-resolved.service` to fix the error [FAILED] Network Name Resolution

Now you should be done! :D
« Last Edit: June 29, 2023, 02:08:01 am by lolpro11 »