[SOLVED] howto create a debian 10 lx container

Mar 18, 2024
34
4
8
east of muc
good morning,

because we need to activate some old software we need an lx container running debian-10 but i cannot find a suitable zst-lxc template. i only found
debian-10.0-standard_10.0-1_amd64.tar.gz uncompressed it using gunzip it and compressed it using zstd. unfortunately i cannot create an lx container from this file. i see multiple error messages tar: ./debian-10.0-standard_10.0-1_amd64/dev/ram4: Cannot mknod: Operation not permitted.

is there anybody who knows howto create a debian-10 lx container?

thanks in advance for any hint.

g.
 
I tried this now & it worked:

1. SSH into your Proxmox node & go to the templates storage folder. (In local default that is usually cd /var/lib/vz/template/cache).

2. Enter the following command to download the rootfs.tar.xz from the linuxcontainers.org site:

wget https://images.linuxcontainers.org/images/debian/buster/amd64/default/20241202_05:24/rootfs.tar.xz -O debian-buster.tar.xz

3. In the Proxmox GUI this template should now appear with the name we gave it: debian-buster.tar.xz

4. Use the create new CT wizard in the GUI using that template.

5. Start up the LXC, login & enter cat /etc/debian_version & you will have 10.13
 
  • Like
Reactions: waltar