chroot FATAL: kernel too old

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/kangear/article/details/80709043

chroot使用了很多年,第一次遇到这个问题chroot FATAL: kernel too old。那是在一个Android 4.2.2(kernel 3.0.36)下准备chroot进Ubuntu 16.04下遇到的问题,简单使用strace跟踪了一下,是Ubuntu 16.04里报的错误和busybox sh都没有关系,换成Ubuntu 14.04没有问题了。具体的问题是出在了Ubuntu文件系统里有gcc库文件,库文件使用了arm-linux-gcc,arm-linux-gcc有最低版本内核的要求,Ubuntu 16.04内的指定的内核版本可能高于3.0.36,从而导致出现chroot FATAL: kernel too old

猜你喜欢

转载自blog.csdn.net/kangear/article/details/80709043
今日推荐