linuxdeploy icon indicating copy to clipboard operation
linuxdeploy copied to clipboard

How can I mount the container and start services by a shell script?

Open g495326 opened this issue 5 years ago • 5 comments

The Centos installed inside linuxdeploy cant boot automatically on my mi2 TV Box, even if I checked the option "Autostart".

Can the OS and services be started by a custom script? if yes, how to do it?

Thanks by advance.

g495326 avatar Oct 17 '20 09:10 g495326

yes, you can start the container using a shell script run as root # /data/data/ru.meefik.linuxdeploy/files/bin/linuxdeploy start -m

the default profile will start with this command

Shubhamvis98 avatar Oct 30 '20 15:10 Shubhamvis98

Screenshot_20220322-180209 Hello, please how do I solve this issue?

080Busybrain avatar Mar 22 '22 19:03 080Busybrain

can you please check if your device is properly rooted and Linux Deploy has root access

Shubhamvis98 avatar Mar 22 '22 20:03 Shubhamvis98

Bravo 💯 that's the issue solver. No my phone is not rooted.

080Busybrain avatar Mar 22 '22 20:03 080Busybrain

So if you want to run Linux on un-rooted device then proot can help you

Shubhamvis98 avatar Mar 22 '22 20:03 Shubhamvis98