我正在尝试设置Precise 12.04
under的chroot映像Lucid 10.04
。该过程似乎很好,但是当我这样schroot -c precise -u root
做时,在chroot映像的/ home下看不到任何东西。这意味着未安装/ home。
我的默认装载内容:
cat /etc/schroot/mount-defaults
# mount.defaults: static file system information for chroots.
# Note that the mount point will be prefixed by the chroot path
# (CHROOT_PATH)
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
#procbususb /proc/bus/usb usbfs defaults 0 0
#/dev /dev none rw,bind 0 0
/dev/pts /dev/pts none rw,bind 0 0
/dev/shm /dev/shm none rw,bind 0 0
/home /home none rw,bind 0 0
/tmp /tmp none rw,bind 0 0
我的主机/ home是到单独分区的安装。我如何获得/ home或任何外部目录来挂载到我的chroot映像上?
诀窍是将type=directory
图像定义放在下/etc/schroot/schroot.conf
。请参阅man schroot.conf
以获取更多信息。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句