在制作嵌入式文件系统,使用nfs挂载模式时出现can't open /dev/tty2 : No such file or directory 错误的解决方法
来源:互联网 发布:phpmyadmin软件 编辑:程序博客网 时间:2024/06/08 00:32
问题描述:
在制作嵌入式文件系统时,使用nfs挂载模式后,启动开发板(本人用的是TQ210),在SecureCRT中显示如下错误,导致无法正常运行系统。
问题原因:
由于将网上提供的 etc 解压包解压后的文件夹 etc 整个都复制到了自己创建的 rootfs / etc 目录下,导致出现了两次etc文件路劲,所以出错了。还有一点需要注意需要改变etc / init.d 文件夹下的 rcS 文件的权限。
解决方法:
1.将网上下载下来的etc目录下的文件直接复制到我自己创建的 rootfs / etc目录下,不要有多级目录(如下图所示)
2. 除此之外还要使用 chmod 777 rcS(rcS为init.d文件夹目录下的文件,请进入init.d文件夹后再使用此指令)
1 0
- 在制作嵌入式文件系统,使用nfs挂载模式时出现can't open /dev/tty2 : No such file or directory 错误的解决方法
- 加载ramdisk出现can't open /dev/tty2: No such file or directory解决方法
- can't open /dev/tty2: No such file or directory问题解决
- can't open /dev/tty2: No such file or directory问题解决 亲自实验
- can't open /dev/ttySAC0: No such file or directory
- can't open /dev/ttyS0: No such file or directory
- linux移植过程出现“can't open /dev/tq2440_serial0: No such file or directory”
- tiny210内核启动加载nfs时出现/init: line 103: can't open /r/dev/console: no such file错误
- [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
- can't open '/dev/misc/rtc': No such file or directory
- 出现这个 python: can't open file 'manage.py': [Errno 2] No such file or directory
- 挂载文件系统时Warning: unable to open an initial console和can't open /dev/ttyS0: No such file or directory
- Tiny6410开发板linux启动错误 /init: line 102: can't open /r/dev/console: no such file 的解决方法
- Tiny6410开发板linux启动错误 /init: line 102: can't open /r/dev/console: no such file 的解决方法
- VS编译openss时遇到 Can't open perl script "Configure": No such file or directory的解决办法
- 安装tensorflow,pycharm中出现libcudart.so.8.0: can't open shared object file: No such file or directory
- android学习历程——“Unable to open log device '/dev/log/main': No such file or directory”错误解决方法
- git安装后出现fatal:open /dev/null or dup failed: No such file or directory
- swift中的逻辑分支,和一些简单的三目,gurad let ,if let
- 如何批量在mysql里添加数据
- FileOutputStream
- ubuntu镜像文件安装成功后的文件共享
- java中常用算法(面试)
- 在制作嵌入式文件系统,使用nfs挂载模式时出现can't open /dev/tty2 : No such file or directory 错误的解决方法
- Niushop开源商城 平台招商接口类
- 如何导入外部数据库
- Java总结篇系列:Java泛型
- C/C++混合编程
- 在Win10,VS2013 中配置CGAL库
- 最大长方形(二)
- 索引INDEX
- start.s 解析