前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >安装Redhat 5.8遇到的一系列问题

安装Redhat 5.8遇到的一系列问题

作者头像
s1mba
发布2018-01-03 17:25:26
2.2K0
发布2018-01-03 17:25:26
举报
文章被收录于专栏:开发与安全

为啥要将ubuntu换成redhat呢,因为接下来想把EDA工具都安装在下面。最后还是因为对显卡驱动不满而重装ubuntu,但这个过程还是学到很多。

写在前面,最重要的一点就是U盘的刻录引导,折腾后发现redhat的安装明显比ubuntu要难不少,ubuntu只要将整个iso直接刻录到u盘上就可以直接引导安装了。而redhat需要注意的有,先将images下面的boot.iso提取出来然后刻录到u盘,记得写入syslinux引导,然后将boot.iso里面的vmlinuz,intrid.img两个文件复制到u盘的根目录(用来引导镜像安装),接着将整个dvd.iso复制进u盘放在根目录,这样就不会出现说在u盘,一般说/dev/sdb4找不到disk driver image了。

首先遇到的第一个问题,本来找不到redhat老版本的下载如4,5(电驴被封了),就下了它的表兄弟版就是centos,我用U盘刻录的是64位的centos 6,但我不知道接下来这个问题是不是跟64位有关。

安装流程到了分区的时候出现

Partitioning errors: sda must have a gpt disk label

http://forums.fedoraforum.org/showthread.php?t=271743

上述网址有详细的讨论,摘录一小段:

Firmware type (BIOS vs. EFI/UEFI) -- Older computers, and some new ones, use a firmware called the Basic Input/Output System (BIOS). The industry is in the process of switching to a new system, known as the Extensible Firmware Interface (EFI) or its version 2.x variant, Unified EFI (UEFI). Many current computers have (U)EFI-enabled firmware, but these computers usually include an option to boot in the old BIOS way. Unfortunately, user interface details vary greatly, so I can't describe precisely how to select the boot mode. The boot mode, however, is set from the firmware setup utility before you boot any OS. I've heard of systems with such poor user interfaces that there's no way to set the boot mode; the system tries to set the boot mode automatically, and sometimes does it in a way that's unhelpful. It's possible you're suffering from this problem. (See below.)

Partition table type (MBR vs. GPT) -- Until recently, most PCs used the old Master Boot Record (MBR) partition table type. This system, however, is limited in various ways, one of which (the 32-bit sector pointers) means that it's useless on disks bigger than 2 TiB (assuming a 512-byte sector size). Thus, a transition is underway to a new partitioning system, the GUID Partition Table (GPT). GPT uses 64-bit sector pointers, so it's got a much bigger disk size limit (8 ZiB, IIRC). Note that the MBR vs. GPT issue applies to a whole disk; you can't set just one partition to use GPT or MBR.

大概意思是bios 跟mbr关联,而现在有种新型类似bios的efi,与此关联的是gpt,gpt可以容纳更多的分区,当硬盘容量超过2T时必须使用gpt,可能的情况是windows现在使用bios启动的,但高版本的linux可能要求使用efi启动,其实两种启动模式在启动时是可以选择的,但有些电脑用户接口不好,没有提示如何进入设置。

如何解决呢?try delete the efi file(s) (only found BOOTX64.efi in the EFI folder).但后来我找到了redhat的下载,就没继续装下去,所以是否有效就不得而知了。

也可以参考官网的bug https://bugzilla.redhat.com/show_bug.cgi?id=748272

第二个问题 安装redhat 4.8 直接enter会卡死在一个地方 kernel_thread_helper+0×7/0×10

http://www.absolutelytech.com/2010/11/10/solved-kernel_thread_helper0x70x10-during-ubuntu-boot-process/ 这上面提供了解决办法,说的是ubuntu,具体到redhat,可以直接输入linux acpi=off,然后就进去了。那acpi是个啥东东呢?ACPI Advanced Configuration & Power Interface Contents 就是高级配置与电源接口,安装redhat的版本太老,硬件支持acpi,但操作系统不支持,所以卡在那里,把他关闭掉就Ok了。

第三个问题  我安装4.8最后还是卡死在分区那里,最后装的是5.8,虽然最初的安装界面不需要输入linux acpi=off,但安装完成第一次重启配置的时候会卡在 redhat 0 kernel panic - not syncing fatal exception

搜了很多但没啥具体解决办法,突然想到会不会也是因为acpi,于是在grub的启动项编辑加上了quiet splash acpi=off,然后就真的进去了,当然你再次启动grub添加的会不见,还得编辑grub.conf来添加上面一行。

第四个问题  中文乱码

需要注意的是有些iso分成dvd1和dvd2,一般dvd1是系统文件,dvd2是软件安装文件,在你没能连接网时只能使用这些来安装软件了,当然能联网后直接就yum了。

1、按顺序安装如下包:

中文支持

fonts-chinese-3.02-12.el5.noarch.rpm

m17n-db-common-cjk-1.3.3-46.el5.noarch.rpm

m17n-db-chinese-1.3.3-46.el5.noarch.rpm

这部以上就可以显示中文了,下面是输入法。

中文输入法

scim-libs-1.4.4-39.el5.i386.rpm

scim-1.4.4-39.el5.i386.rpm

scim-chinese-standard-0.0.2-1.el5.i386.rpm

scim-tables-0.5.6-7.i386.rpm

scim-tables-chinese-0.5.6-7.i386.rpm

scim-pinyin-0.5.91-15.el5.i386.rpm

2、安装完成后点击 “系统-管理-语言” 选择“简体中文”,转换语言环境。

最终还是停在了显示器的驱动上,查来查去发现是因为自己的电脑是双显卡所至,如

lspci | grep -i vga 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)

 01:00.0 VGA compatible controller: NVIDIA Corporation Device 0de9 (rev a1)

仍没找到解决办法,每次安装完nvidia驱动都会进不去图形界面,我已经崩溃了,先作罢。有哪位朋友能够提点一二的请留言。

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2013-04-15 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档