LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: gzl1100

[已解决]LFS制作完成,并能正常使用,但是引导过程提示错误

[复制链接]
 楼主| 发表于 2010-8-6 21:59:33 | 显示全部楼层
Post by cqcya;2106749
问题还是出来kernel,你看看Chapter 8. Making the LFS System Bootable,The /dev/shm mount point for tmpfs is included to allow enabling POSIX-shared memory. The kernel must have the required support built into it for this to work (more about this is in the next section). Please note that very little software currently uses POSIX-shared memory. Therefore, consider the /dev/shm mount point optional. For more information, see Documentation/filesystems/tmpfs.txt in the kernel source tree.

中文:/dev/shm 挂载点是为了tmpfs能包括启用POSIX共享内存。 这需要内核必须在编的时候支持这个选项才能起作用 (更多相关信息在下一章)。请注意, 目前很少软件使用POSIX共享内存。因而,认为/dev/shm加载点是可选的。 更多信息,请参考内核源码目录中的Documentation/filesystems/tmpfs.txt。


我用make menuconfig查看了下内核发现tmpfs、ptsfs已经编译进内核了。后来想可能是在编译、安装udev的问题。
就重新创建以下文件以及连接后,再次重启,问题解决。
install -dv /lib/{firmware,udev/devices/{pts,shm}}
mknod -m0666 /lib/udev/devices/null c 1 3
ln -sv /proc/self/fd /lib/udev/devices/fd
ln -sv /proc/self/fd/0 /lib/udev/devices/stdin
ln -sv /proc/self/fd/1 /lib/udev/devices/stdout
ln -sv /proc/self/fd/2 /lib/udev/devices/stderr
ln -sv /proc/kcore /lib/udev/devices/core
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表