Install Centos on your arm device

Post Reply
Posts: 3
Joined: Mon Nov 27, 2017 6:36 pm
languages_spoken: english
Has thanked: 0
Been thanked: 1 time

Install Centos on your arm device

Post by gt945 »

Hello all

This is a simple guide to install centos on your arm device
1 you need a linux system on your device. you also need bash, curl, libarchive installed
2 you need rebuild your kernel with CONFIG_SYSVIPC and CONFIG_FHANDLE enabled
3 download scripts from
4 run centos-bootstrap dest_dir, the centos rootfs is in dest_dir after
5 replace rootfs

Be careful when you replace rootfs, the best way is replace it before system boot up

On amlogic device, the boot seq is :
1) boot kernel
2) mount init ramfs as rootfs
3) mount /dev/system to /mnt
4) chroot to mnt
5) /sbin/init

delete or rename /sbin/init, the boot seq will stop at 4), then replace your rootfs in /mnt

6 reboot, the selinux is enabled by default, the first boot is take long time to relabel filesystem

7 have fun with centos.

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 1 guest