|
|
我换硬盘,把原来的硬盘tar备份,然后弄到新硬盘上,启动的时候出现上面的错误。
/dev下面有console。这是什么原因呢?
********这样解决的***********
http://www.gentoo.org/doc/en/udev-guide.xml
第3部分
To see which devices nodes are present before the /dev filesystem is mounted, run the following commands:
Code Listing 3.1: Listing device nodes available at boot
# mkdir test
# mount --bind / test
# cd test/dev
# ls
The devices needed for a successful boot are /dev/null and /dev/console. If they didn't show up in the previous test, you have to create them manually. Issue the following commands in the test/dev/ directory:
Code Listing 3.2: Creating necessary device node files
# mknod -m 660 console c 5 1
# mknod -m 660 null c 1 3
When you're finished, don't forget to unmount the test/ directory:
Code Listing 3.3: Unmounting the test/ directory
# cd ../..
# umount test
# rmdir test |
|