Hello Antonio, > e.g. does this work: > > sudo lxc-create --template=debian --name=armhf -- --arch=armhf > sudo lxc-start --name=armhf > sudo lxc-attach --name=armhf > > ?
It seems to work in some way. But there are some errors at the end of the installation process. Also, lxc-stop takes several seconds to complete and it comes back with an error. Here's the relevant output: root@e580sg:~# lxc-create --template=debian --name=armhf -- -- arch=armhf debootstrap ist /usr/sbin/debootstrap Checking cache download in /var/cache/lxc/debian/rootfs-stable-armhf ... Downloading debian minimal ... I: Target architecture can be executed I: Retrieving InRelease I: Checking Release signature I: Valid Release signature (key id 6D33866EDD8FFA41C0143AEDDCC9EFBF77E11517) I: Retrieving Packages I: Validating Packages I: Resolving dependencies of required packages... I: Resolving dependencies of base packages... I: Checking component main on http://deb.debian.org/debian... [...] I: Base system installed successfully. Download complete. Copying rootfs to /var/lib/lxc/armhf/rootfs...Generating locales (this might take a while)... de_DE.UTF-8... done de_DE.UTF-8... done Generation complete. update-rc.d: error: cannot find a LSB script for checkroot.sh update-rc.d: error: cannot find a LSB script for umountfs Failed to disable unit, unit hwclock.sh.service does not exist. update-rc.d: error: cannot find a LSB script for hwclockfirst.sh Creating SSH2 RSA key; this may take some time ... 2048 SHA256:eyTvbzzRV0YzdRVk9sFLWp9dzK0nRuUPgN2k6QMpkMY root@e580sg (RSA) Creating SSH2 ECDSA key; this may take some time ... 256 SHA256:CfbEORbaL5SptfEnhIQDdg3M/3tNkRPX1mkL5FwUyOE root@e580sg (ECDSA) Creating SSH2 ED25519 key; this may take some time ... 256 SHA256:rGf9JbAsSf8Go+5CZGLQH5Vag4reEEey/PjEWfVl8Vg root@e580sg (ED25519) invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Current default time zone: 'Etc/UTC' Local time is now: Sat Sep 26 13:31:23 UTC 2020. Universal Time is now: Sat Sep 26 13:31:23 UTC 2020. root@e580sg:~# lxc-start --name=armhf root@e580sg:~# lxc-attach --name=armhf root@armhf:~# uname -a Linux armhf 5.8.0-2-amd64 #1 SMP Debian 5.8.10-1 (2020-09-19) armv7l GNU/Linux root@armhf:~# exit exit root@e580sg:~# lxc-stop --name=armhf lxc-stop: armhf: commands_utils.c: lxc_cmd_sock_rcv_state: 72 Resource temporarily unavailable - Failed to receive message Hope this helps. Sven
signature.asc
Description: This is a digitally signed message part