Click to copy, then share by pasting into your messages, comments, social media posts and websites.
Click to copy, then add into your webpages so users can view and engage with this video from your site.
Report Content
We also accept reports via email. Please see the Guidelines Enforcement Process for instructions on how to make a request via email.
Thank you for submitting your report
We will investigate and take the appropriate action.
ArchLinux on Android Simple Chroot
Who doesn't want to run Arch Linux on their android phone?
Step 1: Visit
https://archlinuxarm.org/about/downloads
DETERMINE WHICH ARCH IS RIGHT FOR YOUR DEVICE (MY PHONE HAS AARCH64)
Step 2: open ADB shell to Android
* become ROOT
* Goto /data/local/
Step 3:
Download rootfs for arch linux:
wget http://os.archlinuxarm.org/os/ArchLinuxARM-{YOUR-ARCH}-latest.tar.gz
Step 4:
mkdir arch
cd arch
tar -xvf ../http://os.archlinuxarm.org/os/ArchLinuxARM-{YOUR-ARCH}-latest.tar.gz
Step 5:
Type out these commands individually
##########################################
#Set up veriables #
##########################################
export bin=/system/bin
export mnt=/data/local/arch
export PATH=$bin:/sbin:/usr/bin:/usr/local/bin:/usr/sbin:/bin:/usr/local/sbin:/usr/games:$PATH
export TERM=xterm
export HOME=/root
export USER=root
STEP 6:
##########################################
#Set up mountpoints #
##########################################
mkdir -p $mnt/media/sdcard
mount -o bind /dev $mnt/dev/
mount -t proc proc $mnt/proc/
mount -t sysfs sysfs $mnt/sys/
mount -t devpts devpts $mnt/dev/pts/
mount -o bind /sdcard $mnt/media/sdcard
mount -t tmpfs /cache $mnt/var/cache
STEP 7: ONLY ON FIRST RUN
##########################################
#Sets up network forwarding #
##########################################
busybox sysctl -w net.ipv4.ip_forward=1
cd /data/local
nano into resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
save exit
mv -vf resolv.conf $mnt/etc/resolv.conf
nano hosts
127.0.0.1 localhost
save exit
mv -vf hosts $mnt/etc/hosts
STEP 8:
##########################################
#CHROOT #
##########################################
chroot $mnt /bin/bash
STEP 9: ONLY ON FIRST RUN
##########################################
#edit /etc/pacman.conf #
##########################################
# Comment out CheckSpace with #
STEP 10: ONLY ON FIRST RUN
##########################################
#initialize pacman keys #
##########################################
rm -r /etc/pacman.d/gnupg
pacman-key --init
pacman-key --populate archlinuxarm
pacman-key --refresh-keys
Category | Vlogging |
Sensitivity | Normal - Content that is suitable for ages 16 and over |
Playing Next
Related Videos
Let's do a little New Years Stream!
1 year, 2 months ago
Encrypt your DNS traffic with DNS over TLS
1 year, 3 months ago
4Chan is Trolling Reddit with AI Bait Threads
1 year, 3 months ago
1 year, 4 months ago
Reacting to Lauren Southern's Tell-All on the 2016-era Dissident Right
1 year, 4 months ago
Warning - This video exceeds your sensitivity preference!
To dismiss this warning and continue to watch the video please click on the button below.
Note - Autoplay has been disabled for this video.