Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment using METHOD="chroot" fails #2

Closed
enekux opened this issue Nov 9, 2017 · 2 comments
Closed

Deployment using METHOD="chroot" fails #2

enekux opened this issue Nov 9, 2017 · 2 comments

Comments

@enekux
Copy link

enekux commented Nov 9, 2017

Hello I would like to deploy a container using METHOD="chroot".
This is the conf file:
$ linuxdeploy -p linux conf -x
METHOD="chroot"
SOURCE_PATH="http://mirror.yandex.ru/debian/"
DISTRIB="debian"
ARCH="amd64"
SUITE="stretch"
TARGET_PATH="/home/webmaster/linuxdeploy-cli/rootfs/linux"
CHROOT_DIR="/home/webmaster/linuxdeploy-cli/rootfs/linux"
TARGET_TYPE="directory"
USERNAME="webmaster"
INCLUDE="bootstrap"

When I try to do the deployment I get this error:
$ linuxdeploy -p linux deploy
:: Installing bootstrap/rootfs ...
Checking installation path ... done
Checking file system ... skip
Mounting partitions:
/ ... fail

What is wrong?

Thank you,

@enekux
Copy link
Author

enekux commented Nov 9, 2017

If instead of "chroot" I use "proot", the deployment works ok but when I want to connect to the console I get:

$ linuxdeploy -p linux shell -u root
:: Configuring core/mnt ...
:: Configuring core/net ...
proot error: unknown option '-l'.
fatal error: see proot --help.

I am following your guide here:
http://meefik.ru/blog/2016/01/26/linuxdeploy-cli-on-pc/

As it looks the portal http://proot.me/ is down. So instead of downloading the portable version I have installed proot from repositories and the version installed is:
$ proot -V
5.1.0

@enekux enekux closed this as completed Nov 9, 2017
@enekux enekux reopened this Nov 9, 2017
@meefik
Copy link
Owner

meefik commented Dec 23, 2017

Linux Delpoy use PRoot version 5.1.1 https://github.com/meefik/PRoot/releases/tag/v5.1.1

@meefik meefik closed this as completed May 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants