View Single Post
edp17's Avatar
Posts: 607 | Thanked: 736 times | Joined on Jul 2019 @ UK
#81
Originally Posted by edp17 View Post
Yep. I have destroyed the freshly installed stretch container and now my other one (Sid) doesn't start.
I only get the 'No Xwayland window' screen rather than the desktop.
I guess, shouldn't have tried to install more than one container at the same time.
Now I know the reason how I managed to destroy my Sid installation. It was the lack of knowledge.
So, as for the Stretch installation, I used the same config file what was created for my Sid installation, therefore when I started the Stretch container it used the Sid rootfs. (This explains why I got conky running however that was only installed on my Sid container.)
Then when I destroyed my Stretch container, I accidentally deleted the sid folder in /home/.lxc. With this action, I managed to delete the Sid rootfs, therefore that couldn't start.

I needed to create a new container and install Sid again. Then now I need to configure.

This was a lesson to learn in a hard way, so please do not follow my example.

About the /var/lib/lxc/<container_name>/config file. There are some container specific lines so we should not copy between containers, or if we do, just adjust these two lines accordingly:
Code:
# Container specific configuration
lxc.rootfs.path = dir:/home/.lxc/<container_name>
lxc.uts.name = <container_name>
where replace the <container_name> with your name of container.

Last edited by edp17; 2020-09-04 at 08:56.
 

The Following 2 Users Say Thank You to edp17 For This Useful Post: