加入收藏 | 设为首页 | 会员中心 | 我要投稿 佛山站长网 (https://www.0757zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 搭建环境 > Linux > 正文

redhat常见系统故障及恢复

发布时间:2016-10-29 03:00:45 所属栏目:Linux 来源:网络整理
导读:linux开机流程图: 错误1. MBR 丢失 模拟错误 [root@localhost ~]#dd if=/dev/zero of=/dev/sda bs=1 count=446 //覆盖掉引导bootload 系统重启后,不能启动。

需要引导镜像

redhat常见系统故障及恢复

1.chroot /mnt/sysimage        挂载

2.grub-install   /dev/sda      重建bootload

3.exit          /两次exit 系统 reboot

4.exit

redhat常见系统故障及恢复

错误2。 Grub 菜单丢失

1.[root@localhost grub]# pwd

2. /boot/grub

模拟错误 [root@localhost grub]# mv grub.conf   grub.conf.bak       //假如 grub 失去。

 /etc/grub.conf     --》  /boot/grub/grub.conf    /etc/grub.conf  是软链接

redhat常见系统故障及恢复

3.查看grub文件,以便修复知道格式。

[root@localhost ~]# vim /etc/grub.conf     initrd 驱动镜像

redhat常见系统故障及恢复

查看本栏目更多精彩内容:http://www.bianceng.cn/OS/Linux/

4.重启 不能引导错误的表现如下。

redhat常见系统故障及恢复

5.修复方法:

redhat常见系统故障及恢复

(编辑:佛山站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

热点阅读