Chinaunix首页 | 论坛 | 博客
  • 博客访问: 302891
  • 博文数量: 79
  • 博客积分: 3458
  • 博客等级: 中校
  • 技术积分: 921
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-25 17:09
个人简介

自、管

文章分类

全部博文(79)

文章存档

2013年(7)

2012年(20)

2011年(18)

2010年(34)

分类: LINUX

2011-03-28 14:24:01

Linux上安装某软件之后,重新启动,系统提示:

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /bzImage_1360×768 ro root=LABEL=/ video...
Error 15: File not found
Press any key to continue.

Linux上安装某软件之后,重新启动,系统提示:

root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel /bzImage_1360×768 ro root=LABEL=/ video...
Error 15: File not found
Press any key to continue...

原因可能是系统启动配置被损坏,导致启动内核镜像无法找到,解决方法:
1.按任意键回到启动菜单,如grub的菜单。
2.在菜单界面按'c'进入grub命令行界面。
3.grub命令行下输入:

grub>cat /grub/grub.conf_old(用tab键找到此文件,下面的kernel参考grub.conf里面的写,此方法用于linux完被修改后启动报错)(grub.conf_old是以前保存的文件)
grub>root (hd0,0)

4. 继续在grub命令行下输入:
grub>kernel /boot/vmlinuz-2.6.9-42.ELsmp ro root=LABEL=/ rhgb quiet

回车。

(输入过程中按tab可以获得提示,也可能xxxx.Elsmp不是在/boot/下面,kernel后面用tab建,看看里面都什么东西,找到xxxx.e15PAE的文件就可以了,下面的.img要和这个.e15PAE对应。后面的rootrhgb参数要自己确定,可在grub菜单里选择某一项按'e'查看和参考已有设置),会得到一行提示信息。
5. 继续在grub命令行输入:

grub> initrd /boot/initrd-2.6.9-42.ELsmp.img

回车。(同样可以在输入过程中按tab获得提示)
6. 最后在grub命令行中输入boot(不是reboot)

7. 等待系统启动,OK

..

阅读(3273) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~