5.3. 安装过程中的故障修复

5.3.1. 引导配置

如果在引导过程中您遇到了问题或者内核挂起,不识别实际拥有的外围设备,或者驱动不能被正确识别,首先要做的事情是检查引导参数,见 第 5.2 节 “引导参数” 讨论。

5.3.2. 内核起始信息注解

在引导期间,您可以看到很多信息类似 can't find something,或者 something not presentcan't initialize something,或者甚至 this driver release depends on something。大多数这些信息都是无害的。之所以看到它们,是因为安装系统内核被设计成为可以运行在具有不同外围设备的计算机。显然,没有一个计算机可能拥有所有的外围设备,因此操作系统可能在查找一些您没有的设备上有一些报怨。您有时可以看到系统暂停了一段时间。这是由于它在等待一台设备的回应,但是这台设备并没有安装在系统上。如果您发现这个时间非常长,以后可以创建一个定制的内核(参见 第 8.5 节 “编译新内核”)

5.3.3. 报告安装问题

如果您过了初始化引导阶段,但还是不能安装,可以借助于 Save debug logs 菜单选项。它让您保存安装程序的系统错误记录和配置信息到软盘,或者用网络浏览器下载。该信息或许提供了一些关于错误的起因和如何解决它的线索。如果您正在提交一个 bug 报告,可以报告里附上该信息。

其他安装期间相关的信息可以在 /var/log/ 内找到,计算机用新安装的系统启动后,放在 /var/log/debian-installer/ 里。

5.3.4. 提交缺陷报告

如果仍有问题,请提交安装报告。即使已经安装成功,我们也鼓励您发一份安装报告,这让我们可以尽可能多地了解硬件的配置数量。

注意,您的安装包括将公布在 Debian Bug Tracking System (BTS) 并转发到公共的邮件列表。确保您使用的邮件地址可以被公开。

如果您有一个可以运转的 Debian 系统,发送安装报告最简单的方法是安装 installation-reportreportbug 软件包(aptitude install installation-report reportbug),配置 reportbug 的说明参阅 第 8.4.2 节 “发送邮件到系统之外”,然后执行 reportbug installation-reports 命令。

另外,您可以采用下列模板填写安装报告,并将它当作 installation-reports 虚包的错误报告,发送到

Package: installation-reports

Boot method: <How did you boot the installer? CD? floppy? network?>
Image version: <Full URL to image you downloaded is best>
Date: <Date and time of the install>

Machine: <Description of machine (eg, IBM Thinkpad R32)>
Processor:
Memory:
Partitions: <df -Tl will do; the raw partition table is preferred>

Output of lspci -knn (or lspci -nn):

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [ ]
Detect network card:    [ ]
Configure network:      [ ]
Detect CD:              [ ]
Load installer modules: [ ]
Detect hard drives:     [ ]
Partition hard drives:  [ ]
Install base system:    [ ]
Clock/timezone setup:   [ ]
User/password setup:    [ ]
Install tasks:          [ ]
Install boot loader:    [ ]
Overall install:        [ ]

Comments/Problems:

<Description of the install, in prose, and any thoughts, comments
      and ideas you had during the initial install.>

在 bug 报告中,请说明问题所在,包括内核挂起时最后见到的内核消息。描述进入问题状态所进行的步骤。