<div dir="ltr"><div>I&#39;ve been running OpenVZ legacy on Debian 6/7/8 and now 9 (hosts+containers), works fine. Note I compile my own kernels.<br></div><div>I recall I had a similar boot freeze in Debian 8, and fixed it by installing sysvinit too, but I never copied the inittab and instead choose the secondary boot menu (setting init=/lib/sysvinit/init) and since then it worked. I upgraded to Debian 9 and still works fine (hosts+containers). Try?</div><div><br></div><div>And something to be aware: over time I noticed more problems with systemd/openvz: systemd-init not cleaning zombies after a while, systemd-tmpfiles boot lockup, systemd-logind timeouts for ssh in containers, etc. so recently I removed systemd from a Debian 9 host (start with <a href="http://without-systemd.org/wiki/index.php/Debian_Stretch" target="_blank">this</a>) and so far so good, I need to do it on more hosts and try with containers too.</div><div><br></div><div>I&#39;m also in the process of trying OpenVZ 7 with Debian, so far I have a working kernel and I&#39;m trying to get the userland tools working...</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 10, 2017 at 8:52 AM, Vasily Averin <span dir="ltr">&lt;<a href="mailto:vvs@virtuozzo.com" target="_blank">vvs@virtuozzo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Narcis,<br>
thank you very much!<br>
<div class="HOEnZb"><div class="h5"><br>
On 2017-07-09 20:41, Narcis Garcia wrote:<br>
&gt; To nobody has to add virtualization layers, I&#39;ve created this guide page:<br>
&gt; <a href="https://openvz.org/Installation_on_Debian_8" rel="noreferrer" target="_blank">https://openvz.org/<wbr>Installation_on_Debian_8</a><br>
&gt;<br>
&gt; Thanks.<br>
&gt;<br>
&gt; El 09/07/17 a les 16:43, Philipp Born ha escrit:<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; you could try to create your underlying ext4 filesystems on an older<br>
&gt;&gt; system with 2.6.32 kernel (CentOS6 live iso for example).<br>
&gt;&gt;<br>
&gt;&gt; Ran into a similar issue earlier this week, where the PCS6 kernel wasn&#39;t<br>
&gt;&gt; able to work with an ext4 that was created on a more-recent kernel.<br>
&gt;&gt;<br>
&gt;&gt; Regards<br>
&gt;&gt; Philipp<br>
&gt;&gt;<br>
&gt;&gt; On 08.07.2017 17:57, Narcis Garcia wrote:<br>
&gt;&gt;&gt; Pre-requisite for a Debian 8 (jessie) host is:<br>
&gt;&gt;&gt; $ apt-get install sysvinit-core sysvinit-utils<br>
&gt;&gt;&gt; $ cp /usr/share/sysvinit/inittab /etc/inittab<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Then OpenVZ Legacy seems to work perfectly.<br>
&gt;&gt;&gt; (For Debian 9 it doesn&#39;t seem to be enough)<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; El 08/07/17 a les 16:22, Narcis Garcia ha escrit:<br>
&gt;&gt;&gt;&gt; Install procedure:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; RepoFile=/etc/apt/sources.<wbr>list.d/openvz.list<br>
&gt;&gt;&gt;&gt; RepoUrl=<a href="http://download.openvz.org/debian" rel="noreferrer" target="_blank">http://download.<wbr>openvz.org/debian</a><br>
&gt;&gt;&gt;&gt; echo &quot;deb $RepoUrl jessie main&quot; | sudo tee &quot;$RepoFile&quot;<br>
&gt;&gt;&gt;&gt; echo &quot;deb $RepoUrl wheezy main&quot; | sudo tee -a &quot;$RepoFile&quot;<br>
&gt;&gt;&gt;&gt; wget -qO - <a href="http://ftp.openvz.org/debian/archive.key" rel="noreferrer" target="_blank">http://ftp.openvz.org/debian/<wbr>archive.key</a> | sudo apt-key add -<br>
&gt;&gt;&gt;&gt; sudo apt-get --allow-unauthenticated update<br>
&gt;&gt;&gt;&gt; KPackage=&quot;linux-image-openvz-$<wbr>(dpkg --print-architecture)&quot;<br>
&gt;&gt;&gt;&gt; sudo apt-get install $KPackage ploop initramfs-tools<br>
&gt;&gt;&gt;&gt; if [ ! -d /vz ] ; then sudo ln -s /var/lib/vz/ /vz ; fi<br>
&gt;&gt;&gt;&gt; sudo reboot<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Attaching screenshots.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; - Tested with 042stab123.9 both with i386 and amd64 architectures.<br>
&gt;&gt;&gt;&gt; - [Control]+[Alt]+[Delete] reboots normally.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt;&gt;&gt; Users mailing list<br>
&gt;&gt;&gt;&gt; <a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
&gt;&gt;&gt;&gt; <a href="https://lists.openvz.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.openvz.org/<wbr>mailman/listinfo/users</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt;&gt; Users mailing list<br>
&gt;&gt;&gt; <a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
&gt;&gt;&gt; <a href="https://lists.openvz.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.openvz.org/<wbr>mailman/listinfo/users</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
&gt; <a href="https://lists.openvz.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.openvz.org/<wbr>mailman/listinfo/users</a><br>
&gt;<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@openvz.org">Users@openvz.org</a><br>
<a href="https://lists.openvz.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.openvz.org/<wbr>mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>