Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Apr 2009 16:47:47 +0400
From:      subbsd <subbsd@gmail.com>
To:        freebsd-virtualization@freebsd.org
Subject:   chroot is not ready?
Message-ID:  <200904101647.47690.subbsd@gmail.com>

next in thread | raw e-mail | index | archive | help
Hello maillist

i try to setup vimage chrootet to another "installworld/distribution" places:

1)mkdir -p /usr/jail/vbsd2.my.domain

2) cd /usr/src && make installworld DESTDIR="/usr/jail/vbsd2.my.domain" && 
make distribution DESTDIR="/usr/jail/vbsd2.my.domain"

//file for test
3) date > /nochroot.txt

//create v1 image with chroot 
4) vimage -c v1 chroot /usr/jail/vbsd1.my.domain/

//this step for test chroot not necessary? but assign anyway
5) vimage -i v1 bge1
eth0@v1

6) vimage v1
Switched to vimage v1

// i see nochroot.txt:
7) vimage v1 /usr/bin/file /nochroot.txt
/nochroot.txt: ASCII text

;(
chroot not ready yet? Thanks!

PS: using vimage_7_20090401.tgz for 7-RELENG






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904101647.47690.subbsd>