View: 13349|Reply: 8

Chroot on OpenELEC

[Copy link]

1

threads

3

posts

35

credits

Novice

Rank: 1

credits
35
Published in 2017-3-1 07:20:47 | Show all floors |Read mode
Hi all,

I wanted to better utilize my OPI so I created chroot with Debian in my OpenELEC. Now I have nginx, openvpn, samba, webcam and other deamons running on my OPI.
If someone would be interrested, I wrote a manual how to set it up here: https://blog.danman.eu/orangepi-installing-debian-chroot-into-openelec/

I'm looking forward for your comments.

Published in 2017-3-1 16:29:51 | Show all floors
Great job,

One comment, "second-stage" doesn't have to be made on OpenELEC, it can be done on your host using /usr/bin/qemu-arm-static

  1. apt install qemu-user-static
  2. host:# cp /usr/bin/qemu-arm-static debian_armhf/usr/bin/ && chroot debian_armhf && rm debian_armhf/usr/bin/qemu-arm-static
  3. I have no name!@host:/# ./debootstrap/debootstrap --second-stage
Copy code


Orange PI PC

1

threads

3

posts

35

credits

Novice

Rank: 1

credits
35
 Author| Published in 2017-3-1 17:58:15 | Show all floors
Thanks for your comment. I don't like installing utilities I'll use only once so I decided to finish it natively on OPI.

3

threads

46

posts

691

credits

Senior member

Rank: 4

credits
691
Published in 2017-3-1 22:12:20 | Show all floors
It may be better to have a clean Debian with Kodi from Jerney's OpenElec...

1

threads

3

posts

35

credits

Novice

Rank: 1

credits
35
 Author| Published in 2017-3-4 21:19:34 | Show all floors
Ok, now I did it vice-versa. OpenELEC chroot on Armbian, check here: https://blog.danman.eu/orangepi- ... hroot-into-armbian/

1

threads

2

posts

80

credits

Registered member

Rank: 2

credits
80
Published in 2017-3-26 18:04:49 | Show all floors
this works but there is no network possible with cable / wifi

0

threads

1

posts

24

credits

Novice

Rank: 1

credits
24
Published in 2019-7-22 08:30:33 | Show all floors
Hello.
Thanks for your work. I on PC (Debian machine) did not manage to collect debootstrap, - second-stage comes to the end with an error. But with your file everything turned out successfully, both update, and upgrade.
The ultimate goal was to launch mjpg-streamer. mjpg-streamer was successfully built from source codes on Orange Pi, but with a autostart there were problems because of my not competence. As a result for a autostart I registered the following command
"nohup /usr/local/bin/mjpg_streamer -b \
-i "/usr/local/lib/mjpg-streamer/input_uvc.so \
-d /dev/video0 -y -r 640x480 -f 15 -q 50" \
-o "/usr/local/lib/mjpg-streamer/output_http.so \
-w /www/webcam -p 8090"  >/dev/null 2>&1"
Can to someone it is useful.

0

threads

28

posts

74

credits

Registered member

Rank: 2

credits
74
Published in 2023-5-9 11:32:45 | Show all floors
Hello! It's great that you were able to set up a Debian chroot on your OpenELEC and expand its functionality. Your manual is well-written and easy to follow, with clear instructions and helpful screenshots. It's also great that you included some troubleshooting tips for potential issues that users may encounter. exhibit of sorrows

0

threads

7

posts

30

credits

Novice

Rank: 1

credits
30
Published in 2023-8-4 10:45:35 | Show all floors
This post was finally edited by lorde at 2023-8-8 09:26

Your willingness to share your knowledge and experiences with the community is appreciated. Such contributions help others learn and benefit from your expertise, Garten Of Banban 4 and it fosters a collaborative and supportive environment within the tech community.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list