物理机安装linux系统失败,物理机(服务器)安装centos6.5 无法启动报Error loading operating--(示例代码)...

博客内容讲述了在使用U盘安装CENTOS6.5过程中遇到的GRUB启动错误。作者详细描述了从U盘启动系统并尝试设置GRUB的步骤,包括查看分区、指定根目录和执行安装。尽管安装过程看似成功,但拔掉U盘后系统无法正常启动,显示出错信息。
摘要由CSDN通过智能技术生成

故障分析

用U盘安装CENTOS 6.5 GURB 启动文件默认安装在U盘里面,把UP盘插上能正常启动 拔掉就出现一些错误如下图

watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=

1,设置从U盘正常进入系统

2,输入GRUB

grub> root (hd0, //这里按tab 键会帮你显示/分区所在的位置

Possible partitions are:

Partition num: 0, Filesystem type is ext2fs, partition type 0x83

Partition num: 4, Filesystem type unknown, partition type 0x82

Partition num: 5, Filesystem type is ext2fs, partition type 0x83

Partition num: 6, Filesystem type is ext2fs, partition type 0x83

grub> root (hd0,0)

grub> setup (hd0)

Checking if "/boot/grub/stage1" exists... yes

Checking if "/boot/grub/stage2" exists... yes

Checking if "/boot/grub/e2fs_stage1_5" exists... yes

Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 17 sectors are embedded.

succeeded

Running "install /boot/grub/stage1 (hd0) (hd0)1+17 p (hd0,0)/boot/grub/stage2

/boot/grub/menu.lst"... succeeded

Done.

然后退出GRUB,reboot

重新启动电脑!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值