首页 > 编程知识 正文

uefi模式下安装centos,安装系统uefi模式

时间:2023-05-03 14:12:34 阅读:240884 作者:4075

UEFI 方式安装 CentOS 6.9问题整理
linux 启动失败,报错为"Invalid magic number 0 error 13: invalid or unsupported executable format"
硬件:服务器主板:C246,CPU:i7-8700K;
问题:由于,硬件不支持传统模式安装,按照正常UEFI模式分区装完后会出现以下错误,无法进入系统,见下图:

进入救援模式后查看相关系统文件,见下图:

用grub的命令行方式手工引导:
kernel /vmlinuz tab补齐
initrd /initram tab补齐
boot
可以引导成功。
下面是用grub命令行抓取的fstab以及grub.conf文件
cat (hd0,3)/etc/fstab
注意巧用tab补齐命令

看来是tboot的问题,tboot 包不支持UEFI BIOS。
网上搜索到:
经过和RedHat确认,RHEL6.3在UEFI模式下不支持TBOOT,在安装过程中,不能选择安装“tboot”软件包。RedHat官方网站关于该问题的描述:https://access.redhat.com/knowledge/articles/186583。
Trusted Execution Technology(TXT) and tboot are supported inRHEL 6 when using legacy BIOS. TXT and tboot will does not workwith uEFI mode enabled. With uEFI and tboot enabled the server willnot boot.

解决方案:
如下图所示,在安装过程中,不要选择安装tboot-1.9.4-3.el6.x86_64.rpm软件包。

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。