在MT7620A上安装chroot版的Debian,但最后出现无法执行mount的提示:
W: Failure trying to run: chroot /root/sdhc mount -t proc proc /proc
W: See /root/sdhc/debootstrap/debootstrap.log for details
用file对比了下文件:
root@OpenWrt:~/sdhc# file /usr/bin/mount
/usr/bin/mount: ELF 32-bit LSB executable, MIPS, MIPS32 rel2 version 1, dynamically linked (uses shared libs), corrupted section header size
root@OpenWrt:~/sdhc# file bin/mount
bin/mount: setuid ELF 32-bit MSB executable, MIPS, MIPS-II version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=cc4ee3da10f449fdffb58a479e25af5841d485e7, stripped
一个LSB,一个MSB,恐怕问题是出在这里吧?
除了自己编译,有没有更好的解决方案?
1
LazyZhu 2014-12-28 17:31:48 +08:00 1
MT7620A是小端, 用 debian mipsel
|