I have an old Ubuntu 14.04 server whose hardware I’d like to decommission. I found the helpful lxd-migrate instructions, which I followed and now have an equivalent container to the physical server. The problem is that nothing starts. No daemons, services, etc. It doesn’t even bring up the network. Looking at the output from
I guess I have no /dev/kmsg. I found here where @stgraber said “there is no /dev/ksmg” but I’m a little unclear what to do next to get past this error and/or have the init process continue.
Thank you, Stéphane. Commenting out everything in /etc/fstab did the trick. I took a look at some of my other containers which were created using lxc init or lxc launch and their fstab looked something like
LABEL=cloudimg-rootfs / ext4 defaults 0 0
When using the lxd-migrate tool to create a container, it asks which filesystem to use as root. I naturally chose / which (naturally) copies fstab as-is. Might be a good addendum to the docs to edit this if you do not think this was just me.