linux挂载了一块硬盘以后不能启动了

[复制链接]
查看11 | 回复1 | 2009-6-14 17:32:41 | 显示全部楼层 |阅读模式
我在虚拟机上面新建了一块2G硬盘,然后挂载到/home目录里面。挂载完以后去 /etc/fstab 里面添加 /dev/hdb5 /home/disk2 ext3 defaults 1 2.
重启以后:
checking filesystems
fsck.ext3possibly non-existent or swap device?
/boot:clean,41/26104 files,12728/104391 blocks
:No such device or address while trying to open /dev/hdb5
[FAILED]
*** An error occurred during the file system check.
*** Dropping you to a shell;the system will reboot
*** when you leave the shell.
GIVE root password for maintenance
(or type Control-D to continue):
然后输入密码,fsck -y /dev/hdb5
fsck 1.32 (09-Nov-2002)
modprobe:modprobe:can't locate module block-major-3
fsck.ext3:no such device or address while trying to open /dev b5
possibly non-existent or swap device?
什么原因啊?
2楼可能就是我改fstab的时候那里出了问题,那我现在要fsck boot吗?

回复

使用道具 举报

千问 | 2009-6-14 17:32:41 | 显示全部楼层
不能启动根本不是这个问题,/boot分区出问题了,你应该先fsck boot分区才是,或者你在改动fstab文件的时候动了boot分区这一部分,你自己先仔细看看再说。...
回复

使用道具 举报

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

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行