LFS所有软件编译完成后重新起动,出现
Mounting virtual file systems: /run /proc /sys /devmount : can't find /dev in /etc/fstab or /etc/mtab
ln: failed to create symbolic link '/dev/shm' : Read only file system
cp: cannot remove '/dev/null': Read-only file system
Failure:
unforseen error took place in /etc/rc.d/rcs.d/S00mountvirtfs
which exited with a return value of 1
解决:
内核编译选项中加入以下选项
Device Drivers --->
Generic Driver Options --->
Maintain a devtmpfs filesystem to mount at / dev