red hat enterprise linux 5 · 4.5. 从 光 盘 中 安 装 4.5.1. 如 果 没 有 发 现 ide 光...

290
Red Hat Enterprise Linux 5 Installation Guide for Red Hat Enterprise Linux 5.0 5.0 Last Updated: 2017-10-16

Upload: others

Post on 20-Jul-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

  • Red Hat Enterprise Linux 5

    Installation Guide

    for Red Hat Enterprise Linux 5.0

    版 5.0

    Last Updated: 2017-10-16

  • Red Hat Enterprise Linux 5 Installation Guide

    for Red Hat Enterprise Linux 5.0版 5.0

    [email protected]

  • 法律通告法律通告

    Copyright © 2008 Red Hat, Inc.

    This document is licensed by Red Hat under the Creative Commons Attribution-ShareAlike 3.0Unported License. If you distribute this document, or a modified version of it, you must provideattribution to Red Hat, Inc. and provide a link to the original. If the document is modified, all RedHat trademarks must be removed.

    Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert,Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.

    Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, OpenShift, Fedora, the Infinitylogo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and othercountries.

    Linux ® is the registered trademark of Linus Torvalds in the United States and other countries.

    Java ® is a registered trademark of Oracle and/or its affiliates.

    XFS ® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the UnitedStates and/or other countries.

    MySQL ® is a registered trademark of MySQL AB in the United States, the European Union andother countries.

    Node.js ® is an official trademark of Joyent. Red Hat Software Collections is not formally relatedto or endorsed by the official Joyent Node.js open source or commercial project.

    The OpenStack ® Word Mark and OpenStack logo are either registered trademarks/service marksor trademarks/service marks of the OpenStack Foundation, in the United States and othercountries and are used with the OpenStack Foundation's permission. We are not affiliated with,endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.

    All other trademarks are the property of their respective owners.

    摘要摘要

    This Installation Guide documents relevant information regarding the installation of Red HatEnterprise Linux 5.0

    http://creativecommons.org/licenses/by-sa/3.0/

  • . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    目录目录

    简简 介介 1. 与 体 系 结 构 相 关 的 信 息 2. 还 有 更 多 内 容

    2.1. 发 送 您 的 反 馈 3. 其 它 手 册 的 位 置

    部分部分 I. X86、、 AMD64、、 INTEL® 64 和和 ITANIUM - 安安 装装 和和 引引 导导

    第第 1 章章 ITANIUM 系系 统统 特特 有有 的的 信信 息息 1.1. ITANIUM 系 统 安 装 概 述 1.2. ITANIUM 系 统 — EFI SHELL

    1.2.1. Itanium 系 统 — EFI 设 备 名 称 1.2.2. Itanium 系 统 — EFI 系 统 分 区

    第第 2 章章 安安 装装 前前 的的 准准 备备 工工 作作 2.1. 选 择 升 级 还 是 安 装 ?2.2. 您 的 硬 件 兼 容 吗 ?2.3. 你 有 足 够 的 磁 盘 空 间 吗 ?2.4. 您 可 以 使 用 光 盘 安 装 吗 ?

    2.4.1. 其 它 引 导 方 法 2.4.2. 制 作 安 装 引 导 光 盘

    2.5. 筹 备 网 络 安 装 2.5.1. 筹 备 FTP 和 HTTP 安 装 2.5.2. 筹 备 NFS 安 装

    2.6. 筹 备 硬 盘 驱 动 器 安 装

    第第 3 章章 SYSTEM SPECIFICATIONS LIST

    第第 4 章章 在在 INTEL® 或或 AMD 系系 统统 上上 进进 行行 安安 装装 的的 问问 题题 4.1. 图 形 化 安 装 程 序 用 户 界 面

    4.1.1. 虚 拟 控 制 台 的 注 记 4.2. 文 本 模 式 安 装 程 序 用 户 界 面

    4.2.1. 使 用 键 盘 来 导 航 4.3. 启 动 安 装 程 序

    4.3.1. 在 x86、 AMD64 和 Intel® 64 系 统 上 引 导 安 装 程 序 。 4.3.2. 在 Itanium 系 统 上 引 导 安 装 程 序

    4.3.2.1. 从 光 盘 中 引 导 安 装 程 序 4.3.2.2. 从 LS-120 磁 盘 来 引 导 安 装 程 序

    4.3.3. 其 它 引 导 选 项 4.3.3.1. 内 核 选 项

    4.4. 选 择 安 装 方 法 4.5. 从 光 盘 中 安 装

    4.5.1. 如 果 没 有 发 现 IDE 光 盘 怎 么 办 ?4.6. 从 硬 盘 安 装 4.7. 执 行 网 络 安 装 4.8. 通 过 NFS 安 装 4.9. 通 过 FTP 安 装 4.10. 通 过 HTTP 安 装 4.11. 欢 迎 使 用 RED HAT ENTERPRISE LINUX4.12. 语 言 选 择 4.13. 键 盘 配 置 4.14. 输 入 安 装 号 码 (INSTALLATION NUMBER)4.15. 磁 盘 分 区 设 置

    99999

    11

    1212121213

    1414141414151515161717

    19

    20202021232324242525262727282828293031323333343536

    目录目录

    1

  • . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    4.16. 高 级 存 储 选 项 4.17. 按 缺 省 格 式 分 区 4.18. 为 您 的 系 统 分 区

    4.18.1. 硬 盘 的 图 形 化 表 示 4.18.2. Disk Druid's Buttons4.18.3. 分 区 字 段 4.18.4. 推 荐 的 分 区 方 案

    4.18.4.1. Itanium 系 统 4.18.4.2. x86、 AMD64 和 Intel® 64 位 系 统

    4.18.5. 添 加 分 区 4.18.5.1. 文 件 系 统 类 型

    4.18.6. 编 辑 分 区 4.18.7. 删 除 分 区

    4.19. X86、 AMD64 和 INTEL® 64 系 统 的 引 导 装 载 程 序 (BOOT LOADER)的 配 置 4.19.1. 高 级 引 导 装 载 程 序 配 置 4.19.2. 救 援 模 式 4.19.3. 其 它 可 选 的 引 导 装 载 程 序 4.19.4. SMP 主 板 和 GRUB

    4.20. 网 络 配 置 4.21. 时 区 配 置 4.22. 设 置 根 口 令 4.23. 软 件 包 组 的 选 择 4.24. 准 备 安 装

    4.24.1. 准 备 安 装 4.25. 安 装 软 件 包 4.26. 安 装 完 成 4.27. ITANIUM 系 统 — 引 导 机 器 和 安 装 后 的 设 置

    4.27.1. 安 装 后 引 导 装 载 程 序 选 项 4.27.2. 自 动 引 导 Red Hat Enterprise Linux

    4.27.2.1. 使 用 启 动 脚 本

    第第 5 章章 删删 除除 RED HAT ENTERPRISE LINUX

    第第 6 章章 在在 INTEL® 或或 AMD 系系 统统 上上 进进 行行 安安 装装 的的 故故 障障 解解 除除 6.1. 你 无 法 引 导 红 帽 企 业 LINUX

    6.1.1. 无 法 使 用 RAID 卡 来 引 导 6.1.2. 系 统 显 示 了 信 号 11 错 误

    6.2. 安 装 起 始 部 分 的 问 题 6.2.1. 引 导 入 图 形 化 安 装 遇 到 问 题

    6.3. 安 装 过 程 中 的 问 题 6.3.1. No devices found to install Red Hat Enterprise Linux 错 误 信 息 6.3.2. 没 有 软 驱 却 要 保 存 回 溯 追 踪 消 息 6.3.3. 分 区 表 问 题 6.3.4. 使 用 剩 余 空 间 6.3.5. 其 它 分 区 问 题 6.3.6. Itanium 系 统 用 户 会 遇 到 的 其 它 分 区 问 题 6.3.7. 看 到 Python 错 误

    6.4. 安 装 后 的 问 题 6.4.1. 在 x86 系 统 的 GRUB 图 形 化 屏 幕 中 遇 到 问 题 6.4.2. 引 导 入 图 形 环 境 6.4.3. 引 导 入 X 窗 口 系 统 (GUI)的 问 题 6.4.4. X 服 务 器 崩 溃 和 非 根 用 户 的 问 题 6.4.5. 登 录 时 的 问 题

    373941424243434445464747484849515152525354565858585959606060

    62

    6464646464646565656566666666676767686969

    Installation Guide

    2

  • . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    6.4.6. 你 的 内 存 不 能 够 被 识 别 吗 ?6.4.7. 您 的 打 印 机 无 法 工 作 6.4.8. 配 置 声 卡 遇 到 问 题 6.4.9. 基 于 Apache httpd 的 服 务 /Sendmail 在 启 动 时 挂 起

    第第 7 章章 用用 于于 INTEL® 或或 AMD 系系 统统 的的 驱驱 动动 介介 质质 7.1. 为 什 么 需 要 驱 动 程 序 盘 7.2. 驱 动 程 序 介 质 到 底 是 什 么 ?7.3. 如 何 获 取 驱 动 程 序 介 质

    7.3.1. 根 据 映 像 文 件 创 建 驱 动 程 序 盘 7.4. 在 安 装 过 程 中 使 用 驱 动 程 序 映 像

    第第 8 章章 INTEL® 和和 AMD 系系 统统 的的 其其 他他 引引 导导 选选 项项

    第第 9 章章 GRUB 引引 导导 装装 载载 程程 序序 9.1. 引 导 装 载 程 序 和 系 统 架 构 9.2. GRUB

    9.2.1. GRUB 和 x86 引 导 过 程 9.2.2. GRUB 的 特 征

    9.3. 安 装 GRUB9.4. GRUB 术 语

    9.4.1. 设 备 名 9.4.2. 文 件 名 和 块 列 表 (Blocklist)9.4.3. 根 文 件 系 统 和 GRUB

    9.5. GRUB 界 面 9.5.1. 界 面 装 载 顺 序

    9.6. GRUB 命 令 9.7. GRUB 菜 单 配 置 文 件

    9.7.1. 配 置 文 件 结 构 9.7.2. 配 置 文 件 指 令

    9.8. CHANGING RUNLEVELS AT BOOT TIME9.9. 其 它 资 料

    9.9.1. 安 装 了 的 文 档 9.9.2. 有 用 的 网 站 9.9.3. 相 关 书 籍

    第第 10 章章 关关 于于 ITANIUM 和和 LINUX 的的 额额 外外 资资 料料

    部分部分 II. IBM POWER 体体 系系 结结 构构 - 安安 装装 和和 引引 导导

    第第 11 章章 安安 装装 前前 的的 准准 备备 工工 作作 11.1. 选 择 升 级 还 是 安 装 ?11.2. IBM ESERVER SYSTEM P 和 SYSTEM I 的 筹 备 工 作 11.3. 你 有 足 够 的 磁 盘 空 间 吗 ?11.4. 你 能 用 CD-ROM 或 DVD 光 盘 安 装 吗 ?11.5. 筹 备 网 络 安 装

    11.5.1. 筹 备 FTP 和 HTTP 安 装 11.5.2. 筹 备 NFS 安 装

    11.6. 筹 备 硬 盘 驱 动 器 安 装

    第第 12 章章 在在 IBM SYSTEM I 和和 IBM SYSTEM P 上上 进进 行行 安安 装装 12.1. 图 形 化 安 装 程 序 用 户 界 面 12.2. 引 导 IBM SYSTEM I 或 者 IBM SYSTEM P 安 装 程 序 12.3. 关 于 LINUX 虚 拟 控 制 台 的 注 记 12.4. 使 用 HMC VTERM

    69707071

    727272727373

    74

    787878787979808081818282838484858686868787

    88

    89

    909090909191929292

    9494949596

    目录目录

    3

  • . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    12.5. 文 本 模 式 安 装 程 序 用 户 界 面 12.5.1. 使 用 键 盘 来 导 航

    12.6. 开 始 安 装 12.6.1. 从 光 盘 中 安 装

    12.6.1.1. 如 果 没 有 发 现 IDE 光 盘 怎 么 办 ?12.7. 从 硬 盘 安 装 12.8. 执 行 网 络 安 装 12.9. 通 过 NFS 安 装 12.10. 通 过 FTP 安 装 12.11. 通 过 HTTP 安 装 12.12. 欢 迎 使 用 RED HAT ENTERPRISE LINUX12.13. 语 言 选 择 12.14. 键 盘 配 置 12.15. 输 入 安 装 号 码 12.16. 磁 盘 分 区 设 置 12.17. 高 级 存 储 选 项 12.18. 按 缺 省 格 式 分 区 12.19. 为 您 的 系 统 分 区

    12.19.1. 硬 盘 的 图 形 化 表 示 12.19.2. Disk Druid's Buttons12.19.3. 分 区 字 段 12.19.4. 推 荐 的 分 区 方 案 12.19.5. 添 加 分 区

    12.19.5.1. 文 件 系 统 类 型 12.19.6. 编 辑 分 区

    12.20. 网 络 配 置 12.21. 时 区 配 置 12.22. 设 置 根 口 令 12.23. 软 件 包 组 的 选 择 12.24. 准 备 安 装

    12.24.1. 准 备 安 装 12.25. 安 装 软 件 包 12.26. 安 装 完 成

    第第 13 章章 IBM POWER 系系 统统 的的 驱驱 动动 程程 序序 介介 质质 13.1. 为 什 么 需 要 驱 动 程 序 盘

    13.1.1. 驱 动 程 序 介 质 到 底 是 什 么 ?13.1.2. 如 何 获 取 驱 动 程 序 介 质 13.1.3. 在 安 装 过 程 中 使 用 驱 动 程 序 映 像

    第第 14 章章 在在 IBM POWER 系系 统统 上上 进进 行行 安安 装装 时时 的的 问问 题题 14.1. 你 无 法 引 导 红 帽 企 业 LINUX

    14.1.1. 系 统 显 示 了 信 号 11 错 误 14.2. 安 装 起 始 部 分 的 问 题

    14.2.1. 引 导 入 图 形 化 安 装 遇 到 问 题 14.3. 安 装 过 程 中 的 问 题

    14.3.1. No devices found to install Red Hat Enterprise Linux 错 误 信 息 14.3.2. 没 有 软 驱 却 要 保 存 回 溯 追 踪 消 息 14.3.3. 分 区 表 问 题 14.3.4. IBM™ POWER 系 统 用 户 会 遇 到 的 其 它 分 区 问 题 14.3.5. 看 到 Python 错 误

    14.4. 安 装 后 的 问 题 14.4.1. 无 法 从 *NWSSTG 启 动 IPL

    969898999999

    100101102103104104105106107108110112113113114114116117117118119

    120122124124124125

    126126126126126

    128128128128128129129129129129130131131

    Installation Guide

    4

  • . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    14.4.2. 引 导 入 图 形 环 境 14.4.3. 引 导 入 X 窗 口 系 统 (GUI)的 问 题 14.4.4. X 服 务 器 崩 溃 和 非 根 用 户 的 问 题 14.4.5. 登 录 时 的 问 题 14.4.6. 您 的 打 印 机 无 法 工 作 14.4.7. 基 于 Apache httpd 的 服 务 /Sendmail 在 启 动 时 挂 起

    第第 15 章章 IBM POWER 系系 统统 的的 其其 它它 引引 导导 选选 项项

    部分部分 III. IBM SYSTEM Z 体体 系系 结结 构构 - 安安 装装 和和 引引 导导

    第第 16 章章 安安 装装 前前 的的 准准 备备 工工 作作 16.1. 安 装 前 的 准 备 工 作 16.2. 其 他 的 SYSTEM Z 安 装 硬 件 筹 备 的 附 加 注 记 16.3. 引 导 方 法 的 基 本 回 顾 16.4. 筹 备 网 络 安 装

    16.4.1. 筹 备 FTP 和 HTTP 安 装 16.4.2. 筹 备 NFS 安 装

    16.5. 筹 备 硬 盘 驱 动 器 安 装 16.6. 在 Z/VM 下 安 装 16.7. 使 用 RED HAT ENTERPRISE LINUX LPAR 光 盘 在 LPAR 内 安 装 16.8. 不 使 用 RED HAT ENTERPRISE LINUX SYSTEM Z 光 盘 的 LPAR 安 装 16.9. 在 LPAR 上 安 装 (通 用 步 骤 )16.10. 你 有 足 够 的 磁 盘 空 间 吗 ?

    第第 17 章章 在在 IBM SYSTEM Z 系系 统统 上上 进进 行行 安安 装装 17.1. 图 形 化 安 装 程 序 用 户 界 面 17.2. 文 本 模 式 安 装 程 序 用 户 界 面

    17.2.1. 使 用 键 盘 来 导 航 17.3. 运 行 安 装 程 序

    17.3.1. 使 用 X11 转 发 来 安 装 17.3.2. 使 用 VNC 来 安 装

    17.4. 从 硬 盘 (DASD)安 装 17.5. 通 过 NFS 安 装 17.6. 通 过 FTP 安 装 17.7. 通 过 HTTP 安 装 17.8. 欢 迎 使 用 RED HAT ENTERPRISE LINUX17.9. 语 言 选 择 17.10. 输 入 安 装 号 码 17.11. 磁 盘 分 区 设 置 17.12. 高 级 存 储 选 项

    17.12.1. FCP 设 备 17.13. 按 缺 省 格 式 分 区 17.14. 为 您 的 系 统 分 区

    17.14.1. DASD 设 备 的 图 形 化 表 示 17.14.2. Disk Druid's Buttons17.14.3. 分 区 字 段 17.14.4. 推 荐 的 分 区 方 案 17.14.5. 编 辑 分 区

    17.15. 网 络 配 置 17.16. 时 区 配 置 17.17. 设 置 根 口 令 17.18. 软 件 包 组 的 选 择 17.19. 准 备 安 装

    131132132132132132

    134

    136

    137137137137138138139139140144144145145

    147147147149149150150150151151152153154155156157157160161162162163163164164166167169171

    目录目录

    5

  • . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    17.19.1. 准 备 安 装 17.20. 安 装 软 件 包 17.21. 安 装 完 成

    第第 18 章章 删删 除除 RED HAT ENTERPRISE LINUX

    第第 19 章章 参参 数数 文文 件件 范范 例例

    第第 20 章章 其其 它它 引引 导导 选选 项项

    第第 21 章章 在在 IBM Z 系系 统统 上上 进进 行行 安安 装装 的的 问问 题题 21.1. 你 无 法 引 导 红 帽 企 业 LINUX

    21.1.1. 系 统 显 示 了 信 号 11 错 误 21.2. 安 装 过 程 中 的 问 题

    21.2.1. No devices found to install Red Hat Enterprise Linux 错 误 信 息 21.2.2. 分 区 表 问 题 21.2.3. 其 它 分 区 问 题 21.2.4. 看 到 Python 错 误

    21.3. 安 装 后 的 问 题 21.3.1. 远 程 图 形 化 桌 面 和 XDMCP21.3.2. 登 录 时 的 问 题 21.3.3. 您 的 打 印 机 无 法 工 作 21.3.4. 基 于 Apache httpd 的 服 务 /Sendmail 在 启 动 时 挂 起

    第第 22 章章 为为 IBM SYSTEM Z 用用 户户 提提 供供 的的 附附 加加 信信 息息 22.1. SYSFS 文 件 系 统 22.2. 使 用 ZFCP 驱 动 程 序 22.3. 使 用 MDADM 来 配 置 基 于 RAID 的 多 路 径 贮 存

    22.3.1. 使 用 mdadm 来 创 建 RAID 设 备 22.3.2. 使 用 mdadm 来 创 建 多 路 径 设 备

    22.4. 从 SCSI 设 备 配 置 IPL22.4.1. IPL SCSI 磁 盘

    22.5. 添 加 DASD22.6. 添 加 网 络 设 备

    22.6.1. 添 加 qeth 设 备 22.6.2. 添 加 网 络 设 备 快 速 指 南

    22.6.2.1. LCS 设 备 驱 动 22.6.2.2. 使 用 QETH 设 备 驱 动

    22.7. 和 内 核 相 关 的 信 息

    部分部分 IV. 通通 用用 步步 骤骤

    第第 23 章章 升升 级级 你你 当当 前前 的的 系系 统统 23.1. 选 择 升 级 还 是 重 新 安 装 23.2. 给 你 的 系 统 升 级

    第第 24 章章 激激 活活 订订 阅阅 24.1. RHN 注 册

    24.1.1. 提 供 红 帽 登 录 帐 号 24.1.2. 提 供 你 的 安 装 号 码 24.1.3. 连 接 系 统

    第第 25 章章 磁磁 盘盘 分分 区区 简简 介介 25.1. 硬 盘 基 本 概 念

    25.1.1. 不 是 你 写 入 什 么 ,而 是 你 怎 么 写 入 25.1.2. 分 区 :将 一 个 驱 动 器 变 成 多 个 驱 动 器

    171171

    172

    173

    174

    177

    179179179179179179179180180180181181181

    182182182186186187189189189193194198198

    200201

    203

    204204205

    206206206206206

    208208208209

    Installation Guide

    6

  • . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    25.1.3. 分 区 内 的 分 区 — 扩 展 分 区 概 述 25.1.4. 为 Red Hat Enterprise Linux 腾 挪 空 间

    25.1.4.1. 使 用 未 经 分 区 的 空 闲 空 间 25.1.4.2. 使 用 一 个 未 使 用 过 的 分 区 中 的 空 间 25.1.4.3. 使 用 活 跃 分 区 中 的 空 闲 空 间

    25.1.4.3.1. 压 缩 现 存 数 据 25.1.4.3.2. Resize the existing partition25.1.4.3.3. Create new partition(s)

    25.1.5. 分 区 命 名 方 案 25.1.6. 磁 盘 分 区 以 及 其 它 操 作 系 统 25.1.7. 磁 盘 分 区 和 挂 载 点 25.1.8. 多 少 个 分 区 ?

    部分部分 V. 基基 本本 系系 统统 恢恢 复复

    第第 26 章章 基基 本本 系系 统统 恢恢 复复 26.1. 常 见 问 题

    26.1.1. 无 法 引 导 Red Hat Enterprise Linux26.1.2. 硬 件 或 软 件 问 题 26.1.3. 根 口 令

    26.2. 引 导 救 援 模 式 26.2.1. 重 新 安 装 引 导 装 载 程 序

    26.3. 引 导 单 用 户 模 式 26.4. 引 导 紧 急 模 式

    第第 27 章章 POWER 系系 统统 的的 救救 援援 模模 式式 27.1. 从 救 援 模 式 中 使 用 SCSI 工 具 的 特 殊 考 虑 因 素

    部分部分 VI. 高高 级级 安安 装装 和和 部部 署署

    第第 28 章章 KICKSTART 安安 装装 28.1. KICKSTART 安 装 是 什 么 ?28.2. 如 何 执 行 KICKSTART 安 装 28.3. 创 建 KICKSTART 文 件 28.4. KICKSTART 选 项

    28.4.1. 高 级 的 分 区 示 例 28.5. 软 件 包 选 择 28.6. 预 安 装 脚 本

    28.6.1. 范 例 28.7. 安 装 后 脚 本

    28.7.1. 范 例 28.8. 如 何 使 KICKSTART 文 件 可 被 利 用

    28.8.1. 创 建 kickstart 引 导 介 质 28.8.2. 在 网 络 上 提 供 Kickstart 文 件

    28.9. 提 供 安 装 树 28.10. 开 始 KICKSTART 安 装

    第第 29 章章 KICKSTART CONFIGURATOR29.1. BASIC CONFIGURATION29.2. 安 装 方 法 29.3. BOOT LOADER OPTIONS29.4. 分 区 信 息

    29.4.1. 创 建 分 区 29.4.1.1. 创 建 软 件 RAID 分 区

    29.5. 网 络 配 置

    211212212213213215215215216217217217

    219

    220220220220220220222223223

    224224

    225

    226226226226227244245246246247248248248249250250

    256256257258259260261263

    目录目录

    7

  • . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    29.6. 验 证 29.7. 防 火 墙 配 置

    29.7.1. SELinux 配 置 29.8. 显 示 配 置

    29.8.1. 常 规 29.8.2. 视 频 卡 29.8.3. 显 示 器

    29.9. 软 件 包 选 择 29.10. 预 安 装 脚 本 29.11. 安 装 后 脚 本

    29.11.1. chroot 环 境 29.11.2. 使 用 解 释 器

    29.12. 保 存 文 件

    第第 30 章章 引引 导导 过过 程程 、、 初初 始始 化化 和和 关关 闭闭 30.1. 引 导 过 程 30.2. 对 引 导 过 程 的 详 细 介 绍

    30.2.1. BIOS30.2.2. 引 导 装 载 程 序

    30.2.2.1. 其 他 体 系 结 构 机 器 的 引 导 装 载 程 序 30.2.3. 内 核 30.2.4. /sbin/init 程 序

    30.3. 在 引 导 时 运 行 其 他 的 程 序 30.4. SYSV INIT 运 行 级 别

    30.4.1. 运 行 级 别 30.4.2. 运 行 级 别 工 具

    30.5. 关 机

    第第 31 章章 PXE 网网 络络 安安 装装 31.1. 设 置 网 络 服 务 器 31.2. PXE 引 导 配 置

    31.2.1. 命 令 行 配 置 31.3. 添 加 PXE 主 机

    31.3.1. 命 令 行 配 置 31.4. TFTPD

    31.4.1. 启 动 tftp 服 务 器 31.5. 配 置 DHCP 服 务 器 31.6. 添 加 定 制 引 导 消 息 31.7. 执 行 PXE 安 装

    附录附录 A. REVISION HISTORY

    264265266266267267268269269271272272272

    274274274274274275275276279279279280280

    282282282282283284284284284285285

    286

    Installation Guide

    8

  • 简 介 欢 迎 使 用 《 Red Hat Enterprise Linux Installation Guide》 。

    本 手 册 的 HTML、 PDF 版 本 可 在 以 下 网 址 上 查 看 : http://www.redhat.com/docs/。

    注意注意

    Although this manual reflects the most current information possible, read the Red HatEnterprise Linux Release Notes for information that may not have been available prior tothe documentation being finalized. The Release Notes can be found on the Red HatEnterprise Linux CD #1, online at http://www.redhat.com/docs/, or in the /usr/share/doc/redhat-release-notes-5/ directory afterinstallation, where is Server, Client, or Desktop.

    1. 与 体 系 结 构 相 关 的 信 息

    本 指 南 分 成 以 下 几 个 不 同 的 部 分 :

    第 一 部 分 到 第 三 部 分 是 与 体 系 结 构 相 关 的 内 容 ,以 及 在 32 和 64 位 的 Intel® 和 AMD 系 统 、 基 于 IBMPOWER 的 系 统 和 IBM System z 系 统 上 安 装 Red Hat Enterprise Linux 5.0 的 说 明 。

    第 四 部 分 介 绍 了 一 些 常 用 的 任 务 ,包 括 向 Red Hat Network注 册 和 磁 盘 分 区 的 一 般 信 息 。

    第 五 部 分 内 容 是 关 于 “ 基 本 的 系 统 恢 复 ” 的 ,并 包 括 了 某 些 与 体 系 结 构 相 关 的 信 息 ,以 及 适 用 于 所 有 体 系 结 构 的 信 息 。

    第 六 部 分 内 容 包 含 了 高 级 安 装 主 题 的 信 息 ,如 Kickstart、 PXE 和 Diskless 安 装 。

    2. 还 有 更 多 内 容

    The Red Hat Enterprise Linux Installation Guide is part of Red Hat's ongoing commitment to provideuseful and timely support and information to Red Hat Enterprise Linux users.

    2.1. 发 送 您 的 反 馈

    If you spot a typo in the Red Hat Enterprise Linux Installation Guide, or if you have thought of a way tomake this manual better, we would love to hear from you! Submit a report in Bugzilla(http://bugzilla.redhat.com/bugzilla/) against the component Installation_Guide(Product: Red Hat Enterprise Linux, Version: 5.0).

    如 果 你 有 改 进 本 书 的 建 议 ,请 尽 可 能 详 细 地 阐 明 。 如 果 你 发 现 了 错 误 ,请 指 明 所 在 章 节 及 相 关 的 段 落 内 容 ,以 便 我 们 可 以 轻 易 地 查 找 到 。

    3. 其 它 手 册 的 位 置

    Red Hat Enterprise Linux 在 线 手 册 可 以 从 www.redhat.com/docs 上 获 得 。

    简简 介介

    9

    http://www.redhat.com/docs/http://www.redhat.com/docs/http://bugzilla.redhat.com/bugzilla/

  • 除 了 涵 盖 安 装 的 本 手 册 外 ,《 Red Hat Enterprise Linux Deployment Guide》 还 包 含 系 统 管 理 和 安 全 的 进 一 步 信 息 。

    本 手 册 的 HTML、 PDF 版 本 可 在 以 下 网 址 上 查 看 : http://www.redhat.com/docs/。

    注意注意

    Although this manual reflects the most current information possible, read the Red HatEnterprise Linux Release Notes for information that may not have been available prior tothe documentation being finalized. The Release Notes can be found on the Red HatEnterprise Linux CD #1, online at http://www.redhat.com/docs/, or in the /usr/share/doc/redhat-release-notes-5/ directory afterinstallation, where is Server, Client, or Desktop.

    Installation Guide

    10

    http://www.redhat.com/docs/http://www.redhat.com/docs/

  • 部分 I. X86、 AMD64、 INTEL® 64 和 ITANIUM - 安 装 和 引 导

    Intel 和 AMD 32 位 和 64 位 系 统 的 《 Red Hat Enterprise Linux安 装 指 南 》 讨 论 了 Red Hat Enterprise Linux的 安 装 和 一 些 基 本 的 安 装 后 的 故 障 解 除 的 内 容 。 高 级 的 安 装 选 项 会 在 本 指 南 的 第 二 部 分 里 涉 及 。

    部分部分 I. X86、、 AMD64、、 INTEL® 64 和和 ITANIUM - 安安 装装 和和 引引 导导

    11

  • 第 1 章 ITANIUM 系 统 特 有 的 信 息

    1.1. ITANIUM 系 统 安 装 概 述

    在 Itanium 系 统 上 安 装 Red Hat Enterprise Linux 和 在 x86 机 器 上 安 装 Red Hat Enterprise Linux 是 不 同 的 。 通 常 ,成 功 的 安 装 步 骤 如 下 所 示 :

    1. 引 导 至 EFI(Extensible Firmware Interface,可 扩 展 固 件 界 面 )Shell。

    2. 如 果 不 能 从 光 盘 引 导 ,你 可 以 依 据 Red Hat Enterprise Linux 提 供 的 引 导 映 像 文 件 创 建 一 个 LS-120 软 盘 。

    3. 使 用 EFI Shell 和 ELILO 引 导 装 载 程 序 、 装 载 和 运 行 内 核 ,并 引 导 至 Red Hat Enterprise Linux 安 装 程 序 。

    1.2. ITANIUM 系 统 — EFI SHELL

    在 Itanium 系 统 上 开 始 安 装 Red Hat Enterprise Linux 之 前 ,你 必 须 对 EFI Shell、 它 的 作 用 、 它 所 能 提 供 的 信 息 有 个 基 本 的 了 解 。

    EFI Shell 是 一 个 用 来 启 动 应 用 程 序 (如 Red Hat Enterprise Linux 安 装 程 序 )、 载 入 EFI 协 议 和 设 备 驱 动 程 序 、 执 行 简 单 脚 本 的 控 制 台 界 面 。 它 和 DOS 控 制 台 相 仿 ,只 能 够 访 问 FAT16 (VFAT) 格 式 化 的 介 质 。

    EFI Shell 还 包 含 能 够 在 EFI 系 统 分 区 上 使 用 的 常 用 工 具 。 这 些 工 具 有 :edit、 type、 cp、 rm、 和 mkdir。 要 获 得 工 具 列 表 和 其 它 命 令 ,在 EFI Shell 提 示 下 键 入 help。

    EFI Shell 中 包 含 一 个 叫 做 ELILO 的 引 导 装 载 程 序 。 关 于 EFI 的 其 他 信 息 可 以 在 以 下 URL 中 找 到 :

    http://developer.intel.com/technology/efi/index.htm

    1.2.1. Itanium 系 统 — EFI 设 备 名 称

    map 命 令 可 以 被 用 来 列 举 所 有 EFI 能 够 识 别 的 设 备 和 文 件 系 统 。 当 你 的 Itanium 系 统 引 导 至 EFI shell 时 ,它 会 按 以 下 顺 序 探 测 你 的 系 统 :

    1. LS-120 驱 动 器 (如 果 它 包 含 介 质 )

    2. 主 IDE 接 口 上 的 IDE 硬 盘 驱 动 器

    3. 次 IDE 接 口 的 IDE 硬 盘 驱 动 器

    4. SCSI 接 口 上 的 SCSI 硬 盘 驱 动 器

    5. IDE 接 口 上 的 光 盘 驱 动 器

    6. SCSI 接 口 上 的 光 盘 驱 动 器

    要 查 看 系 统 轮 询 的 结 果 ,在 EFI Shell 提 示 下 键 入 以 下 命 令 :

    map

    其 输 出 会 按 照 系 统 被 探 测 的 顺 序 被 列 出 。 因 此 ,所 有 FAT16 文 件 系 统 被 首 先 列 出 ,然 后 是 IDE 硬 盘 驱 动 器 ,其 后 是 SCSI 硬 盘 驱 动 器 ,之 后 是 IDE 光 盘 驱 动 器 ,最 后 是 SCSI 光 盘 驱 动 器 。

    Installation Guide

    12

    http://developer.intel.com/technology/efi/index.htm

  • 例 如 ,map 命 令 的 输 出 会 和 以 下 的 内 容 类 似 :

    Device mapping table fs0 : VenHw(Unknown Device:00)/HD(Part1,Sig00000000) fs1 : VenHw(Unknown Device:80)/HD(Part1,Sig00000000) fs2 : VenHw(Unknown Device:FF)/CDROM(Entry1)/HD(Part1,Sig00000000) blk0 : VenHw(Unknown Device:00) blk1 : VenHw(Unknown Device:00)/HD(Part1,Sig00000000) blk2 : VenHw(Unknown Device:80) blk3 : VenHw(Unknown Device:80)/HD(Part1,Sig00000000) blk4 : VenHw(Unknown Device:80)/HD(Part2,Sig00000000) blk5 : VenHw(Unknown Device:80)/HD(Part3,Sig00000000) blk6 : VenHw(Unknown Device:80)/HD(Part3,Sig00000000)/HD(Part1,Sig725F7772) blk7 : VenHw(Unknown Device:FF) blk8 : VenHw(Unknown Device:FF)/CDROM(Entry1) blk9 : VenHw(Unknown Device:FF)/CDROM(Entry1)/HD(Part1,Sig00000000)

    在 这 个 例 子 中 ,LS-120 驱 动 器 中 有 一 个 LS-120 磁 盘 ,光 盘 驱 动 器 中 也 有 一 个 光 盘 。 所 有 列 举 项 目 中 以 fs 开 头 的 是 EFI 能 够 读 取 的 FAT16 文 件 系 统 。 所 有 列 举 项 目 中 以 blk 开 头 的 是 EFI 能 够 识 别 的 块 设 备 。 文 件 系 统 和 块 设 备 都 是 按 照 它 们 被 探 测 到 的 顺 序 被 列 出 的 。 因 此 ,fs0 是 LS-120 上 的 系 统 分 区 ,fs1 是 硬 盘 驱 动 器 上 的 系 统 分 区 ,fs2 是 光 盘 上 的 系 统 分 区 。

    1.2.2. Itanium 系 统 — EFI 系 统 分 区

    当 为 Linux 在 硬 盘 驱 动 器 上 建 立 分 区 时 ,你 必 须 创 建 一 个 FAT16 (VFAT) 格 式 的 系 统 分 区 ,并 有 一 个 /boot/efi/ 挂 载 点 。 该 分 区 包 含 安 装 了 的 Linux 内 核 以 及 ELILO 配 置 文 件 ( elilo.conf)。elilo.conf 文 件 包 含 你 可 以 引 导 系 统 的 内 核 列 表 。

    第第 1 章章 ITANIUM 系系 统统 特特 有有 的的 信信 息息

    13

  • 第 2 章 安 装 前 的 准 备 工 作

    2.1. 选 择 升 级 还 是 安 装 ?

    For information to help you determine whether to perform an upgrade or an installation refer to第 23 章 升 级 你 当 前 的 系 统 .

    2.2. 您 的 硬 件 兼 容 吗 ?

    如 果 您 有 一 个 较 老 的 系 统 ,或 者 您 的 系 统 是 自 装 的 ,硬 件 兼 容 性 在 这 些 情 况 下 就 显 得 特 别 重 要 。 Red HatEnterprise Linux 5 应 该 与 在 最 近 两 年 内 出 品 的 多 数 硬 件 兼 容 。 然 而 ,硬 件 的 技 术 规 范 几 乎 每 天 都 在 改 变 ,因 此 我 们 很 难 保 证 您 的 硬 件 会 百 分 之 百 地 兼 容 。

    最 新 的 硬 件 支 持 列 表 可 在 以 下 网 址 中 查 到 :

    http://hardware.redhat.com/hcl/

    2.3. 你 有 足 够 的 磁 盘 空 间 吗 ?

    Nearly every modern-day operating system (OS) uses disk partitions, and Red Hat Enterprise Linux isno exception. When you install Red Hat Enterprise Linux, you may have to work with disk partitions. Ifyou have not worked with disk partitions before (or need a quick review of the basic concepts), refer to第 25 章 磁 盘 分 区 简 介 before proceeding.

    Red Hat Enterprise Linux 使 用 的 磁 盘 空 间 必 须 和 在 您 的 系 统 上 安 装 的 其 它 OS(如 Windows、 OS/2、 甚 至 于 不 同 版 本 的 Linux)所 用 的 磁 盘 空 间 分 离 。 对 于 基 于 x86、 AMD64 和 Intel® 系 统 ,Red HatEnterprise Linux 至 少 需 要 两 个 专 用 的 分 区 (/ and swap)。 对 于 Itanium 系 统 ,Red Hat EnterpriseLinux 至 少 需 要 三 个 专 用 的 分 区 (/、 /boot/efi/ 和 swap)。

    在 开 始 安 装 进 程 之 前 ,你 必 须 :

    有 足 够 的 未 分 区 [1]的 磁 盘 空 间 来 安 装 Red Hat Enterprise Linux。 或 者

    有 一 个 或 多 个 可 以 删 除 的 分 区 ,因 此 能 够 空 出 足 够 的 空 间 来 安 装 Red Hat Enterprise Linux。

    To gain a better sense of how much space you really need, refer to the recommended partitioning sizesdiscussed in 第 4.18.4 节 “推 荐 的 分 区 方 案 ”.

    If you are not sure that you meet these conditions, or if you want to know how to create free disk spacefor your Red Hat Enterprise Linux installation, refer to 第 25 章 磁 盘 分 区 简 介 .

    2.4. 您 可 以 使 用 光 盘 安 装 吗 ?

    可 以 用 来 安 装 Red Hat Enterprise Linux 的 方 法 有 好 几 种 。

    从 光 盘 中 安 装 要 求 你 已 购 买 了 Red Hat Enterprise Linux产 品 ,或 者 你 拥 有 Red Hat Enterprise Linux 5.0光 盘 ,以 及 光 盘 驱 动 器 。

    Your BIOS may need to be changed to allow booting from your DVD/CD-ROM drive. For moreinformation about changing your BIOS, refer to 第 4.3.1 节 “在 x86、 AMD64 和 Intel® 64 系 统 上 引 导 安 装 程 序 。 ”.

    Installation Guide

    14

    http://hardware.redhat.com/hcl/

  • 2.4.1. 其 它 引 导 方 法

    引引 导导 DVD/CD-ROM

    If you can boot using the DVD/CD-ROM drive, you can create your own CD-ROM to boot theinstallation program. This may be useful, for example, if you are performing an installation over anetwork or from a hard drive. Refer to 第 2.4.2 节 “制 作 安 装 引 导 光 盘 ” for further instructions.

    USB pen drive

    If you cannot boot from the DVD/CD-ROM drive, but you can boot using a USB device, such as a USBpen drive, the following alternative boot method is available:

    要 使 用 USB pen 驱 动 器 ,使 用 dd 命 令 复 制 CD-ROM #1 中 的 /images/ 目 录 中 的 diskboot.img映 像 文 件 。 如 :

    dd if=diskboot.img of=/dev/sda

    你 的 BIOS 必 须 支 持 从 USB 设 备 引 导 才 能 使 这 个 引 导 方 法 奏 效 。

    2.4.2. 制 作 安 装 引 导 光 盘

    isolinux(在 Itanium 系 统 中 不 可 用 )现 在 被 用 来 引 导 Red Hat Enterprise Linux 安 装 光 盘 。 要 创 建 你 自 己 的 光 盘 来 引 导 安 装 程 序 ,使 用 以 下 步 骤 :

    Copy the isolinux/ directory from the Red Hat Enterprise Linux DVD or CD #1 into a temporarydirectory (referred to here as ) using the following command:

    cp -r /isolinux/

    Change directories to the directory you have created:

    cd

    请 确 定 你 复 制 的 文 件 具 备 正 确 的 权 限 :

    chmod u+w isolinux/*

    最 后 ,使 用 以 下 命 令 来 创 建 ISO 映 像 文 件 :

    mkisofs -o file.iso -b isolinux.bin -c boot.cat -no-emul-boot \ -boot-load-size 4 -boot-info-table -R -J -v -T isolinux/

    注意注意

    以 上 命 令 被 分 成 两 行 只 是 为 了 印 刷 方 便 。 当 你 执 行 这 个 命 令 时 ,请 确 定 在 单 行 上 作 为 单 个 命 令 使 用 。

    Burn the resulting ISO image (named file.iso and located in ) to a CD-ROM as you normally would.

    2.5. 筹 备 网 络 安 装

    第第 2 章章 安安 装装 前前 的的 准准 备备 工工 作作

    15

  • 注意注意

    Make sure an installation CD (or any other type of CD) is not in your system's CD/DVDdrive if you are performing a network-based installation. Having a CD in the drive maycause unexpected errors.

    不 管 是 网 络 安 装 (NFS、 FTP、 HTTP)还 是 通 过 本 地 贮 存 区 的 安 装 ,你 都 必 须 要 有 Red Hat EnterpriseLinux 安 装 介 质 。 如 果 你 执 行 的 是 NFS、 FTP、 或 HTTP 安 装 ,请 使 用 以 下 步 骤 。

    通 过 网 络 安 装 所 要 使 用 的 NFS、 FTP、 HTTP 服 务 器 必 须 是 一 台 能 够 提 供 安 装 光 盘 上 的 完 整 内 容 的 单 独 机 器 。

    注意注意

    Red Hat Enterprise Linux 安 装 程 序 具 备 测 试 安 装 介 质 完 好 性 的 能 力 。 它 可 以 用 在 CD、 DVD、 硬 盘 ISO、 以 及 NFS ISO 安 装 方 法 中 。 红 帽 建 议 你 在 开 始 安 装 进 程 前 和 报 告 任 何 与 安 装 相 关 的 错 误 之 前 测 试 这 些 安 装 介 质 (许 多 错 误 是 由 不 正 确 刻 录 的 光 盘 造 成 的 )。 要 进 行 测 试 ,在 boot: 提 示 下 输 入 以 下 命 令 (Itanium 系 统 :在 命 令 前 加 上 elilo):

    linux mediacheck

    注意注意

    在 下 面 的 例 子 里 ,安 装 服 务 器 上 包 含 安 装 文 件 的 目 录 将 被 指 定 为 /location/of/disk/space。 通 过 FTP、 NFS 或 HTTP 共 享 的 目 录 将 被 指 定 为 /export/directory。 例 如 ,/location/of/disk/space 可 能 是 一 个 你 创 建 的 叫 /var/isos 的 目 录 。 对 于 HTTP 安 装 来 说 , /export/directory 将 是 /var/www/html/rhel5。

    要 从 安 装 光 盘 中 把 文 件 复 制 到 充 当 安 装 服 务 器 的 机 器 上 ,执 行 以 下 步 骤 :

    使 用 以 下 命 令 在 安 装 磁 盘 里 创 建 一 个 iso 映 像 文 件 :

    对 于 DVD:

    dd if=/dev/dvd of=/location/of/disk/space/RHEL5.iso

    这 里 的 dvd 指 的 是 DVD 驱 动 设 备 :

    对 于 CD-ROM:

    dd if=/dev/cdrom of=/location/of/disk/space/diskX.iso

    在 这 里 ,cdrom 指 的 是 CD 驱 动 设 备 ,X 是 你 复 制 的 磁 盘 的 编 号 ,从 1 开 始 ,以 此 类 推 。

    2.5.1. 筹 备 FTP 和 HTTP 安 装

    对 于 FTP 和 HTTP 安 装 来 说 , iso 映 像 文 件 应 该 通 过 回 路 挂 载 在 公 用 的 目 录 下 ,如 下 面 的 格 式 :

    对 于 DVD:

    mount -o loop /location/of/disk/space/RHEL5.iso /export/directory/

    Installation Guide

    16

  • 在 这 里 ,/export/directory 将 通 过 FTP 或 HTTP 作 为 共 享 目 录 。

    对 于 CDROM:

    mount -o loop /location/of/disk/space/diskX.iso /export/directory/diskX/

    对 于 每 个 CDROM ISO 映 像 文 件 重 复 上 面 的 步 骤 ,例 如 :

    mount -o loop /var/isos/disk1.iso /var/www/html/rhel5-install/disk1/

    之 后 ,确 保 /export/directory 目 录 通 过 FTP 或 HTTP 共 享 ,并 且 验 证 客 户 的 访 问 。 你 可 以 检 查 这 个 目 录 是 否 可 以 从 服 务 器 自 身 来 访 问 ,然 后 再 从 你 准 备 安 装 的 同 一 子 网 的 其 他 机 器 上 进 行 访 问 。

    2.5.2. 筹 备 NFS 安 装

    对 于 NFS 安 装 来 说 ,没 有 必 要 挂 载 iso 映 像 。 使 iso 映 像 通 过 NFS 可 用 就 足 够 了 。 你 可 以 把 iso 映 像 移 到 NFS 的 输 出 目 录 来 使 它 可 用 。

    对 于 DVD:

    mv /location/of/disk/space/RHEL5.iso /export/directory/

    对 于 CDROM:

    mv /location/of/disk/space/disk*.iso /export/directory/

    在 /etc/exports 里 进 行 设 置 确 保 /export/directory 通 过 NFS 输 出 。

    要 输 出 到 指 定 的 系 统 :

    /export/directory client.ip.address(ro,no_root_squash)

    要 输 出 到 所 有 系 统 里 ,使 用 如 下 的 设 置 :

    /export/directory *(ro,no_root_squash)

    启 动 NFS 守 护 进 程 (在 Red Hat Enterprise Linux 系 统 里 ,使 用 /sbin/service nfs start 命 令 )。 如 果 NFS 已 在 运 行 ,重 新 加 载 配 置 文 件 (在 Red Hat Enterprise Linux 系 统 上 运 行 /sbin/service nfs reload)。

    根 据 《 Red Hat Enterprise Linux 部 署 指 南 》 中 的 指 令 来 测 试 NFS 共 享 。

    2.6. 筹 备 硬 盘 驱 动 器 安 装

    注意注意

    硬 盘 安 装 只 适 用 于 ext2、 ext3、 或 FAT 文 件 系 统 。 如 果 你 有 其 它 的 文 件 系 统 ,如 reiserfs,你 将 无 法 执 行 硬 盘 安 装 。

    硬 盘 安 装 需 要 使 用 ISO(或 光 盘 )映 像 。 ISO 映 像 是 光 盘 映 像 的 精 确 复 制 件 。 把 所 需 的 ISO 映 像 (二 进 制 的 Red Hat Enterprise Linux 光 盘 )存 放 到 某 目 录 中 后 ,选 择 从 硬 盘 安 装 。 这 样 ,你 就 可 以 把 安 装 程 序 指 向 那 个 目 录 来 进 行 安 装 。

    第第 2 章章 安安 装装 前前 的的 准准 备备 工工 作作

    17

  • 要 筹 备 系 统 进 行 硬 盘 驱 动 器 安 装 ,你 必 须 使 用 以 下 方 法 之 一 来 设 置 系 统 :

    使 用 一 组 光 盘 集 合 — 从 每 个 安 装 光 盘 (或 DVD)中 创 建 光 盘 ISO 映 像 文 件 。 对 于 每 个 光 盘 ,在 Linux 系 统 上 执 行 以 下 命 令 (对 于 DVD 只 执 行 一 次 ):

    dd if=/dev/cdrom of=/tmp/file-name.iso

    使 用 ISO 映 像 — 把 这 些 映 像 传 输 到 要 安 装 的 系 统 上 。

    在 试 图 安 装 前 ,请 校 验 ISO 映 像 的 完 整 性 。 这 会 帮 助 你 避 免 硬 盘 安 装 过 程 中 经 常 会 遇 到 的 问 题 。 要 在 执 行 安 装 前 校 验 ISO 映 像 的 完 整 性 ,请 使 用 md5sum 程 序 (该 程 序 有 适 用 于 各 类 操 作 系 统 的 版 本 )。 md5sum 程 序 应 该 可 以 在 提 供 ISO 映 像 的 同 一 服 务 器 上 找 到 。

    注意注意

    Red Hat Enterprise Linux 安 装 程 序 具 备 测 试 安 装 介 质 完 好 性 的 能 力 。 它 可 以 用 在 CD、 DVD、 硬 盘 ISO 以 及 NFS ISO 安 装 方 法 中 。 红 帽 建 议 你 在 开 始 安 装 进 程 前 和 报 告 任 何 与 安 装 相 关 的 错 误 之 前 测 试 这 些 安 装 介 质 (许 多 错 误 是 由 不 正 确 刻 录 的 光 盘 造 成 的 )。 要 进 行 测 试 ,在 boot: 提 示 符 下 键 入 以 下 命 令 (Itanium 系 统 中 在 命 令 前 键 入 elilo):

    linux mediacheck

    除 此 之 外 ,如 果 在 你 的 安 装 目 录 中 还 有 一 个 叫 updates.img 的 文 件 ,你 可 以 用 它 来 更 新 anaconda。 请 参 考 anaconda RPM 软 件 包 中 的 install-methods.txt 文 件 来 获 取 关 于 各 种 安 装 Red HatEnterprise Linux 的 途 径 ,以 及 怎 样 应 用 安 装 程 序 更 新 。

    [1] 未 分 区 的 磁 盘 空 间 意 味 着 在 您 要 安 装 的 硬 盘 驱 动 器 上 的 可 用 磁 盘 空 间 还 没 有 为 数 据 划 分 成 块 。 当 您 为 一 个 磁 盘 分 区 时 ,每 个 分 区 都 如 同 一 个 独 立 的 磁 盘 驱 动 器 。

    Installation Guide

    18

  • 第 3 章 SYSTEM SPECIFICATIONS LIST最 新 的 硬 件 支 持 列 表 可 在 http://hardware.redhat.com/hcl/ 上 找 到 。

    This system specifications list will help you keep a record of your current system settings andrequirements. Enter the corresponding information about your system in the list provided below as ahandy reference to help make your Red Hat Enterprise Linux installation goes smoothly.

    hard drive(s): type, label, size; e.g. IDE hda=40 GB

    partitions: map of partitions and mount points; e.g. /dev/hda1=/home, /dev/hda2=/ (fill thisin once you know where they will reside)

    memory: amount of RAM installed on your system; e.g. 512 MB, 1 GB

    CD-ROM: interface type; e.g. SCSI, IDE (ATAPI)

    SCSI adapter: if present, make and model number; e.g. BusLogic SCSI Adapter, Adaptec2940UW

    network card: if present, make and model number; e.g. Tulip, 3COM 3C590

    mouse: type, protocol, and number of buttons; e.g. generic 3 button PS/2 mouse, MouseMan 2button serial mouse

    monitor: make, model, and manufacturer specifications; e.g. Optiquest Q53, ViewSonic G773

    video card: make, model number and size of VRAM; e.g. Creative Labs Graphics Blaster 3D, 8MB

    sound card: make, chipset and model number; e.g. S3 SonicVibes, Sound Blaster 32/64 AWE

    IP, DHCP, and BOOTP addresses

    netmask

    gateway IP address

    one or more name server IP addresses (DNS)

    domain name: the name given to your organization; e.g. example.com

    hostname: the name of your computer; your personal choice of names; e.g. cookie, southpark

    如 果 你 不 熟 悉 以 上 的 联 网 需 求 或 术 语 ,请 联 系 你 的 网 络 管 理 员 。

    第第 3 章章 SYSTEM SPECIFICATIONS LIST

    19

    http://hardware.redhat.com/hcl/

  • 第 4 章 在 INTEL® 或 AMD 系 统 上 进 行 安 装 的 问 题 This chapter explains how to perform a Red Hat Enterprise Linux installation from the DVD/CD-ROM,using the graphical, mouse-based installation program. The following topics are discussed:

    Becoming familiar with the installation program's user interface

    启 动 安 装 程 序

    选 择 安 装 方 法

    安 装 中 的 配 置 步 骤 (语 言 、 键 盘 、 鼠 标 、 分 区 等 等 )

    结 束 安 装

    4.1. 图 形 化 安 装 程 序 用 户 界 面

    If you have used a graphical user interface (GUI) before, you are already familiar with this process; useyour mouse to navigate the screens, click buttons, or enter text fields.

    You can also navigate through the installation using the keyboard. The Tab key allows you to movearound the screen, the Up and Down arrow keys to scroll through lists, + and - keys expand andcollapse lists, while Space and Enter selects or removes from selection a highlighted item. You canalso use the Alt+X key command combination as a way of clicking on buttons or making other screenselections, where X is replaced with any underlined letter appearing within that screen.

    注意注意

    If you are using an x86, AMD64, or Intel® 64 system, and you do not wish to use the GUIinstallation program, the text mode installation program is also available. To start thetext mode installation program, use the following command at the boot: prompt:

    linux text

    Refer to 第 4.2 节 “文 本 模 式 安 装 程 序 用 户 界 面 ” for a brief overview of text modeinstallation instructions.

    It is highly recommended that installs be performed using the GUI installation program.The GUI installation program offers the full functionality of the Red Hat Enterprise Linuxinstallation program, including LVM configuration which is not available during a textmode installation.

    Users who must use the text mode installation program can follow the GUI installationinstructions and obtain all needed information.

    注意注意

    如 果 你 使 用 的 是 Itanium 系 统 ,并 且 不 想 使 用 图 形 化 安 装 程 序 ,你 可 以 使 用 文 本 模 式 的 安 装 程 序 。 要 开 始 文 本 模 式 安 装 程 序 ,在 EFI Shell 提 示 下 键 入 下 列 命 令 :

    elilo linux text

    4.1.1. 虚 拟 控 制 台 的 注 记

    Installation Guide

    20

  • Red Hat Enterprise Linux 安 装 程 序 不 仅 仅 提 供 了 安 装 进 程 的 对 话 框 。 除 了 提 供 从 shell 提 示 下 输 入 命 令 的 方 法 外 ,它 还 提 供 了 几 种 不 同 类 型 的 诊 断 消 息 。 安 装 程 序 在 五 个 虚 拟 控 制 台 (virtual console)中 显 示 这 些 消 息 ,你 可 以 用 一 个 组 合 键 在 其 间 切 换 。

    虚 拟 控 制 台 是 非 图 形 化 环 境 中 的 shell 提 示 ,从 物 理 机 器 中 而 不 是 远 程 地 进 入 。 你 可 以 同 时 进 入 多 个 虚 拟 控 制 台 。

    These virtual consoles can be helpful if you encounter a problem while installing Red Hat EnterpriseLinux. Messages displayed on the installation or system consoles can help pinpoint a problem. Refer to表 4.1 “控 制 台 ,击 键 ,和 内 容 ” for a listing of the virtual consoles, keystrokes used to switch to them,and their contents.

    一 般 来 说 ,除 非 你 试 图 诊 断 安 装 问 题 ,你 没 有 理 由 离 开 默 认 的 控 制 台 (图 形 化 安 装 是 第 六 号 虚 拟 控 制 台 )。

    表表 4.1. 控控 制制 台台 ,击,击 键键 ,和,和 内内 容容

    控控 制制 台台 击击 键键 内内 容容

    1 ctrl+alt+f1 安 装 对 话 框

    2 ctrl+alt+f2 shell 提 示

    3 ctrl+alt+f3 安 装 日 志 (安 装 程 序 的 消 息 )

    4 ctrl+alt+f4 与 系 统 相 关 的 消 息

    5 ctrl+alt+f5 其 它 消 息

    6 ctrl+alt+f6 X 图 形 化 显 示

    4.2. 文 本 模 式 安 装 程 序 用 户 界 面

    The Red Hat Enterprise Linux text mode installation program uses a screen-based interface thatincludes most of the on-screen widgets commonly found on graphical user interfaces. 图 4.1“Installation Program Widgets as seen in Boot Loader Configuration”, and 图 4.2 “InstallationProgram Widgets as seen in Disk Druid”, illustrate the screens that appear during the installationprocess.

    注意注意

    虽 然 有 关 文 本 模 式 安 装 的 说 明 不 是 十 分 充 分 ,使 用 文 本 模 式 安 装 的 用 户 仍 旧 可 以 遵 循 图 形 化 安 装 说 明 来 获 得 所 需 信 息 。 需 要 注 意 的 是 ,LVM(Logical Volume Management,逻 辑 卷 管 理 )磁 盘 容 量 的 操 作 只 有 在 图 形 模 式 下 才 能 进 行 。 在 文 本 模 式 下 ,只 能 查 看 和 接 受 缺 省 的 LVM 设 置 。

    第第 4 章章 在在 INTEL® 或或 AMD 系系 统统 上上 进进 行行 安安 装装 的的 问问 题题

    21

  • 图图 4.1. Installation Program Widgets as seen in Boot Loader Configuration

    图图 4.2. Installation Program Widgets as seen in Disk Druid

    Here is a list of the most important widgets shown in 图 4.1 “Installation Program Widgets as seen in Boot Loader Configuration” and 图 4.2 “Installation Program Widgets as seen in Disk Druid”:

    窗 口 — 在 整 个 安 装 进 程 中 ,你 会 不 时 地 在 屏 幕 上 看 到 窗 口 (本 书 中 通 常 把 它 称 为 对 话 框 ,dialog)。 有 时 ,一 个 窗 口 会 重 叠 在 另 一 个 窗 口 之 上 ;在 这 种 情 况 下 ,你 只 能 与 最 上 面 的 窗 口 交 流 。 当 该 窗 口 使 用 完 毕 ,它 就 会 消 失 ,允 许 你 继 续 使 用 下 面 的 窗 口 。

    Installation Guide

    22

  • 复 选 箱 — 复 选 箱 允 许 你 选 择 或 取 消 选 择 某 项 功 能 。 箱 内 要 么 显 示 一 个 星 号 (已 选 ),要 么 是 一 个 空 格 (未 选 )。 当 光 标 位 于 复 选 箱 内 ,按 Space 键 来 选 择 一 个 未 选 的 功 能 或 取 消 一 个 已 选 的 功 能 。

    文 本 输 入 行 — 文 本 输 入 行 是 你 可 以 输 入 安 装 程 序 所 要 求 信 息 的 区 域 。 当 光 标 停 在 文 本 输 入 行 时 ,你 可 以 在 那 一 行 中 输 入 并 (或 )编 辑 信 息 。

    文 本 构 件 — 文 本 构 件 是 屏 幕 上 用 于 显 示 文 本 的 区 域 。 有 时 ,文 本 构 件 可 能 还 会 含 有 其 它 构 件 ,如 复 选 箱 。 如 果 文 本 构 件 所 含 的 信 息 超 出 为 它 保 留 的 空 间 所 能 显 示 的 ,一 个 滚 动 条 就 会 出 现 ;如 果 你 将 光 标 定 位 于 文 本 构 件 之 内 ,你 可 以 使 用 向向上上和 向向下下 箭 头 键 来 在 所 有 信 息 中 上 下 滚 动 。 你 在 滚 动 条 上 的 当 前 位 置 被 显 示 为 一 个 # 字 符 ,它 会 在 你 拖 拉 滚 动 条 时 移 上 移 下 。

    Scroll Bar — Scroll bars appear on the side or bottom of a window to control which part of a listor document is currently in the window's frame. The scroll bar makes it easy to move to anypart of a file.

    按 钮 构 件 — 按 钮 构 件 是 与 安 装 程 序 交 流 的 主 要 方 法 。 通 过 Tab 键 和 Enter 键 使 用 这 些 按 钮 ,你 可 在 安 装 程 序 的 屏 幕 中 逐 步 推 进 。 当 按 钮 被 突 出 显 示 时 ,它 们 可 以 被 选 择 。

    光 标 — 虽 然 不 是 一 个 控 件 ,但 光 标 被 用 来 选 择 (和 交 互 )某 一 特 定 控 件 。 当 光 标 在 控 件 之 间 移 动 时 ,它 可 以 使 控 件 改 变 颜 色 ,或 者 光 标 可 以 只 在 控 件 里 或 后 面 出 现 。

    4.2.1. 使 用 键 盘 来 导 航

    在 安 装 对 话 框 之 间 的 切 换 是 通 过 一 组 简 单 的 击 键 来 达 到 的 。 要 移 动 光 标 ,使 用 向向左左、向向右右、 向向上上、 和 向向下下箭 头 键 。 使 用 Tab 和 Shift-Tab 键 来 在 屏 幕 上 的 每 个 构 件 间 向 前 或 向 后 循 环 。 多 数 屏 幕 在 底 部 显 示 了 一 个 可 用 光 标 定 位 键 的 摘 要 。

    To "press" a button, position the cursor over the button (using Tab, for example) and press Space or Enter. To select an item from a list of items, move the cursor to the item you wish to select and press Enter. To select an item with a checkbox, move the cursor to the checkbox and press Space to selectan item. To deselect, press Space a second time.

    按 F12 来 接 受 当 前 值 ,并 继 续 到 下 一 个 对 话 框 ;这 相 当 于 按 「「确确定定」」按 钮 。

    警告警告

    除 非 一 个 对 话 框 在 等 待 你 的 输 入 ,在 安 装 进 程 中 不 要 随 意 按 键 (这 么 做 可 能 会 导 致 无 法 预 料 的 行 为 )。

    4.3. 启 动 安 装 程 序

    To start, first make sure that you have all necessary resources for the installation. If you have alreadyread through 第 2 章 安 装 前 的 准 备 工 作 , and followed the instructions, you should be ready to start theinstallation process. When you have verified that you are ready to begin, boot the installation programusing the Red Hat Enterprise Linux DVD or CD-ROM #1 or any boot media that you have created.

    第第 4 章章 在在 INTEL® 或或 AMD 系系 统统 上上 进进 行行 安安 装装 的的 问问 题题

    23

  • 注意注意

    Occasionally, some hardware components require a driver diskette during theinstallation. A driver diskette adds support for hardware that is not otherwise supportedby the installation program. Refer to 第 7 章 用 于 Intel® 或 AMD 系 统 的 驱 动 介 质 for moreinformation.

    4.3.1. 在 x86、 AMD64 和 Intel® 64 系 统 上 引 导 安 装 程 序 。

    你 可 以 使 用 下 列 任 何 介 质 来 引 导 安 装 程 序 (这 要 根 据 你 的 系 统 所 能 支 持 的 而 定 ):

    Red Hat Enterprise Linux 光 盘 — 你 的 机 器 支 持 可 引 导 的 光 盘 驱 动 器 ,并 且 你 有 一 组 Red HatEnterprise Linux 光 盘 。

    可 引 导 的 光 盘 — 你 的 机 器 支 持 可 引 导 的 光 盘 驱 动 器 ,并 且 你 想 执 行 网 络 或 硬 盘 驱 动 器 安 装 。

    USB pen 驱 动 器 — 你 的 机 器 支 持 从 USB 设 备 引 导 。

    PXE boot via network — Your machine supports booting from the network. This is an advancedinstallation path. Refer to 第 31 章 PXE 网 络 安 装 for additional information on this method.

    To create a boot CD-ROM or to prepare your USB pen drive for installation, refer to 第 2.4.2 节 “制 作 安 装 引 导 光 盘 ”.

    插 入 引 导 介 质 ,然 后 重 新 引 导 系 统 。 你 可 能 需 要 改 变 你 的 BIOS 设 置 来 允 许 你 从 光 盘 或 USB 设 备 中 引 导 。

    注意注意

    要 改 变 你 在 x86、 AMD64 或 Intel® 64 系 统 上 的 BIOS 设 置 ,请 阅 读 计 算 机 刚 开 始 引 导 时 所 显 示 的 说 明 。 你 会 看 到 一 行 文 字 ,告 诉 你 按 哪 个 键 来 进 入 BIOS 设 置 。

    当 你 进 入 了 BIOS 设 置 程 序 之 后 ,查 找 能 够 改 变 你 的 引 导 顺 序 的 部 分 。 默 认 值 通 常 是 C、 A或 A、 C(根 据 你 是 从 硬 盘 [C] 还 是 软 盘 驱 动 器 [A] 中 引 导 而 定 )。 请 改 变 该 顺 序 ,使 光 盘 位 于 该 引 导 顺 序 的 最 前 面 ,接 下 来 是 C 或 A(你 的 典 型 的 默 认 引 导 的 那 一 个 )。 这 会 指 示 计 算 机 首 先 在 光 盘 驱 动 器 内 寻 找 可 引 导 的 介 质 ;如 果 它 在 光 盘 驱 动 器 中 没 有 发 现 可 引 导 的 介 质 ,它 才 会 在 你 的 硬 盘 或 软 盘 驱 动 器 中 查 找 。

    退 出 BIOS 前 把 你 做 的 改 变 存 盘 。 要 了 解 详 细 情 况 ,请 阅 读 你 的 系 统 附 带 的 文 档 。

    片 刻 之 后 ,一 个 包 含 boot: 提 示 的 屏 幕 就 会 出 现 。 这 个 屏 幕 包 括 了 许 多 不 同 的 引 导 选 项 。 每 个 引 导 选 项 还 有 一 个 或 多 个 与 之 关 联 的 帮 助 屏 幕 。 要 访 问 帮 助 屏 幕 ,按 在 屏 幕 底 部 列 出 的 恰 当 的 功 能 键 。

    在 你 引 导 安 装 程 序 的 时 候 ,请 留 意 两 个 问 题 :

    当 你 看 到 了 boot: 提 示 后 ,如 果 在 一 分 钟 内 不 采 取 任 何 行 动 ,安 装 程 序 会 自 动 开 始 。 要 禁 用 这 项 功 能 ,按 帮 助 屏 幕 上 的 功 能 键 之 一 。

    如 果 你 按 了 帮 助 屏 幕 功 能 键 ,在 帮 助 屏 幕 从 引 导 介 质 中 被 读 取 时 会 出 现 稍 微 的 延 迟 。

    Normally, you only need to press Enter to boot. Be sure to watch the boot messages to review if theLinux kernel detects your hardware. If your hardware is properly detected, continue to the nextsection. If it does not properly detect your hardware, you may need to restart the installation and useone of the boot options provided in 第 8 章 Intel® 和 AMD 系 统 的 其 他 引 导 选 项 .

    4.3.2. 在 Itanium 系 统 上 引 导 安 装 程 序

    Installation Guide

    24

  • Your Itanium system should be able to boot the Red Hat Enterprise Linux installation program directlyfrom the Red Hat Enterprise Linux CD #1. If your Itanium cannot boot the installation program from theCD-ROM (or if you want to perform a hard drive, NFS, FTP, or HTTP installation) you must boot from anLS-120 diskette. Refer to 第 4.3.2.2 节 “从 LS-120 磁 盘 来 引 导 安 装 程 序 ” for more information.

    4.3.2.1. 从从 光光 盘盘 中中 引引 导导 安安 装装 程程 序序

    要 从 Red Hat Enterprise Linux 的 第 一 张 光 盘 中 引 导 ,遵 循 这 些 步 骤 :

    1. 取 出 Red Hat Enterprise Linux 第 一 张 光 盘 以 外 的 所 有 介 质 。

    2. 从 「「 引引 导导 选选 项项 」」 菜 单 中 选 择 「「 EFI Shell」」 。

    3. At the Shell> prompt, change to the file system on the CD-ROM. For example, in the abovesample map output, the system partition on the CD-ROM is fs1. To change to the fs1 filesystem, type fs1: at the prompt.

    4. 键 入 elilo linux 来 引 导 入 安 装 程 序 。

    5. Go to 第 4 章 在 Intel® 或 AMD 系 统 上 进 行 安 装 的 问 题 to begin the installation.

    4.3.2.2. 从从 LS-120 磁磁 盘盘 来来 引引 导导 安安 装装 程程 序序

    如 果 你 的 Itanium 无 法 从 Red Hat Enterprise Linux的 第 一 张 CD 光 盘 引 导 ,你 必 须 从 LS-120 软 盘 引 导 。 如 果 你 想 执 行 硬 盘 驱 动 器 、 NFS、 FTP、 或 HTTP 安 装 ,你 必 须 从 LS-120 软 盘 引 导 。

    你 必 须 根 据 第 一 张 光 盘 上 的 引 导 映 像 文 件 images/boot.img 来 创 建 一 个 LS-120 引 导 映 像 文 件 磁 盘 。 要 在 Linux 中 创 建 这 个 磁 盘 ,插 入 一 张 空 白 的 LS-120 磁 盘 ,在 shell 提 示 下 键 入 以 下 命 令 :

    dd if=boot.img of=/dev/hda bs=180k

    把 boot.img 替 换 成 到 引 导 映 像 文 件 的 完 整 路 径 ,把 /dev/hda 替 换 成 用 于 LS-120 磁 盘 驱 动 器 的 正 确 设 备 名 称 。

    如 果 你 不 使 用 Red Hat Enterprise Linux 光 盘 ,安 装 程 序 就 会 在 文 本 模 式 中 启 动 ,你 必 须 为 你 的 系 统 选 择 几 个 基 本 选 项 。

    If you are using the CD-ROM to load the installation program, follow the instructions contained in第 4 章 在 Intel® 或 AMD 系 统 上 进 行 安 装 的 问 题 .

    要 从 LS-120 磁 盘 中 引 导 ,请 遵 循 这 些 步 骤 :

    1. 插 入 你 根 据 boot.img 引 导 映 像 文 件 来 创 建 的 LS-120 磁 盘 。 如 果 你 执 行 的 是 本 地 光 盘 安 装 ,但 是 要 从 LS-120 磁 盘 引 导 ,还 需 插 入 Red Hat Enterprise Linux 的 第 一 张 光 盘 。 如 果 你 执 行 的 是 硬 盘 驱 动 器 、 NFS、 FTP、 或 HTTP 安 装 ,你 就 不 需 要 光 盘 。

    2. 从 「「 引引 导导 选选 项项 」」 菜 单 中 选 择 「「 EFI Shell」」 。

    3. At the Shell> prompt, change the device to the LS-120 drive by typing the command fs0:,using the example map output above.

    4. 键 入 elilo linux 来 引 导 入 安 装 程 序 。

    5. Go to 第 4 章 在 Intel® 或 AMD 系 统 上 进 行 安 装 的 问 题 to begin the installation.

    第第 4 章章 在在 INTEL® 或或 AMD 系系 统统 上上 进进 行行 安安 装装 的的 问问 题题

    25

  • 4.3.3. 其 它 引 导 选 项

    对 用 户 来 说 ,从 光 盘 中 引 导 并 执 行 图 形 化 安 装 是 最 简 便 的 方 法 ,但 是 有 些 时 候 ,在 不 同 情 况 下 ,你 可 能 需 要 用 一 种 不 同 的 方 法 来 引 导 。 本 章 节 讨 论 其 它 可 用 的 Red Hat Enterprise Linux 引 导 选 项 。

    For Itanium users:

    要 给 Itanium 系 统 上 的 引 导 装 载 程 序 传 递 选 项 ,在 EFI Shell 提 示 下 输 入 以 下 内 容 :

    elilo linux option

    For x86, AMD64, and Intel® 64 users:

    要 给 x86、 AMD64 或 Intel® 系 统 的 引 导 装 载 程 序 传 递 选 项 ,使 用 以 下 引 导 装 载 程 序 选 项 范 例 中 的 说 明 。

    注意注意

    Refer to 第 8 章 Intel® 和 AMD 系 统 的 其 他 引 导 选 项 for additional boot options notcovered in this section.

    To perform a text mode installation, at the installation boot prompt, type:

    linux text

    ISO images have an md5sum embedded in them. To test the checksum integrity of an ISOimage, at the installation boot prompt, type:

    linux mediacheck

    安 装 程 序 将 会 提 示 你 插 入 一 个 光 盘 或 选 择 一 个 要 测 试 的 ISO 映 像 ,然 后 选 择 「「确确定定」」来 执 行 校 验 和 的 操 作 。 这 种 校 验 和 的 操 作 可 以 在 任 何 Red HatEnterprise Linux 光 盘 上 执 行 ,而 且 不 必 按 指 定 顺 序 执 行 (例 如 :第 一 张 光 盘 不 必 是 第 一 个 需 要 校 验 的 光 盘 )。 我 们 强 烈 建 议 你 在 所 有 从 下 载 的 ISO 映 像 中 创 建 的 Red Hat Enterprise Linux 光 盘 上 执 行 这 一 操 作 。 该 命 令 可 用 于 CD、 DVD、 硬 盘 ISO、 和 NFS ISO 安 装 。

    Also in the images/ directory is the boot.iso file. This file is an ISO image than can be usedto boot the installation program. To use the boot.iso, your computer must be able to bootfrom its CD-ROM drive, and its BIOS settings must be configured to do so. You must then burnthe boot.iso file onto a recordable/rewriteable CD-ROM.

    If you need to perform the installation in serial mode, type the following command:

    linux console=

    文 本 模 式 安 装 ,使 用 :

    linux text console=

    In the above command, should be the device you are using (such as ttyS0 or ttyS1).For example, linux text console=ttyS0.

    Text mode installations using a serial terminal work best when the terminal supports UTF-8.Under UNIX and Linux, Kermit supports UTF-8. For Windows, Kermit '95 works well. Non-UTF-8

    Installation Guide

    26

  • capable terminals works as long as only English is used during the installation process. Anenhanced serial display can be used by passing the utf8 command as a boot-time option tothe installation program. For example:

    linux console=ttyS0 utf8

    4.3.3.1. 内内 核核 选选 项项

    选 项 还 可 以 被 传 递 给 内 核 。 例 如 :要 从 软 盘 来 应 用 anaconda 安 装 程 序 的 更 新 ,输 入 :

    linux updates

    文 本 模 式 安 装 ,使 用 :

    linux text updates

    该 命 令 会 提 示 你 插 入 包 含 更 新 (错 误 修 正 )的 软 盘 。 如 果 你 执 行 的 是 网 络 安 装 ,并 且 已 把 更 新 映 像 存 放 在 服 务 器 上 的 rhupdates/ 目 录 下 ,则 不 需 要 使 用 该 命 令 。

    在 输 入 了 选 项 之 后 ,按 Enter 键 来 使 用 这 些 选 项 引 导 。

    If you need to specify boot options to identify your hardware, please write them down. The bootoptions are needed during the boot loader configuration portion of the installation (refer to 第 4.19 节“x86、 AMD64 和 Intel® 64 系 统 的 引 导 装 载 程 序 (Boot Loader)的 配 置 ” for more information).

    For more information on kernel options refer to 第 8 章 Intel® 和 AMD 系 统 的 其 他 引 导 选 项 .

    4.4. 选 择 安 装 方 法

    你 想 使 用 哪 一 种 安 装 方 法 ?可 用 的 安 装 方 法 如 下 所 列 :

    DVD/CD-ROM

    If you have a DVD/CD-ROM drive and the Red Hat Enterprise Linux CD-ROMs or DVD you can usethis method. Refer to 第 4.5 节 “从 光 盘 中 安 装 ”, for DVD/CD-ROM installation instructions.

    硬硬 盘盘 驱驱 动动 器器

    If you have copied the Red Hat Enterprise Linux ISO images to a local hard drive, you can use thismethod. You need a boot CD-ROM (use the linux askmethod boot option). Refer to 第 4.6 节 “从 硬 盘 安 装 ”, for hard drive installation instructions.

    NFS

    If you are installing from an NFS server using ISO images or a mirror image of Red Hat EnterpriseLinux, you can use this method. You need a boot CD-ROM (use the linux askmethod bootoption). Refer to 第 4.8 节 “通 过 NFS 安 装 ” for network installation instructions. Note that NFSinstallations may also be performed in GUI mode.

    FTP

    If you are installing directly from an FTP server, use this method. You need a boot CD-ROM (use thelinux askmethod boot option). Refer to 第 4.9 节 “通 过 FTP 安 装 ” , for FTP installationinstructions.

    第第 4 章章 在在 INTEL® 或或 AMD 系系 统统 上上 进进 行行 安安 装装 的的 问问 题题

    27

  • HTTP

    If you are installing directly from an HTTP (Web) server, use this method. You need a boot CD-ROM(use the linux askmethod boot option). Refer to 第 4.10 节 “通 过 HTTP 安 装 ” , for HTTPinstallation instructions.

    4.5. 从 光 盘 中 安 装

    To install Red Hat Enterprise Linux from a DVD/CD-ROM, place the DVD or CD #1 in your DVD/CD-ROM drive and boot your system from the DVD/CD-ROM.

    The installation program then probes your system and attempts to identify your CD-ROM drive. Itstarts by looking for an IDE (also known as an ATAPI) CD-ROM drive.

    注意注意

    To abort the installation process at this time, reboot your machine and then eject theboot media. You can safely cancel the installation at any point before the About to Install screen. Refer to 第 4.24 节 “准 备 安 装 ” for more information.

    If your CD-ROM drive is not detected, and it is a SCSI CD-ROM, the installation program prompts you tochoose a SCSI dri