You are not logged in.
I am trying to create a systemd-nspawn container, following the wiki but it the container fails to start. Here is what I am doing:
# mkfs.ext4 /dev/sda1
# mount /dev/sda1 /mnt
# pacstrap /mnt base
# systemd-nspawn -bD /mnt
Spawning container mnt on /mnt.
Press ^] three times within 1s to kill container.
Container mnt failed with error code 1.
#
Both host and container have systemd 219.
As far as I can tell from reading various documentation, the above should work. Can anyone point out what's wrong with what I am doing?
Offline
The procedure described in the wiki works fine for me (I created the container in a directory and not on a mountpoint though). Is there something interesting in the journal?
Offline
The wiki page advise using `pacstrap` with the "-d" flag -- have you tried that?
https://wiki.archlinux.org/index.php/Sy … _container
Is the system actually installed?
Can you view the filesystem in /mnt?
Try creating a specific directory just for the container rather than using /mnt
Jin, Jiyan, Azadî
Offline