You are not logged in.
I use Arch Linux (64 bits) as my desktop, but I'd like to have an Ubuntu chroot for development purposes. I installed schroot and debootstrap, created a directory for the jail, and executed:
sudo debootstrap --arch amd64 lucid /var/chroot/ubuntu http://au.archive.ubuntu.com/ubuntu/
Then I edited /etc/schroot/schroot.conf to include only one chroot:
[ubuntu]
description=Ubuntu
type=directory
directory=/var/chroot/ubuntu
priority=1
users=myusername
root-users=myusername
aliases=lucid,default
"myusername" is a placeholder, I wrote my actual username.
I should be able to "schroot -c ubuntu", but when I run the command I receive this error message:
E: 20nssdatabases: /usr/bin/stat: cannot stat `/etc/networks': No such file or directory
E: ubuntu-4df5c899-3603-4a37-ab0f-d81fc3855c8d: Preparação do chroot falhou: etapa=setup-start
And then I'm back to the Arch Linux command line.
What should I do to make my Amd64 Ubuntu chroot work?
Thanks in advance.
Last edited by leonardof (2010-07-24 19:30:31)
Offline
Tip: touching /etc/networks in Arch Linux doesn't fix it. After creating the files schroot looks for in the host system, I can enter the jail but I have no networking.
Offline
To fix the network error message you need to comment networks in /etc/schroot/default/nssdatabases.
Offline
Thank you, I'll do it as soon as I get home.
Offline
Worksforme. Thank you. :-)
Offline