虚拟机安装啦红帽linux系统,启动报错,不能正常启动,一直卡在开机界面,我的是RedFlagin_V8.0系统。
3个回答
展开全部
你这是文件系统出错了吧。
输入不显示文字的时候,可能是要求你输入root密码的,
你试试输入root密码,回车后出现类似“(Repair filesystem) 1 #”的提示符的话,
就可以执行命令了。
然后按照系统提示上说的,用fsck对磁盘进行检查修复。
先mount,然后再fsck试试看。
下面是网上摘录的执行过程,参考一下。
(Repair filesystem) 1 # _
(Repair filesystem) 1 # mount
/dev/sda1 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devfs (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
mount: warning: /etc/mtab is not writable (e.g. read-only filesystem).
It's possible that information reported by mount(8) is not
up to date. For actual information about system mount points
check the /proc/mounts file.
(Repair filesystem) 2 # fsck -t ext3 /dev/sda1
fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
/ contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Inodes that were part of a corrupted orphan linked lit found. Fix<y>?
遇到系统询问就回车,直接默认y即可。
最后退出,系统应该会自动重启。
(Repair filesystem) 3 # exit
输入不显示文字的时候,可能是要求你输入root密码的,
你试试输入root密码,回车后出现类似“(Repair filesystem) 1 #”的提示符的话,
就可以执行命令了。
然后按照系统提示上说的,用fsck对磁盘进行检查修复。
先mount,然后再fsck试试看。
下面是网上摘录的执行过程,参考一下。
(Repair filesystem) 1 # _
(Repair filesystem) 1 # mount
/dev/sda1 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devfs (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
mount: warning: /etc/mtab is not writable (e.g. read-only filesystem).
It's possible that information reported by mount(8) is not
up to date. For actual information about system mount points
check the /proc/mounts file.
(Repair filesystem) 2 # fsck -t ext3 /dev/sda1
fsck 1.39 (29-May-2006)
e2fsck 1.39 (29-May-2006)
/ contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Inodes that were part of a corrupted orphan linked lit found. Fix<y>?
遇到系统询问就回车,直接默认y即可。
最后退出,系统应该会自动重启。
(Repair filesystem) 3 # exit
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询