Greetings,

----- Original Message -----
> Install procedure:
> 
> RepoFile=/etc/apt/sources.list.d/openvz.list
> RepoUrl=http://download.openvz.org/debian
> echo "deb $RepoUrl jessie main" | sudo tee "$RepoFile"
> echo "deb $RepoUrl wheezy main" | sudo tee -a "$RepoFile"
> wget -qO - http://ftp.openvz.org/debian/archive.key | sudo apt-key
> add -
> sudo apt --allow-unauthenticated update
> KPackage="linux-image-openvz-$(dpkg --print-architecture)"
> sudo apt --install-recommends install $KPackage ploop initramfs-tools
> if [ ! -d /vz ] ; then sudo ln -s /var/lib/vz/ /vz ; fi
> sudo reboot
> 
> Attaching screenshots.
> - Tested with 042stab123.8 and 042stab123.9
> - Tested with amd64 binaries
> - Tested both in virtual machine and real hardware
> - Tested both with single plain ext4 partition (sda1 on /) and with
> LVM
> layers.
> - initrd works, next boot stage not (fstab).

I don't think the OpenVZ Legacy kernel is supposed to work on Debian 8 nor 
Debian 9.

Debian really isn't a good distro for an OpenVZ Legacy host node although 
Debian does have some history with OpenVZ.  For a few releases they had an 
OpenVZ patched kernel in their stock repos... but there were a number of issues 
with it.  Then OpenVZ Project provided kernel was shoehorned to work on a 
release or two of Debian... and I believe it worked fairly well.  One of the 
problems, and maybe not the main problem, is that Debian 8 and 9 use systemd by 
default.  systemd is great but the EL6 kernel (which the OpenVZ Legacy kernel 
is based on) came out in Nov. 2011 and was forked from Fedora 12.  systemd made 
its debut a few releases of Fedora later and became default in Fedora 15.  To 
the best of my knowledge, the OpenVZ Legacy kernel will not work on RHEL/CentOS 
7 for similar reasons.

What kernel is there for newer distros?  Well, the OpenVZ 7 kernel works on 
EL7... but given the expansion of features in OpenVZ 7, they decided it was 
best to make their own distro (basically forked from CentOS 7) and don't really 
support running the OpenVZ Legacy kernel and userland programs on any other 
distro.

Takeaways: If you want to run the OpenVZ Legacy kernel, run it on EL6 or older 
Debians than 8... or give OpenVZ 7 a try.

TYL,
-- 
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]
_______________________________________________
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users

Reply via email to