Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 8167|Reply: 7

Chroot on OpenELEC

[Copy link]

1

Threads

3

Posts

35

Credits

Novice

Rank: 1

Credits
35
Post time 2017-3-1 07:20:47 | Show all posts |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.

Post time 2017-3-1 16:29:51 | Show all posts
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 the Code


Orange PI PC

1

Threads

3

Posts

35

Credits

Novice

Rank: 1

Credits
35
 Author| Post time 2017-3-1 17:58:15 | Show all posts
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

79

Posts

1112

Credits

Gold member

Rank: 6Rank: 6

Credits
1112
Post time 2017-3-1 18:05:19 | Show all posts
Thanks to share and great job!

Finally, a step by step tutorial to allow install stuffs on OpenELEC.

3

Threads

46

Posts

691

Credits

Senior member

Rank: 4

Credits
691
Post time 2017-3-1 22:12:20 | Show all posts
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| Post time 2017-3-4 21:19:34 | Show all posts
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
Post time 2017-3-26 18:04:49 | Show all posts
this works but there is no network possible with cable / wifi

0

Threads

1

Posts

22

Credits

Novice

Rank: 1

Credits
22
Post time 2019-7-22 08:30:33 | Show all posts
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.
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2021-10-27 09:26 GMT+8 , Processed in 0.036180 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list