Migrate Architecture (Cross-grade) of LXC i386 to amd64

Jospeh Huber

Renowned Member
Apr 18, 2016
99
7
73
45
Hi,

we have some lxc containers which are running in i386 mode. The should be be migrated to amd64.
The containers use a debian stretch os inside.

I manually edited the /etc/pve/lxc.conf of a container and changed the architecture.
#arch: i386
arch: amd64

The containers then boots the 64bit kernel that's fine as a first step. The 64 Bit kernel is also able to execute 32bit.

I found this
https://wiki.debian.org/CrossGrading
As a First step I have to add "apt-get install multiarch-support"
But this ends in a desaster, broken system.

Does anybody know a solution to migrate between the architecture without reinstalling it?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!