V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
tinydebian
V2EX  ›  Linux

付费请小伙伴解决 fakeroot 不能 chroot 的问题。

  •  
  •   tinydebian · 2019-09-25 17:38:03 +08:00 · 2886 次点击
    这是一个创建于 1667 天前的主题,其中的信息可能已经有所发展或是发生改变。
    大家好,在 Ubuntu 16.04.x 下运行下面的命令:

    export DISTRO=stretch
    export TARGET_DIR=`pwd`/debian_rootfs
    echo $TARGET_DIR

    fakeroot debootstrap --foreign $DISTRO $TARGET_DIR http://ftp.cn.debian.org/debian
    fakeroot chroot $TARGET_DIR /debootstrap/debootstrap --second-stage http://ftp.cn.debian.org/debian

    最后一步,fakeroot chroot 不能运行,显示 Operation not permitted.

    付费请小伙伴解决 fakeroot 不能 chroot 的问题,有意者请邮件: [email protected]
    1 条回复    2019-09-25 18:18:12 +08:00
    codehz
        1
    codehz  
       2019-09-25 18:18:12 +08:00
    因为你需要 fakechroot
    常规操作不是 fakechroot fakeroot chroot 这样的么
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3259 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 12:52 · PVG 20:52 · LAX 05:52 · JFK 08:52
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.