Skip to content

Debian 12 Rootfs for Termux

Latest
Compare
Choose a tag to compare
@LinuxDroidMaster LinuxDroidMaster released this 04 Apr 17:18
· 142 commits to main since this release

Rootfs of Debian 12 for Termux.

I have created this from Windows WSL, hope you like it 😊 Commands used after installing Debian from Microsoft Store:

sudo apt-get update
sudo apt-get install debootstrap qemu-user-static

#This 2 lines might not be needed: 
sudo apt-get install qemu-user-static binfmt-support
sudo update-binfmts --install qemu-arm /usr/bin/qemu-arm-static --magic '\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00' --mask '\xff\xff\xff\xff\xff\xff\xff\xfc\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff'

sudo debootstrap --arch=arm64 bookworm debian-arm64 http://deb.debian.org/debian/
sudo cp /usr/bin/qemu-aarch64-static debian-arm64/usr/bin/

cd debian-arm64/
sudo tar -czvf debian-arm64.tar.gz *